.elementor-157 .elementor-element.elementor-element-d5dc3aa{--display:flex;}:root{--page-title-display:none;}/* Start custom CSS for shortcode, class: .elementor-element-ca67e0c *//* استایل‌های کلی کانتینر */
.live-classes-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-family: 'Vazirmatn', IRANSans, sans-serif;
    direction: rtl;
}

/* استایل کارت کلاس */
.class-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    border-radius: 16px;
    padding: 20px 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.class-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* بخش راست: آواتار و مشخصات */
.class-card-right {
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 1;
}

.avatar-wrapper {
    position: relative;
    flex-shrink: 0;
}

.teacher-avatar {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e0e0e0;
}

.live-badge {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    background: #ff4757;
    color: white;
    font-size: 11px;
    font-weight: bold;
    padding: 3px 10px;
    border-radius: 12px;
    white-space: nowrap;
    animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
    0% { box-shadow: 0 0 0 0 rgba(255, 71, 87, 0.7); }
    70% { box-shadow: 0 0 0 6px rgba(255, 71, 87, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 71, 87, 0); }
}

.class-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.class-title {
    margin: 0;
    font-size: 18px;
    color: #2f3542;
    font-weight: 800;
}

.teacher-name {
    font-size: 14px;
    color: #747d8c;
    font-weight: 500;
}

/* بخش وسط: زمان‌بندی */
.class-card-center {
    flex: 1;
    text-align: center;
    display: flex;
    justify-content: center;
}

.class-timing {
    background: #f8f9fa;
    padding: 12px 18px;
    border-radius: 12px;
    display: inline-block;
    border: 1px solid #eeeeee;
}

.class-timing time {
    display: block;
    font-size: 14px;
    color: #2f3542;
    font-weight: bold;
    margin-bottom: 6px;
}

.start-date {
    font-size: 13px;
    color: #57606f;
}

/* بخش چپ: ظرفیت و دکمه */
.class-card-left {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    flex: 1;
}

.capacity-wrapper {
    width: 100%;
    max-width: 180px;
    text-align: right;
}

.capacity-text {
    font-size: 13px;
    color: #2f3542;
    font-weight: bold;
    margin-bottom: 6px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #f1f2f6;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.5s ease;
}

.enroll-btn {
    background: #2ed573;
    color: white !important;
    padding: 10px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.enroll-btn:hover {
    background: #26b360;
}

.enroll-btn.sold-out {
    background: #a4b0be;
    cursor: not-allowed;
}

/* --- استایل‌های ریسپانسیو (موبایل و تبلت) --- */
@media (max-width: 850px) {
    .class-card {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 25px 20px;
    }

    .class-card-right {
        flex-direction: column;
        text-align: center;
    }

    .live-badge {
        left: 50%;
        transform: translateX(-50%);
    }

    .class-card-left {
        align-items: center;
        width: 100%;
    }

    .capacity-wrapper {
        max-width: 100%;
        text-align: center;
    }
    
    .enroll-btn {
        width: 100%;
        max-width: 300px;
    }
}/* End custom CSS */