/* ---------- SweetAlert2 — ظاهر هماهنگ با برند سوران‌سافت ---------- */
.swal2-container {
    font-family: Vazirmatn, Tahoma, sans-serif;
}

.sn-swal-popup {
    border: 1px solid rgba(0, 164, 150, .14);
    border-radius: 18px;
    padding: 1.35rem 1.3rem 1.15rem;
    box-shadow: 0 24px 70px rgba(15, 42, 56, .24);
}

.sn-swal-title {
    padding: 0;
    color: #14313f;
    font-size: 1.08rem;
    font-weight: 800;
    line-height: 1.7;
}

.sn-swal-html {
    margin: .5rem 0 0;
    color: #526771;
    font-size: .88rem;
    line-height: 1.9;
}

.sn-swal-actions {
    gap: .5rem;
    margin-top: 1.15rem;
}

.sn-swal-confirm,
.sn-swal-cancel {
    border: 0;
    border-radius: 10px;
    padding: .62rem 1.2rem;
    font-family: inherit;
    font-size: .85rem;
    font-weight: 700;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.sn-swal-confirm {
    background: #00a496 !important;
    color: #fff !important;
    box-shadow: 0 8px 18px rgba(0, 164, 150, .24);
}

.sn-swal-confirm:hover {
    background: #008f83 !important;
    transform: translateY(-1px);
}

.sn-swal-cancel {
    background: #eef3f5 !important;
    color: #405563 !important;
}

.sn-swal-cancel:hover {
    background: #e2eaed !important;
}

.sn-swal-popup .swal2-icon {
    margin: .15rem auto .85rem;
    transform: scale(.9);
}

.sn-swal-toast {
    border: 1px solid rgba(0, 164, 150, .16);
    border-radius: 12px;
    padding: .7rem .95rem;
    box-shadow: 0 14px 34px rgba(15, 42, 56, .2);
}

.sn-swal-toast-title {
    color: #14313f;
    font-size: .84rem;
    font-weight: 700;
    line-height: 1.7;
}

body.dark_mode .sn-swal-popup,
body.dark_mode .sn-swal-toast {
    border-color: rgba(255, 255, 255, .08);
    background: #162a33;
}

body.dark_mode .sn-swal-title,
body.dark_mode .sn-swal-toast-title {
    color: #eef6f7;
}

body.dark_mode .sn-swal-html {
    color: #b9cbd1;
}

body.dark_mode .sn-swal-cancel {
    background: #243a44 !important;
    color: #dbe8eb !important;
}
