/* Page Container */
.past-webinars-page {
    padding: 24px;
    max-width: 1400px;
    margin: 0 auto;
    background-color: #F9FAFB;
    min-height: 100vh;
}

/* Header */
.past-webinars-header {
    margin-bottom: 32px;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #3B82F6;
    font-size: 14px;
    cursor: pointer;
    margin-bottom: 16px;
    transition: color 0.2s;
    font-weight: 500;
}

.back-button:hover {
    color: #2563EB;
}

.page-title {
    font-size: 32px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 8px 0;
}

.page-subtitle {
    font-size: 16px;
    color: #6B7280;
    margin: 0;
}

/* Loading State */
.loading-container {
    text-align: center;
    padding: 60px 20px;
    color: #6B7280;
}

.loading-container p {
    margin-top: 16px;
    font-size: 16px;
}

/* Statistics Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.stat-card {
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: box-shadow 0.2s;
}

.stat-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.stat-icon {
    font-size: 32px;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.stat-icon-blue {
    color: #3B82F6;
    background: #EFF6FF;
}

.stat-icon-green {
    color: #10B981;
    background: #ECFDF5;
}

.stat-icon-purple {
    color: #A855F7;
    background: #FAF5FF;
}

.stat-content {
    flex: 1;
}

.stat-label {
    font-size: 14px;
    color: #6B7280;
    margin-bottom: 4px;
}

.stat-value {
    font-size: 32px;
    font-weight: 600;
    color: #111827;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #9CA3AF;
    background: white;
    border-radius: 12px;
    border: 1px solid #E5E7EB;
}

.empty-state i {
    color: #D1D5DB;
    margin-bottom: 16px;
}

.empty-state p {
    font-size: 16px;
}

/* Webinars Grid */
.webinars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Webinar Card */
.webinar-card {
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
}

.webinar-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.webinar-card-header {
    padding: 20px 20px 16px;
    border-bottom: 1px solid #F3F4F6;
}

.webinar-title {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 12px 0;
    line-height: 1.4;
    min-height: 44px;
}

.recording-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
}

.recording-available {
    background: #ECFDF5;
    color: #059669;
}

.recording-unavailable {
    background: #FEF2F2;
    color: #DC2626;
}

.webinar-card-body {
    padding: 16px 20px;
    flex: 1;
}

.webinar-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #6B7280;
}

.meta-item i {
    width: 16px;
    color: #9CA3AF;
}

.webinar-card-footer {
    padding: 16px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-top: 1px solid #F3F4F6;
}

.btn-watch-recording {
    width: 100%;
    padding: 12px 16px;
    background: #111827;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-watch-recording:hover {
    background: #1F2937;
}

.btn-watch-recording i {
    font-size: 12px;
}

.btn-download-materials {
    width: 100%;
    padding: 12px 16px;
    background: white;
    color: #111827;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-download-materials:hover {
    background: #F9FAFB;
    border-color: #D1D5DB;
}

.btn-download-materials i {
    font-size: 12px;
}

.no-recording-text {
    text-align: center;
    padding: 12px;
    color: #9CA3AF;
    font-size: 14px;
    background: #F9FAFB;
    border-radius: 8px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .webinars-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .past-webinars-page {
        padding: 16px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .webinars-grid {
        grid-template-columns: 1fr;
    }

    .page-title {
        font-size: 24px;
    }

    .stat-value {
        font-size: 24px;
    }
}
