@import url("brand-tokens.css");
:root{
    --brand-red:var(--ac);
    --brand-blue:#4760f9;
    --brand-gray:rgba(255,255,255,.78);
    --brand-black:#0d0d0f;
}

/* SweetAlert2 — как модалки визитки (тёмное стекло + золотая кромка) */
.swal2-popup{
    font-family:Manrope,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
    background:rgba(26,22,20,.94);
    border:1px solid rgba(200,146,26,.28);
    border-radius:16px;
    padding:.75em .9em .7em .9em;
    box-shadow:0 24px 56px rgba(0,0,0,.55),0 0 0 1px rgba(224,42,27,.08) inset;
}

.swal2-title{
    color:#fff;
    font-size:1.18rem;
    font-weight:900;
    margin:0 0 .35em 0;
}

.swal2-html-container{
    color:rgba(255,255,255,.75);
    font-size:.95rem;
    line-height:1.35;
}

.swal2-content{
    color:rgba(255,255,255,.85);
}

.swal2-actions{
    margin-top:.65em;
    gap:.55em;
}

.swal2-styled{
    border-radius:11px;
    padding:.55em 1em;
    font-size:.95rem;
    font-weight:900;
}

.swal2-confirm{
    background:var(--ac-gradient-cta)!important;
    color:#fff !important;
    border:1px solid rgba(255,59,31,.45)!important;
    box-shadow:0 10px 28px rgba(var(--ac-rgb),.35);
}

.swal2-cancel{
    background:rgba(108,117,125,.95) !important;
    color:#fff !important;
    border:none !important;
}

.swal2-confirm:hover{
    filter:brightness(1.05);
}

.swal2-cancel:hover{
    background:rgba(90,98,110,.98) !important;
}

/* Компактные иконки */
.swal2-icon{
    margin:0.2em auto .35em auto !important;
}

/* Toast-уведомления (если где-то используются) */
.swal2-toast{
    padding:.5em .7em;
}

.swal2-toast .swal2-title{
    font-size:.95rem;
}

@media (max-width: 767.98px){
    .swal2-popup{
        border-radius:12px;
        padding:.65em .75em .6em .75em;
    }
    .swal2-title{
        font-size:1.08rem;
    }
}