/* Live Daroos Styles */
.live-daroos-container {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.live-daroos-header {
    text-align: center;
    margin-bottom: 40px;
    color: #234e52;
    position: relative;
}

.live-daroos-header h2 {
    font-family: 'Philosopher', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.live-daroos-header h2 i {
    margin-right: 15px;
    color: #7f1102;
}

.live-daroos-header p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 10px;
}

.session-count {
    margin-top: 15px;
}

.count-badge {
    background-color: #d4a373;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
}

/* Sessions Grid */
.live-sessions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.session-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    border-left: 4px solid #234e52;
    position: relative;
}

.session-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.session-card.starting-soon {
    border-left: 4px solid #7f1102;
    animation: pulse 2s infinite;
}

.session-card.live-now {
    border-left: 4px solid #25D366;
}

.live-now-banner {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #25D366;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 10;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: white;
    border-radius: 50%;
    animation: pulse-dot 1.5s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(127, 17, 2, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(127, 17, 2, 0); }
    100% { box-shadow: 0 0 0 0 rgba(127, 17, 2, 0); }
}

@keyframes pulse-dot {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.session-header {
    padding: 20px;
    background: linear-gradient(135deg, #234e52 0%, #1a3c3f 100%);
    color: white;
}

.session-header h3 {
    margin: 0 0 10px 0;
    font-size: 1.4rem;
    font-weight: 600;
}

.course-name {
    font-style: italic;
    opacity: 0.9;
    font-size: 0.95rem;
    display: block;
    margin-bottom: 5px;
}

.lesson-name {
    font-size: 0.85rem;
    opacity: 0.7;
    display: block;
}

.session-details {
    padding: 20px;
}

.detail-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.detail-item i {
    width: 24px;
    color: #7f1102;
    margin-right: 10px;
}

.detail-item:last-child {
    margin-bottom: 0;
}

.session-actions {
    padding: 0 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.attend-btn {
    display: block;
    text-align: center;
    padding: 12px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.attend-btn.active {
    background-color: #7f1102;
    color: white;
}

.attend-btn.active:hover {
    background-color: #9a2b1c;
    transform: translateY(-2px);
}

.attend-btn.disabled {
    background-color: #d4a373;
    color: white;
    cursor: not-allowed;
}

.remind-me-btn {
    background-color: #25D366;
    color: white;
    padding: 10px;
    border-radius: 6px;
    text-decoration: none;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.remind-me-btn:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
}

/* No Sessions State */
.no-sessions {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin: 40px 0;
}

.no-sessions-icon {
    font-size: 5rem;
    color: #d4a373;
    margin-bottom: 20px;
}

.no-sessions h3 {
    color: #234e52;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.no-sessions p {
    color: #666;
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.browse-courses-btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: #234e52;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.browse-courses-btn:hover {
    background-color: #1a3c3f;
    transform: translateY(-2px);
}

/* Ongoing Meeting Styles */
.session-card.ongoing-meeting {
    border-left: 4px solid #25D366; /* Green border for ongoing */
    animation: pulse-green 2s infinite;
}

.ongoing-banner {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 10;
}

.ending-soon-text {
    color: #ffeb3b;
    font-weight: 600;
}

.session-card.ending-soon {
    animation: pulse-orange 2s infinite;
}

@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@keyframes pulse-orange {
    0% { box-shadow: 0 0 0 0 rgba(255, 152, 0, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(255, 152, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 152, 0, 0); }
}

/* Responsive adjustments for banners */
@media (max-width: 768px) {
    .ongoing-banner {
        top: 10px;
        right: 10px;
        font-size: 0.7rem;
        padding: 6px 10px;
    }
}

/* --- Styles for Arabic Text in "No Dars" Message --- */
.no-sessions .arabic-text {
    font-family: 'Amiri', serif;
    font-size: 1.5rem;
    color: var(--color-primary-dark);
    margin-bottom: 10px;
    direction: rtl;
}

.no-sessions .arabic-translation {
    font-style: italic;
    font-size: 1rem;
    color: var(--color-text-light);
    margin-bottom: 0;
}


/* Responsive Design */
@media (max-width: 768px) {
    .live-sessions-grid {
        grid-template-columns: 1fr;
    }
    
    .live-daroos-header h2 {
        font-size: 2rem;
    }
    
    .session-actions {
        flex-direction: column;
    }
}