.sessions-page {
    background: #f8fafc;
    min-height: 100vh;
    margin: 0;
}

.page-topbar {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 18px;
    padding: 14px 18px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
}

.page-topbar .back-link {
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.page-topbar .back-link:hover {
    color: #0d6efd;
}

.page-topbar .current-page {
    color: #0f172a;
    font-weight: 600;
}

.section-card {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 22px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}

.section-card-header {
    padding: 0.35rem 0.75rem 0.3rem;
    border-bottom: 1px solid #eef2f7;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    text-align: center;
}

.section-card-header h2 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 700;
    color: #0d6efd;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    line-height: 1.2;
}

.section-card-header h2 i {
    font-size: 1.1rem;
}

.section-card-body {
    padding: 0.95rem 1.25rem 1.25rem;
}

.session-group-card {
    padding: 1.5rem;
    margin: 0 0 1rem 0;
    background: #fbfdff;
    border: 1px solid #e8eef5;
    border-radius: 18px;
    transition: all 0.25s ease;
}

.session-group-card:last-child {
    margin-bottom: 0;
}

.session-group-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

.session-group-title {
    font-size: 1.12rem;
    font-weight: 700;
    color: #0d6efd;
    margin-bottom: 1rem;
    line-height: 1.45;
}

.session-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.session-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.95rem 1rem;
    background: #ffffff;
    border: 1px solid #e9eef5;
    border-radius: 14px;
}

.session-row-content {
    flex: 1;
    min-width: 0;
}

.session-row-title {
    color: #334155;
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 500;
}

.session-row-actions {
    flex-shrink: 0;
}

.btn-soft-danger {
    background: #fff1f2;
    color: #dc3545;
    border: 1px solid #f5c2c7;
    border-radius: 12px;
    padding: 10px 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.btn-soft-danger:hover {
    background: #ffe4e6;
    color: #bb2d3b;
}

.empty-state {
    border: 1px dashed #cbd5e1;
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    background: #f8fafc;
    color: #475569;
}

.empty-state-icon {
    color: #94a3b8;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.pdf-container {
    max-height: 75vh;
    overflow-y: auto;
    background: #f8fafc;
    border-radius: 14px;
    padding: 1rem;
}

.modal-content {
    border-radius: 20px;
    border: none;
    overflow: hidden;
}

.modal-header {
    border-bottom: 1px solid #eef2f7;
    background: #ffffff;
}

@media (max-width: 768px) {
    .sessions-page {
        padding-top: 1rem;
    }

    .page-topbar {
        padding: 12px 14px;
        border-radius: 16px;
    }

    .section-card-header {
        padding: 0.3rem 0.7rem 0.25rem;
    }

    .section-card-header h2 {
        font-size: 1.2rem;
    }

    .section-card-body {
        padding: 0.85rem 1rem 1rem;
    }

    .session-group-card {
        padding: 1rem;
    }

    .session-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .session-row-actions {
        width: 100%;
    }

    .session-row-actions .btn-soft-danger {
        width: 100%;
        justify-content: center;
    }
}