.newBatch-img-fallback img {
    max-width: 120px;
    height: auto;
    object-fit: contain;
}

.batch-card {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.batch-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(16, 24, 40, 0.12);
}

.enroll-btn {
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.enroll-btn:hover {
    background-color: #ea511aff;
}

.enroll-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.enroll-btn:hover::after {
    left: 100%;
}

.course_image {
    height: 100px;
}

/* Custom UI Styles for Batch Card Upgrade */
.detail-icon-box {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.icon-purple {
    background-color: #EEE5F9;
    color: #6630FF;
}

.icon-green {
    background-color: #C7E6D9;
    color: #40A159;
}

.icon-orange {
    background-color: #FBF6DF;
    color: #FB7726;
}

.detail-label {
    color: #696F7E;
    font-size: 13px;
    margin-bottom: 2px;
    line-height: 1.2;
}

.detail-val {
    color: #111827;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
}

.alert-orange {
    background-color: #fff7ed;
    color: #ea580c;
}

.alert-green {
    background-color: #f0fdf4;
    color: #16a34a;
}

.discount-badge {
    background-color: #dcfce7;
    color: #16a34a;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
}

.enroll-btn-new {
    color: white !important;
    border-radius: 10px;
    padding: 10px 15px;
    font-weight: 600;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    transition: background-color 0.2s;
    border: none;
    cursor: pointer;
}

.new_batch_times_dropdown {
    font-size: .9rem !important;
}

.price-info .price {
    font-size: 24px !important;
}

/* Extracted from inline styles */
.batch-course-title {
    color: #2d3748;
}

.batch-mode-icon {
    width: 16px;
    height: 16px;
}

.batch-times-toggle {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
}

.batch-times-icon {
    font-size: 14px;
    color: #16a34a;
}

.batch-alert-available {
    background: #eff6ff;
}

.batch-footer {
    border-top: 1px solid #f3f4f6;
}

.batch-price-current {
    color: #111827;
}

.batch-price-original {
    color: #9ca3af;
    font-size: 14px;
    text-decoration: line-through;
    font-weight: 500;
}

/* Responsive tweaks for Tablet and Mobile */
@media (max-width: 991px) {
    .detail-icon-box {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

    .detail-label {
        font-size: 12px;
    }

    .detail-val {
        font-size: 12px;
    }

    .batch-card .gap-12 {
        gap: 8px !important;
    }

    .price-info>div:first-child {
        font-size: 20px !important;
        margin-bottom: 0 !important;
    }

    .enroll-btn-new {
        padding: 8px 16px;
    }
}

@media (min-width: 1200px) and (max-width:1400px) {
    .detail-val {
        font-size: 12px !important;
    }
}

@media (min-width: 992px) and (max-width:1200px) {
    .detail-val {
        font-size: 12px !important;
    }

    .price-info .price {
        font-size: 20px !important;
    }

    .enroll-btn-new {
        padding: 7px 10px !important;
    }
}

@media (max-width: 768px) {
    .batch-card-col {
        padding: 12px !important;
    }

    #displayedClasses {
        gap: 0 !important;
    }
}
