﻿/* ==================== custom-swal.css ==================== */
/* ==================== MINTY AI SWAL THEME ==================== */

/* ================= POPUP ================= */
.swal2-popup {
    background: linear-gradient(145deg, #0a1622 0%, #040a12 100%) !important;
    border-radius: 22px !important;
    border: 1px solid rgba(6, 182, 212, 0.35) !important;
    box-shadow: 0 0 11px #1a6fff2b, 0 0 9px 0PX #00d4ff59, inset 0 1px 0 rgba(255, 255, 255, 0.1), inset 0 1px 0 rgba(0, 0, 0, 0.1) !important;
    width: 340px !important;
    max-width: 85% !important;
    padding: 0 !important;
    overflow: hidden !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}
div:where(.swal2-icon).swal2-error [class^=swal2-x-mark-line] {
    display: block;
    position: absolute;
    top: 2.3125em;
    width: 39PX !important;
    height: .3125em;
    border-radius: .125em;
    background-color: #f27474;
}

/* ================= CONTAINER ================= */
.swal2-container {
    z-index: 999999 !important;
    backdrop-filter: blur(4px);
}

/* ================= TITLE ================= */
.swal2-title {
    color: #ffffff !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    padding: 12px 18px !important;
    margin: 0 !important;
    border-bottom: 1px solid rgba(6, 182, 212, 0.18) !important;
    text-align: center !important;
    text-shadow: 0 0 8px rgba(6, 182, 212, 0.25) !important;
}

/* ================= CONTENT ================= */
.swal2-html-container,
.swal2-text {
    color: #cbd5e1 !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
    padding: 18px 24px 8px 24px !important;
    margin: 0 !important;
    text-align: center !important;
}

/* ================= ICON BASE ================= */
.swal2-icon {
    position: relative !important;
    width: 82px !important;
    height: 82px !important;
    margin: 24px auto 14px auto !important;
    border-width: 3px !important;
    border-style: solid !important;
    transform: none !important;
    overflow: visible !important;
}

/* REMOVE DEFAULT SWEETALERT SHAPES */
.swal2-success-circular-line-left,
.swal2-success-circular-line-right,
.swal2-success-fix,
.swal2-success-ring {
    display: none !important;
    opacity: 0 !important;
    background: transparent !important;
}

/* ================= SUCCESS ================= */
.swal2-icon.swal2-success {
    border-color: #22d3ee !important;
    color: #22d3ee !important;
    background: radial-gradient( circle at center, rgba(34,211,238,0.08), transparent 70% ) !important;
    box-shadow: 0 0 0 4px rgba(34,211,238,0.08), 0 0 18px rgba(34,211,238,0.65), inset 0 0 12px rgba(34,211,238,0.16) !important;
}

/* SUCCESS CHECK */
.swal2-success [class^='swal2-success-line'] {
    position: absolute !important;
    height: 5px !important;
    border-radius: 999px !important;
    background-color: #22d3ee !important;
    box-shadow: 0 0 10px rgba(34,211,238,0.9) !important;
}

/* TIP */
.swal2-success-line-tip {
    width: 24px !important;
    top: 46px !important;
    left: 14px !important;
    transform: rotate(45deg) !important;
}

/* LONG */
.swal2-success-line-long {
    width: 44px !important;
    top: 39px !important;
    right: 10px !important;
    transform: rotate(-45deg) !important;
}

/* ================= ERROR ================= */
.swal2-icon.swal2-error {
    border-color: #ec4899 !important;
    box-shadow: 0 0 0 4px rgba(236,72,153,0.08), 0 0 18px rgba(236,72,153,0.55) !important;
}

.swal2-x-mark-line-left,
.swal2-x-mark-line-right {
    height: 5px !important;
    border-radius: 999px !important;
    background-color: #ec4899 !important;
    box-shadow: 0 0 10px rgba(236,72,153,0.7) !important;
}

/* ================= WARNING ================= */
.swal2-icon.swal2-warning {
    border-color: #fbbf24 !important;
    color: #fbbf24 !important;
    box-shadow: 0 0 18px rgba(251,191,36,0.45) !important;
}

/* ================= INFO ================= */
.swal2-icon.swal2-info {
    border-color: #06b6d4 !important;
    color: #06b6d4 !important;
    box-shadow: 0 0 18px rgba(6,182,212,0.45) !important;
}

/* ================= QUESTION ================= */
.swal2-icon.swal2-question {
    border-color: #22d3ee !important;
    color: #22d3ee !important;
    box-shadow: 0 0 18px rgba(34,211,238,0.45) !important;
}

/* ================= LOADER ================= */
.swal2-loader {
    border-color: #06b6d4 transparent #06b6d4 transparent !important;
}

/* ================= ACTIONS ================= */
.swal2-actions {
    padding: 12px 20px 22px 20px !important;
    margin: 0 !important;
    gap: 10px !important;
    justify-content: center !important;
}

/* ================= CONFIRM ================= */
.swal2-confirm {
    background: linear-gradient( 135deg, #06b6d4, #0891b2 ) !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 10px 24px !important;
    min-width: 110px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 18px rgba(6,182,212,0.45), inset 0 1px 1px rgba(255,255,255,0.15) !important;
    transition: all 0.25s ease !important;
}

    .swal2-confirm:hover {
        transform: translateY(-2px) !important;
        box-shadow: 0 8px 22px rgba(6,182,212,0.6), inset 0 1px 1px rgba(255,255,255,0.2) !important;
    }

/* ================= CANCEL ================= */
.swal2-cancel {
    background: rgba(255,255,255,0.05) !important;
    border: 1px solid rgba(6,182,212,0.35) !important;
    border-radius: 12px !important;
    padding: 10px 24px !important;
    min-width: 110px !important;
    color: #dbeafe !important;
    font-weight: 600 !important;
}

    .swal2-cancel:hover {
        background: rgba(6,182,212,0.12) !important;
        border-color: rgba(6,182,212,0.65) !important;
    }

/* ================= INPUT ================= */
.swal2-input {
    background: rgba(0,0,0,0.35) !important;
    border: 1px solid rgba(6,182,212,0.35) !important;
    border-radius: 12px !important;
    color: #ffffff !important;
    padding: 11px 14px !important;
}

    .swal2-input:focus {
        border-color: #06b6d4 !important;
        box-shadow: 0 0 0 3px rgba(6,182,212,0.2) !important;
    }

/* ================= VALIDATION ================= */
.swal2-validation-message {
    background: rgba(236,72,153,0.1) !important;
    color: #ec4899 !important;
    border-radius: 10px !important;
}

/* ================= CLOSE ================= */
.swal2-close {
    color: #94a3b8 !important;
}

    .swal2-close:hover {
        color: #22d3ee !important;
    }

/* ================= FORCE ABOVE MODALS ================= */
#stakeModal,
#walletModal {
    z-index: 9999 !important;
}

/* ================= MOBILE ================= */
@media (max-width: 480px) {

    .swal2-popup {
        width: 88% !important;
        max-width: 310px !important;
    }

    .swal2-icon {
        width: 70px !important;
        height: 70px !important;
    }

    .swal2-success-line-tip {
        width: 20px !important;
        top: 40px !important;
        left: 12px !important;
    }

    .swal2-success-line-long {
        width: 36px !important;
        top: 34px !important;
        right: 10px !important;
    }
}
