/*
 * SMARTVTUHUB — branded SweetAlert theme
 * Visual overrides only. Keeps existing swal() calls and behavior intact.
 */
.sweet-overlay {
    background: rgba(3, 18, 12, .72) !important;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 99998 !important;
}
.sweet-alert {
    width: calc(100% - 32px) !important;
    max-width: 420px !important;
    padding: 30px 26px 24px !important;
    border: 1px solid rgba(32, 223, 130, .16) !important;
    border-radius: 24px !important;
    background: #fff !important;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .24) !important;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    box-sizing: border-box !important;
    z-index: 99999 !important;
}
.sweet-alert h2 {
    margin: 18px 0 8px !important;
    color: #102a1e !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
    letter-spacing: -.35px !important;
}
.sweet-alert p {
    margin: 0 auto 22px !important;
    color: #64756b !important;
    font-size: 14px !important;
    line-height: 1.65 !important;
    font-weight: 400 !important;
    max-width: 320px !important;
}
.sweet-alert .sa-icon {
    margin: 4px auto 12px !important;
}
.sweet-alert .sa-icon.sa-success {
    border-color: #20b86b !important;
}
.sweet-alert .sa-icon.sa-success .sa-line {
    background-color: #20b86b !important;
}
.sweet-alert .sa-icon.sa-error {
    border-color: #e5484d !important;
}
.sweet-alert .sa-icon.sa-error .sa-line {
    background-color: #e5484d !important;
}
.sweet-alert .sa-icon.sa-warning {
    border-color: #e8a323 !important;
}
.sweet-alert .sa-icon.sa-warning .sa-body,
.sweet-alert .sa-icon.sa-warning .sa-dot {
    background-color: #e8a323 !important;
}
.sweet-alert .sa-icon.sa-info {
    border-color: #1686d9 !important;
}
.sweet-alert .sa-icon.sa-info::before,
.sweet-alert .sa-icon.sa-info::after {
    background-color: #1686d9 !important;
}
.sweet-alert .sa-button-container {
    display: flex !important;
    justify-content: center !important;
    gap: 10px !important;
    margin-top: 4px !important;
}
.sweet-alert button {
    min-width: 112px !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 11px 22px !important;
    border: 0 !important;
    border-radius: 13px !important;
    background: linear-gradient(135deg, #20df82, #079f5a) !important;
    color: #032014 !important;
    box-shadow: 0 6px 16px rgba(7, 159, 90, .20) !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    transition: transform .16s ease, box-shadow .16s ease !important;
}
.sweet-alert button:hover {
    transform: translateY(-1px);
    box-shadow: 0 9px 20px rgba(7, 159, 90, .25) !important;
}
.sweet-alert button:focus {
    outline: 3px solid rgba(32, 223, 130, .25) !important;
    outline-offset: 2px !important;
}
.sweet-alert button.cancel {
    background: #eef3f0 !important;
    color: #33483c !important;
    box-shadow: none !important;
}
.sweet-alert fieldset {
    border: 0 !important;
}
.sweet-alert input {
    width: 100% !important;
    box-sizing: border-box !important;
    border: 1px solid #dbe5df !important;
    border-radius: 12px !important;
    padding: 12px 14px !important;
    font-size: 15px !important;
    box-shadow: none !important;
}
.sweet-alert input:focus {
    border-color: #20b86b !important;
    box-shadow: 0 0 0 3px rgba(32, 223, 130, .13) !important;
}
@media (max-width: 480px) {
    .sweet-alert {
        padding: 25px 19px 20px !important;
        border-radius: 20px !important;
    }
    .sweet-alert h2 {
        font-size: 20px !important;
    }
    .sweet-alert p {
        font-size: 13px !important;
    }
    .sweet-alert button {
        min-width: 100px !important;
        flex: 1 1 auto !important;
    }
}
@media (prefers-reduced-motion: reduce) {
    .sweet-alert button {
        transition: none !important;
    }
}

/* SMARTVTUHUB compatibility theme for the SweetAlert package loaded from unpkg (SweetAlert v2) */
.swal-overlay {
    background: rgba(3, 18, 12, .76) !important;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 99998 !important;
}
.swal-modal {
    width: calc(100% - 32px) !important;
    max-width: 420px !important;
    padding: 30px 26px 24px !important;
    border: 1px solid rgba(32, 223, 130, .2) !important;
    border-radius: 24px !important;
    background: #fff !important;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .28) !important;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    box-sizing: border-box !important;
}
.swal-title {
    margin: 8px 0 10px !important;
    color: #102a1e !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
    letter-spacing: -.35px !important;
}
.swal-text {
    color: #64756b !important;
    font-size: 14px !important;
    line-height: 1.65 !important;
    text-align: center !important;
}
.swal-footer {
    margin-top: 22px !important;
    text-align: center !important;
}
.swal-button {
    min-height: 44px !important;
    padding: 12px 24px !important;
    border: 0 !important;
    border-radius: 13px !important;
    background: linear-gradient(135deg, #20df82, #079f5a) !important;
    color: #032014 !important;
    box-shadow: 0 6px 16px rgba(7, 159, 90, .2) !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    text-shadow: none !important;
    transition: transform .16s ease, box-shadow .16s ease !important;
}
.swal-button:not([disabled]):hover {
    background: linear-gradient(135deg, #20df82, #079f5a) !important;
    transform: translateY(-1px);
    box-shadow: 0 9px 20px rgba(7, 159, 90, .25) !important;
}
.swal-button:focus {
    outline: 3px solid rgba(32, 223, 130, .25) !important;
    box-shadow: 0 0 0 1px #079f5a, 0 0 0 4px rgba(32, 223, 130, .18) !important;
}
.swal-button--cancel {
    background: #eef3f0 !important;
    color: #33483c !important;
    box-shadow: none !important;
}
.swal-button--cancel:not([disabled]):hover {
    background: #e2ebe5 !important;
    color: #243a2e !important;
    box-shadow: none !important;
}
.swal-icon {
    transform: scale(.92);
}
@media (max-width: 480px) {
    .swal-modal {
        padding: 25px 20px 20px !important;
        border-radius: 21px !important;
    }
    .swal-title { font-size: 20px !important; }
    .swal-text { font-size: 13px !important; }
}
