/* ==========================================
   SPIRALSCOUT CUSTOM ALERT
   ========================================== */

:root{

    --primary:#2563eb;
    --primary-dark:#1d4ed8;

    --success:#16a34a;
    --warning:#f59e0b;
    --error:#dc2626;
    --info:#0ea5e9;

    --text:#1f2937;
    --text-light:#6b7280;

    --background:#ffffff;

    --overlay:rgba(15,23,42,.45);

    --border:#e5e7eb;

    --shadow:
    0 25px 60px rgba(15,23,42,.25);

    --radius:20px;

}


/* ==========================================
   OVERLAY
   ========================================== */

.custom-alert-overlay{

    position:fixed;

    inset:0;

    display:flex;

    justify-content:center;

    align-items:center;

    background:var(--overlay);

    backdrop-filter:blur(8px);

    z-index:999999;

    opacity:0;

    visibility:hidden;

    transition:.25s ease;

    padding:20px;

}

.custom-alert-overlay.show{

    opacity:1;

    visibility:visible;

}


/* ==========================================
   BOX
   ========================================== */

.custom-alert{

    width:100%;

    max-width:430px;

    background:var(--background);

    border-radius:var(--radius);

    padding:38px 34px;

    text-align:center;

    box-shadow:var(--shadow);

    border:1px solid rgba(229,231,235,.8);

    transform:translateY(30px) scale(.95);

    opacity:0;

    transition:.28s ease;

}

.custom-alert-overlay.show .custom-alert{

    transform:translateY(0) scale(1);

    opacity:1;

}


/* ==========================================
   LOGO
   ========================================== */

.alert-logo{

    width:72px;

    height:72px;

    object-fit:contain;

    margin-bottom:18px;

}


/* ==========================================
   ICON
   ========================================== */

.alert-icon{

    width:74px;

    height:74px;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    margin:0 auto 22px;

    font-size:34px;

    font-weight:700;

    color:#fff;

}


/* ==========================================
   COLORS
   ========================================== */

.alert-success{

    background:var(--success);

}

.alert-warning{

    background:var(--warning);

}

.alert-error{

    background:var(--error);

}

.alert-info{

    background:var(--info);

}


/* ==========================================
   TITLE
   ========================================== */

.alert-title{

    font-family:'Plus Jakarta Sans',sans-serif;

    font-size:26px;

    font-weight:700;

    color:var(--text);

    margin-bottom:14px;

}


/* ==========================================
   MESSAGE
   ========================================== */

.alert-message{

    font-family:'Plus Jakarta Sans',sans-serif;

    font-size:15px;

    line-height:1.8;

    color:var(--text-light);

    margin-bottom:32px;

}


/* ==========================================
   BUTTON
   ========================================== */

.alert-btn{

    width:100%;

    border:none;

    outline:none;

    cursor:pointer;

    padding:15px;

    border-radius:14px;

    font-family:'Plus Jakarta Sans',sans-serif;

    font-size:15px;

    font-weight:700;

    color:#fff;

    background:var(--primary);

    transition:.25s;

}

.alert-btn:hover{

    background:var(--primary-dark);

    transform:translateY(-2px);

}

.alert-btn:active{

    transform:scale(.98);

}


/* ==========================================
   MOBILE
   ========================================== */

@media(max-width:600px){

.custom-alert{

    padding:30px 24px;

}

.alert-title{

    font-size:22px;

}

.alert-message{

    font-size:14px;

}

.alert-icon{

    width:64px;

    height:64px;

    font-size:28px;

}

.alert-logo{

    width:60px;

    height:60px;

}

}


/* ==========================================
   ANIMATIONS
   ========================================== */

@keyframes popIn{

    from{

        opacity:0;

        transform:scale(.85);

    }

    to{

        opacity:1;

        transform:scale(1);

    }

}

@keyframes popOut{

    from{

        opacity:1;

        transform:scale(1);

    }

    to{

        opacity:0;

        transform:scale(.85);

    }

}