/* ===== Batch Timetable – Enhanced with Subtle Depth ===== */

.batch-container {
    background: linear-gradient(145deg, #fefaf5 0%, #fffdf9 100%);
    border-radius: 28px;
    padding: 30px 20px;
    box-shadow: 0 15px 30px -12px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(230, 210, 190, 0.3);
    margin-top: 20px;
    margin-bottom: 30px;
}

.main-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1f3b2c;
    text-align: center;
    margin-bottom: 10px;
    letter-spacing: -0.3px;
}
.main-title::after {
    content: '';
    display: block;
    width: 90px;
    height: 4px;
    background: linear-gradient(90deg, #ff9a44, #ff7a1a);
    margin: 15px auto 0;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(255, 122, 26, 0.2);
}

.subtitle {
    text-align: center;
    font-size: 1rem;
    color: #6f5e4e;
    margin-bottom: 30px;
    font-weight: 500;
}

.batch-container .nav-tabs {
    border-bottom: none;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
}
.batch-container .nav-tabs .nav-link {
    background: rgba(255, 250, 240, 0.8);
    border: none;
    font-weight: 600;
    color: #5b4c3c;
    padding: 10px 28px;
    border-radius: 50px;
    transition: all 0.25s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}
.batch-container .nav-tabs .nav-link:hover {
    background: #fff1e4;
    color: #ff7a1a;
    transform: translateY(-1px);
}
.batch-container .nav-tabs .nav-link.active {
    background: linear-gradient(135deg, #ff9a44, #ff7a1a);
    color: white !important;
    box-shadow: 0 6px 14px rgba(255, 122, 26, 0.3);
    border: none;
}
.batch-container .nav-tabs .nav-link.active::after {
    display: none;
}

.batch-container .table {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.08);
    background: #ffffff;
    border-collapse: separate;
    border-spacing: 0;
}
.batch-container .table thead th {
    background: #f5efe8;
    color: #2c4a2c;
    font-weight: 700;
    border-bottom: 2px solid #e4dacf;
    padding: 14px 12px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.batch-container .table tbody tr {
    background: #ffffff;
}
.batch-container .table tbody tr:nth-child(even) {
    background: #fefbf7;
}
.batch-container .table tbody tr:hover {
    background: #fff7ef;
}
.batch-container .table td {
    padding: 12px;
    vertical-align: middle;
    color: #2d3a2a;
    font-weight: 500;
    border-top: 1px solid #f0eae2;
}

.batch-container .enroll-btn {
    background: linear-gradient(105deg, #ff9a44, #ff7a1a);
    border: none;
    padding: 6px 20px;
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 40px;
    transition: all 0.25s;
    color: #fff;
    box-shadow: 0 4px 10px rgba(255, 122, 26, 0.25);
}
.batch-container .enroll-btn:hover {
    background: linear-gradient(105deg, #ff882a, #ff6a00);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(255, 106, 0, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .batch-container {
        padding: 20px 15px;
    }
    .main-title {
        font-size: 1.8rem;
    }
    .batch-container .nav-tabs .nav-link {
        padding: 6px 18px;
        font-size: 0.85rem;
    }
    .batch-container .table thead th,
    .batch-container .table td {
        padding: 8px 6px;
        font-size: 0.8rem;
    }
    .batch-container .enroll-btn {
        padding: 4px 14px;
        font-size: 0.75rem;
    }
}
/* Active tab – maximum specificity + important */
.batch-container .nav-tabs .nav-item .nav-link.active {
    background: linear-gradient(135deg, #e67e22, #d35400) !important;
    color: white !important;
    box-shadow: 0 6px 14px rgba(211, 84, 0, 0.4) !important;
    border: none !important;
}