﻿/* ==========================================================
   Maestro Section
   ========================================================== */

.maestro-section {
    background: #fff;
    border: 1px solid var(--maestro-border);
    border-radius: var(--maestro-radius);
    box-shadow: var(--maestro-shadow-sm);
    margin-bottom: 1rem;
    overflow: hidden;
}

.maestro-section-header {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: 1rem 1.5rem;
    background: #fafbfc;
    border-bottom: 1px solid var(--maestro-border);
    cursor: pointer;
    transition: background .2s;
}
.maestro-section-header-actions {
    margin-left: auto;
}

    .maestro-section-header:hover {
        background: #f3f6fb;
    }

    .maestro-section-header h3 {
        margin: 0;
        font-size: 1rem;
        font-weight: 600;
    }

    .maestro-section-header > i:not(.maestro-section-chevron) {
        color: var(--maestro-primary);
        font-size: 1rem;
    }

.maestro-section-chevron {
    transition: transform .2s ease;
    color: var(--maestro-primary);
}

.maestro-section.open .maestro-section-chevron {
    transform: rotate(90deg);
}

.maestro-section-body {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height .35s ease, opacity .25s ease, padding .35s ease;
    padding-top: 0;
    padding-bottom: 0;
}

.maestro-section.open .maestro-section-body {
    max-height: 1000px;
    opacity: 1;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.maestro-section-content {
    padding: 1rem 2rem;
}