/* ================= LUX MODAL ================= */

.lux-modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 2000;
}

.lux-modal.active {
    display: block;
}

.lux-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(6px);
}

.lux-modal-box {
    position: relative;
    width: 600px;
    max-width: 90%;
    margin: 120px auto;

    background: var(--navy-panel);
    backdrop-filter: blur(20px);
    border: var(--glass-border);
    border-radius: 28px;

    padding: 30px;

    box-shadow: 0 20px 60px rgba(0,0,0,0.6);

    animation: luxFade 0.25s ease;
}

@keyframes luxFade {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.lux-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.lux-modal-header h3 {
    color: var(--gold);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lux-close {
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 1rem;
    cursor: pointer;
}

.lux-modal-body {
    max-height: 400px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ITEM CONTRATO */

.lux-modal-item {
    padding: 14px 18px;
    border-radius: 16px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(197,160,89,0.2);

    display: flex;
    justify-content: space-between;
    align-items: center;

    transition: 0.2s ease;
    cursor: pointer;
}

.lux-modal-item:hover {
    background: rgba(197,160,89,0.08);
}

.lux-modal-item strong {
    font-size: 0.85rem;
    color: var(--text-white);
}

.lux-modal-item small {
    font-size: 0.7rem;
    opacity: 0.7;
}

.lux-modal-body {
    max-height: 400px;
    overflow-y: auto;

    padding-right: 12px;   /* espaço antes do scroll */
    margin-right: -6px;    /* compensa para não quebrar layout */
}