/* Modern toast notifications */
.jq-toast-wrap {
    width: min(360px, calc(100vw - 28px)) !important;
    z-index: 2147483647 !important;
}

.jq-toast-wrap.top-right {
    top: 88px !important;
    right: 22px !important;
}

.jq-toast-wrap.bottom-left,
.jq-toast-wrap.bottom-right,
.jq-toast-wrap.bottom-center {
    bottom: 22px !important;
}

.jq-toast-single {
    position: relative !important;
    min-height: 72px !important;
    margin: 0 0 12px !important;
    padding: 15px 44px 15px 64px !important;
    border: 1px solid rgba(226, 232, 240, 0.92) !important;
    border-radius: 16px !important;
    background: rgba(255, 255, 255, 0.96) !important;
    color: #1f2937 !important;
    box-shadow: 0 18px 46px rgba(15, 23, 42, 0.18) !important;
    font-family: inherit !important;
    overflow: hidden !important;
    backdrop-filter: blur(14px) !important;
}

.jq-toast-single::before {
    content: "" !important;
    position: absolute !important;
    left: 18px !important;
    top: 18px !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    background: #2563eb !important;
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.28) !important;
}

.jq-toast-single::after {
    content: "\f00c" !important;
    position: absolute !important;
    left: 18px !important;
    top: 18px !important;
    width: 32px !important;
    height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff !important;
    font-family: "FontAwesome", "Font Awesome 6 Free" !important;
    font-size: 15px !important;
    font-weight: 900 !important;
}

.jq-toast-single.jq-icon-success::before {
    background: linear-gradient(135deg, #14b86f 0%, #07845d 100%) !important;
    box-shadow: 0 8px 18px rgba(20, 184, 111, 0.28) !important;
}

.jq-toast-single.jq-icon-error::before {
    background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%) !important;
    box-shadow: 0 8px 18px rgba(239, 68, 68, 0.28) !important;
}

.jq-toast-single.jq-icon-error::after {
    content: "\f12a" !important;
}

.jq-toast-single.jq-icon-info::before {
    background: linear-gradient(135deg, #1f8cff 0%, #1769c2 100%) !important;
}

.jq-toast-single.jq-icon-info::after {
    content: "\f129" !important;
}

.jq-toast-single.jq-icon-warning::before {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
}

.jq-toast-single.jq-icon-warning::after {
    content: "\f071" !important;
    font-size: 13px !important;
}

.jq-toast-heading {
    margin: 0 0 4px !important;
    color: #0f172a !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
}

.jq-toast-single,
.jq-toast-single .jq-toast-heading {
    text-shadow: none !important;
}

.jq-toast-single .jq-toast-loader,
.jq-toast-loader {
    height: 4px !important;
    border-radius: 0 0 16px 16px !important;
    opacity: 1 !important;
}

.jq-toast-single.jq-icon-success .jq-toast-loader {
    background: #14b86f !important;
}

.jq-toast-single.jq-icon-error .jq-toast-loader {
    background: #ef4444 !important;
}

.jq-toast-single .close-jq-toast-single {
    top: 13px !important;
    right: 13px !important;
    width: 22px !important;
    height: 22px !important;
    border-radius: 50% !important;
    background: #f1f5f9 !important;
    color: #64748b !important;
    font-size: 16px !important;
    line-height: 21px !important;
    text-align: center !important;
    text-shadow: none !important;
}

.jq-toast-single .close-jq-toast-single:hover {
    background: #e2e8f0 !important;
    color: #0f172a !important;
}

.success_alert {
    display: none !important;
}

@media (max-width: 640px) {
    .jq-toast-wrap.top-right,
    .jq-toast-wrap.top-left,
    .jq-toast-wrap.bottom-right,
    .jq-toast-wrap.bottom-left {
        top: auto !important;
        right: 12px !important;
        left: 12px !important;
        bottom: 74px !important;
        width: auto !important;
    }

    .jq-toast-single {
        min-height: 64px !important;
        padding: 13px 38px 13px 58px !important;
        border-radius: 14px !important;
    }

    .jq-toast-single::before,
    .jq-toast-single::after {
        left: 16px !important;
        top: 16px !important;
    }

    .success_alert {
        display: none !important;
    }
}
