/* ========================================================================== */
/* ADMIN --> BACKUP POLICY MODAL                                                    */
/* ========================================================================== */

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(3px);
    z-index: 1000;
    animation: fadeIn 0.25s ease;
}

.modal-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(500px, 92vw);
    padding: 50px;
    background: linear-gradient(145deg, #f9fbff, #eef5ff);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #032f4f;
    z-index: 1001;
    animation: slideIn 0.25s ease;
}

@media (max-width: 575.98px) {
    .modal-container {
        padding: 30px 24px;
    }
}

.modal-field {
    display: flex;
    flex-direction: column;
    margin-bottom: 18px;
    color: #032f4f;
}

    .modal-field label {
        font-size: 0.9rem;
        margin-bottom: 4px;
        color: #1b2733;
        opacity: 0.5;
    }

    .modal-field input,
    .modal-field select {
        border-color: #3da5ff;
        box-shadow: 0 0 0 3px rgba(61,165,255,0.25);
        background: #ffffff;
    }

    .modal-actions {
        display: flex;
        justify-content: flex-end;
        gap: 12px;
        margin-top: 10px;
    }

.btn-cancel {
    padding: 8px 18px;
    border-radius: 10px;
    background: #e5e9ee;
    color: #032f4f;
    font-weight: 600;
    transition: 0.2s;
}

    .btn-cancel:hover {
        background: #d7dce2;
    }

.btn-create {
    padding: 8px 20px;
    border-radius: 10px;
    background: #3da5ff;
    color: white;
    border: none;
    font-weight: 600;
    transition: 0.25s ease;
}

.btn-create:hover {
    background: #6bb8ff;
    transform: translateY(-2px);
}

@keyframes fadeIn {
    from {opacity: 0;}
    to { opacity: 1;}
}

@keyframes slideIn {
    from { transform: translate(-50%, -46%); opacity: 0; }
    to { transform: translate(-50%, -50%); opacity: 1 }
}

