﻿/* ============================================================
   MODAL BACKDROP (FOCUS MODE)
   ============================================================ */

.modal-backdrop-custom {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(3px);
    z-index: 1040;
}

.modal {
    z-index: 1050;
}


/* ============================================================
   MODAL BASE
   ============================================================ */

.modal-content {
    background: #FFFFFF !important;
    border-radius: 12px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
    border: none;
    min-height: 200px;
    display: flex;
    flex-direction: column;
}


/* ============================================================
   MODAL HEADER (ACORDIA)
   ============================================================ */

.modal-header {
    background: #384959 !important;
    color: #FFFFFF !important;
    border-bottom: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-header .modal-title {
    display: flex;
    align-items: center;
    gap: 10px; /* 🔥 space for icon */
    font-weight: 600;
}

.modal-close-btn {
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 600;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0.9;
}

.modal-close-btn:hover {
    background: rgba(255,255,255,0.15);
    border-radius: 6px;
    opacity: 1;
}

.warning-modal-header {
    background-color: #cd0f2d !important;
    color: black !important;
}

/* ============================================================
   MODAL BODY
   ============================================================ */

.modal-body {
    background: #F5F7FA;
    color: #1F1F1F;
    padding: 24px 28px;
    font-size: 15px;
}


/* ============================================================
   MODAL FOOTER
   ============================================================ */

.modal-footer {
    background: #F5F7FA;
    border-top: none !important;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    padding: 20px 28px 36px;
}

.modal-footer .btn {
    display: inline-flex !important;
    width: auto !important;
    flex: 0 0 auto !important;
    min-width: 120px;
    height: 42px;
    justify-content: center;
    font-weight: 600;
}

/* subtle hover polish */
.modal-footer .btn:hover {
    transform: translateY(-1px);
    transition: all 0.15s ease;
}

.modal-spacer {
    background: #F5F7FA;
    margin: 0;
    padding: 0;
    height: 16px; /* adjust for spacing */
}

.modal-header,
.modal-header * {
    color: #FFFFFF !important;
}