.chart-container {
    width: 100%;
    overflow-x: auto; /* Enables horizontal scrolling on small screens */
    padding: 15px;
    background: linear-gradient(135deg, #1B1B2F, #162447); /* Dark Navy Gradient */
    border-radius: 12px;
    box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.3);
}

.tabler {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    background: #222831; /* Dark background */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.8s ease-in-out;
}

.tabler th, .tabler td {
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap; /* Prevents text wrapping */
}

.tabler th {
    background: linear-gradient(45deg, #00ADB5, #007C91); /* Teal Gradient */
    color: #fff;
    font-weight: bold;
    font-size: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-bottom: 3px solid #FFD700; /* Golden Accent */
}

.tabler td {
    font-size: 15px;
    color: #EEE;
    transition: background 0.3s ease-in-out;
}

.tabler a {
    text-decoration: none;
    font-weight: bold;
    color: #FFD700; /* Gold Links */
    transition: all 0.3s;
    padding: 5px;
    border-radius: 5px;
}

.tabler a:hover {
    color: #FFA500; /* Deep Gold */
    text-decoration: underline;
    background: rgba(255, 255, 255, 0.2);
}

/* Alternate Row Colors */
.tabler tr:nth-child(even) {
    background: #393E46; /* Dark Gray */
}

.tabler tr:hover {
    background: #444C56;
    transform: scale(1.01);
    transition: 0.3s ease-in-out;
}

/* Smooth Fade-in Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 📱 Mobile Optimization */
@media screen and (max-width: 768px) {
    .chart-container {
        padding: 10px;
    }

    .tabler {
        font-size: 13px;
        min-width: 100%;
    }

    .tabler th, .tabler td {
        padding: 10px;
        font-size: 14px;
    }

    .tabler a {
        font-size: 14px;
        padding: 3px;
    }


.table-container {
    width: 100%;
    overflow-x: auto; /* Enables horizontal scrolling */
    margin-top: 20px;
    padding: 0 10px; /* Prevents content from touching edges */
}

.result-table {
    width: 100%; /* Makes table full width */
    max-width: 100%;
    border-collapse: collapse;
    background: #222;
    color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.8s ease-in-out;
    table-layout: fixed; /* Ensures uniform column width */
}

.result-table th,
.result-table td {
    padding: 12px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 16px;
    white-space: nowrap; /* Prevents text wrapping */
}

.result-table th {
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #222;
    background: linear-gradient(45deg, #ffcc00, #ff6600);
}

.result-table tbody tr:nth-child(odd) {
    background: rgba(255, 255, 255, 0.1);
}

.result-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.2);
    transition: 0.3s;
}

/* Hindi Text Styling */
.hindi {
    font-size: 14px;
    font-weight: lighter;
    color: #ffe;
}

/* Fade-in Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 📱 Mobile Optimization */
@media screen and (max-width: 768px) {
    .table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .result-table {
        font-size: 14px;
        min-width: 100%; /* Ensures full width */
    }

    .result-table th,
    .result-table td {
        padding: 10px;
        font-size: 14px;
    }

    .hindi {
        font-size: 12px;
    }
}


}

