﻿:root {
    --swal2-container-padding: 0.625em;
    --swal2-backdrop: rgba(0, 0, 0, 0.5); 
    --swal2-width: 32em;
    --swal2-padding: 0 0 1.25em;
    --swal2-border: none;
    --swal2-border-radius: 20px;
    --swal2-background: white;
    --swal2-color: #2d3748;
    --swal2-footer-border-color: #e2e8f0;
    --swal2-show-animation: swal2-bounceIn 0.4s; 
    --swal2-hide-animation: swal2-fadeOut 0.2s forwards;
    --swal2-input-background: transparent;
    --swal2-progress-step-background: #667eea;
    --swal2-validation-message-background: #fed7d7;
    --swal2-validation-message-color: #c53030;
    --swal2-close-button-position: initial;
    --swal2-close-button-inset: auto;
    --swal2-close-button-font-size: 2em;
    --swal2-close-button-color: #a0aec0;
}

[data-swal2-theme=dark] {
    --swal2-dark-theme-black: #1a202c;
    --swal2-dark-theme-white: #f7fafc;
    --swal2-background: var(--swal2-dark-theme-black);
    --swal2-color: var(--swal2-dark-theme-white);
    --swal2-footer-border-color: #4a5568;
    --swal2-input-background: #2d3748;
    --swal2-validation-message-background: #742a2a;
    --swal2-validation-message-color: #feb2b2;
}

@media (prefers-color-scheme: dark) {
    [data-swal2-theme=auto] {
        --swal2-dark-theme-black: #1a202c;
        --swal2-dark-theme-white: #f7fafc;
        --swal2-background: var(--swal2-dark-theme-black);
        --swal2-color: var(--swal2-dark-theme-white);
        --swal2-footer-border-color: #4a5568;
        --swal2-input-background: #2d3748;
        --swal2-validation-message-background: #742a2a;
        --swal2-validation-message-color: #feb2b2;
    }
}

body.swal2-shown:not(.swal2-no-backdrop, .swal2-toast-shown) {
    overflow: hidden;
}

body.swal2-height-auto {
    height: auto !important;
}

body.swal2-no-backdrop .swal2-container {
    background-color: transparent !important;
    pointer-events: none;
}

    body.swal2-no-backdrop .swal2-container .swal2-popup {
        pointer-events: all;
    }

    body.swal2-no-backdrop .swal2-container .swal2-modal {
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    }

body.swal2-toast-shown .swal2-container {
    box-sizing: border-box;
    width: 380px; 
    max-width: 100%;
    background-color: transparent;
    pointer-events: none;
}

    body.swal2-toast-shown .swal2-container.swal2-top {
        inset: 0 auto auto 50%;
        transform: translateX(-50%);
    }

    body.swal2-toast-shown .swal2-container.swal2-top-end,
    body.swal2-toast-shown .swal2-container.swal2-top-right {
        inset: 0 0 auto auto;
    }

    body.swal2-toast-shown .swal2-container.swal2-top-start,
    body.swal2-toast-shown .swal2-container.swal2-top-left {
        inset: 0 auto auto 0;
    }

    body.swal2-toast-shown .swal2-container.swal2-center-start,
    body.swal2-toast-shown .swal2-container.swal2-center-left {
        inset: 50% auto auto 0;
        transform: translateY(-50%);
    }

    body.swal2-toast-shown .swal2-container.swal2-center {
        inset: 50% auto auto 50%;
        transform: translate(-50%, -50%);
    }

    body.swal2-toast-shown .swal2-container.swal2-center-end,
    body.swal2-toast-shown .swal2-container.swal2-center-right {
        inset: 50% 0 auto auto;
        transform: translateY(-50%);
    }

    body.swal2-toast-shown .swal2-container.swal2-bottom-start,
    body.swal2-toast-shown .swal2-container.swal2-bottom-left {
        inset: auto auto 0 0;
    }

    body.swal2-toast-shown .swal2-container.swal2-bottom {
        inset: auto auto 0 50%;
        transform: translateX(-50%);
    }

    body.swal2-toast-shown .swal2-container.swal2-bottom-end,
    body.swal2-toast-shown .swal2-container.swal2-bottom-right {
        inset: auto 0 0 auto;
    }

@media print {
    body.swal2-shown:not(.swal2-no-backdrop, .swal2-toast-shown) {
        overflow-y: scroll !important;
    }

        body.swal2-shown:not(.swal2-no-backdrop, .swal2-toast-shown) > [aria-hidden=true] {
            display: none;
        }

        body.swal2-shown:not(.swal2-no-backdrop, .swal2-toast-shown) .swal2-container {
            position: static !important;
        }
}

div:where(.swal2-container) {
    display: grid;
    position: fixed;
    z-index: 1060;
    inset: 0;
    box-sizing: border-box;
    grid-template-areas: "top-start     top            top-end" "center-start  center         center-end" "bottom-start  bottom-center  bottom-end";
    grid-template-rows: minmax(min-content, auto) minmax(min-content, auto) minmax(min-content, auto);
    height: 100%;
    padding: var(--swal2-container-padding);
    overflow-x: hidden;
    transition: background-color 0.2s ease; 
    -webkit-overflow-scrolling: touch;
    backdrop-filter: blur(2px); 
}

    div:where(.swal2-container).swal2-backdrop-show,
    div:where(.swal2-container).swal2-noanimation {
        background: var(--swal2-backdrop);
    }

    div:where(.swal2-container).swal2-backdrop-hide {
        background: transparent !important;
    }

    div:where(.swal2-container).swal2-top-start,
    div:where(.swal2-container).swal2-center-start,
    div:where(.swal2-container).swal2-bottom-start {
        grid-template-columns: minmax(0, 1fr) auto auto;
    }

    div:where(.swal2-container).swal2-top,
    div:where(.swal2-container).swal2-center,
    div:where(.swal2-container).swal2-bottom {
        grid-template-columns: auto minmax(0, 1fr) auto;
    }

    div:where(.swal2-container).swal2-top-end,
    div:where(.swal2-container).swal2-center-end,
    div:where(.swal2-container).swal2-bottom-end {
        grid-template-columns: auto auto minmax(0, 1fr);
    }

    div:where(.swal2-container).swal2-top-start > .swal2-popup {
        align-self: start;
    }

    div:where(.swal2-container).swal2-top > .swal2-popup {
        grid-column: 2;
        place-self: start center;
    }

    div:where(.swal2-container).swal2-top-end > .swal2-popup,
    div:where(.swal2-container).swal2-top-right > .swal2-popup {
        grid-column: 3;
        place-self: start end;
    }

    div:where(.swal2-container).swal2-center-start > .swal2-popup,
    div:where(.swal2-container).swal2-center-left > .swal2-popup {
        grid-row: 2;
        align-self: center;
    }

    div:where(.swal2-container).swal2-center > .swal2-popup {
        grid-column: 2;
        grid-row: 2;
        place-self: center center;
    }

    div:where(.swal2-container).swal2-center-end > .swal2-popup,
    div:where(.swal2-container).swal2-center-right > .swal2-popup {
        grid-column: 3;
        grid-row: 2;
        place-self: center end;
    }

    div:where(.swal2-container).swal2-bottom-start > .swal2-popup,
    div:where(.swal2-container).swal2-bottom-left > .swal2-popup {
        grid-column: 1;
        grid-row: 3;
        align-self: end;
    }

    div:where(.swal2-container).swal2-bottom > .swal2-popup {
        grid-column: 2;
        grid-row: 3;
        place-self: end center;
    }

    div:where(.swal2-container).swal2-bottom-end > .swal2-popup,
    div:where(.swal2-container).swal2-bottom-right > .swal2-popup {
        grid-column: 3;
        grid-row: 3;
        place-self: end end;
    }

    div:where(.swal2-container).swal2-grow-row > .swal2-popup,
    div:where(.swal2-container).swal2-grow-fullscreen > .swal2-popup {
        grid-column: 1/4;
        width: 100%;
    }

    div:where(.swal2-container).swal2-grow-column > .swal2-popup,
    div:where(.swal2-container).swal2-grow-fullscreen > .swal2-popup {
        grid-row: 1/4;
        align-self: stretch;
    }

    div:where(.swal2-container).swal2-no-transition {
        transition: none !important;
    }

    div:where(.swal2-container) div:where(.swal2-popup) {
        display: none;
        position: relative;
        box-sizing: border-box;
        grid-template-columns: minmax(0, 100%);
        width: var(--swal2-width);
        max-width: 100%;
        padding: var(--swal2-padding);
        border: var(--swal2-border);
        border-radius: var(--swal2-border-radius);
        background: var(--swal2-background);
        color: var(--swal2-color);
        font-family: 'Microsoft JhengHei', 'Segoe UI', 'PingFang TC', sans-serif; 
        font-size: 1rem;
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 10px 25px -5px rgba(0, 0, 0, 0.1); 
        transform: translateZ(0); 
    }

        div:where(.swal2-container) div:where(.swal2-popup):focus {
            outline: none;
        }

        div:where(.swal2-container) div:where(.swal2-popup).swal2-loading {
            overflow-y: hidden;
        }

        div:where(.swal2-container) div:where(.swal2-popup).swal2-draggable {
            cursor: grab;
        }

            div:where(.swal2-container) div:where(.swal2-popup).swal2-draggable div:where(.swal2-icon) {
                cursor: grab;
            }

        div:where(.swal2-container) div:where(.swal2-popup).swal2-dragging {
            cursor: grabbing;
        }

            div:where(.swal2-container) div:where(.swal2-popup).swal2-dragging div:where(.swal2-icon) {
                cursor: grabbing;
            }

    div:where(.swal2-container) h2:where(.swal2-title) {
        position: relative;
        max-width: 100%;
        margin: 0;
        padding: 1.2em 1.5em 0.5em;
        color: inherit;
        font-size: 1.75em; 
        font-weight: 700; 
        text-align: center;
        text-transform: none;
        word-wrap: break-word;
        cursor: initial;
        line-height: 1.3; 
    }

    div:where(.swal2-container) div:where(.swal2-actions) {
        display: flex;
        z-index: 1;
        box-sizing: border-box;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        width: auto;
        margin: 1.5em auto 0.5em; 
        padding: 0 1.5em;
        gap: 0.75em; 
    }

        div:where(.swal2-container) div:where(.swal2-actions):not(.swal2-loading) .swal2-styled[disabled] {
            opacity: 0.5; 
        }

        div:where(.swal2-container) div:where(.swal2-actions):not(.swal2-loading) .swal2-styled:hover {
            background-image: none; 
            transform: translateY(-1px); 
        }

        div:where(.swal2-container) div:where(.swal2-actions):not(.swal2-loading) .swal2-styled:active {
            background-image: none;
            transform: translateY(0);
        }

    div:where(.swal2-container) div:where(.swal2-loader) {
        display: none;
        align-items: center;
        justify-content: center;
        width: 2.2em;
        height: 2.2em;
        margin: 0 1.875em;
        animation: swal2-rotate-loading 1.5s linear 0s infinite normal;
        border-width: 0.25em;
        border-style: solid;
        border-radius: 100%;
        border-color: #667eea transparent #667eea transparent; 
    }

    div:where(.swal2-container) button:where(.swal2-styled) {
        margin: 0;
        padding: 0.75em 2em; 
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
        box-shadow: 0 4px 14px 0 rgba(0, 0, 0, 0.1);
        font-weight: 600; 
        font-size: 0.95em;
        border-radius: 12px; 
        cursor: pointer;
        text-transform: none;
        letter-spacing: 0.025em;
    }

        div:where(.swal2-container) button:where(.swal2-styled):not([disabled]) {
            cursor: pointer;
        }

        div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm) {
            border: 0;
            border-radius: 12px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: #fff;
            font-size: 0.95em;
            box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
        }

            div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm):hover {
                transform: translateY(-2px);
                box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
                background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
            }

            div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm):focus-visible {
                box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.5), 0 12px 35px rgba(102, 126, 234, 0.4);
                outline: none;
            }

            div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm):active {
                transform: translateY(0);
            }

        div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-deny) {
            border: 0;
            border-radius: 12px;
            background: linear-gradient(135deg, #f56565 0%, #e53e3e 100%);
            color: #fff;
            font-size: 0.95em;
            box-shadow: 0 8px 25px rgba(245, 101, 101, 0.3);
        }

            div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-deny):hover {
                transform: translateY(-2px);
                box-shadow: 0 12px 35px rgba(245, 101, 101, 0.4);
                background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
            }

            div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-deny):focus-visible {
                box-shadow: 0 0 0 3px rgba(245, 101, 101, 0.5), 0 12px 35px rgba(245, 101, 101, 0.4);
                outline: none;
            }

        div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-cancel) {
            border: 2px solid #e2e8f0;
            border-radius: 12px;
            background: #ffffff;
            color: #4a5568;
            font-size: 0.95em;
            box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
        }

            div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-cancel):hover {
                transform: translateY(-1px);
                background: #f7fafc;
                border-color: #cbd5e0;
                box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
            }

            div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-cancel):focus-visible {
                box-shadow: 0 0 0 3px rgba(160, 174, 192, 0.5), 0 8px 20px rgba(0, 0, 0, 0.1);
                outline: none;
            }

        div:where(.swal2-container) button:where(.swal2-styled).swal2-default-outline:focus-visible {
            box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.5);
            outline: none;
        }

        div:where(.swal2-container) button:where(.swal2-styled):focus-visible {
            outline: none;
        }

        div:where(.swal2-container) button:where(.swal2-styled)::-moz-focus-inner {
            border: 0;
        }


    div:where(.swal2-container) div:where(.swal2-footer) {
        margin: 1.5em 0 0;
        padding: 1.5em 1.5em 0;
        border-top: 1px solid var(--swal2-footer-border-color);
        color: #718096; 
        font-size: 0.9em;
        text-align: center;
        cursor: initial;
        line-height: 1.5;
    }

    div:where(.swal2-container) .swal2-timer-progress-bar-container {
        position: absolute;
        right: 0;
        bottom: 0;
        left: 0;
        grid-column: auto !important;
        overflow: hidden;
        border-bottom-right-radius: var(--swal2-border-radius);
        border-bottom-left-radius: var(--swal2-border-radius);
    }

    div:where(.swal2-container) div:where(.swal2-timer-progress-bar) {
        width: 100%;
        height: 4px; 
        background: linear-gradient(90deg, #667eea, #764ba2); 
    }

    div:where(.swal2-container) img:where(.swal2-image) {
        max-width: 100%;
        margin: 2em auto 1em;
        cursor: initial;
        border-radius: 12px; 
    }

    div:where(.swal2-container) button:where(.swal2-close) {
        position: var(--swal2-close-button-position);
        inset: var(--swal2-close-button-inset);
        z-index: 2;
        align-items: center;
        justify-content: center;
        width: 2em; 
        height: 2em;
        margin-top: 0;
        margin-right: 0;
        margin-bottom: -2em;
        padding: 0;
        overflow: hidden;
        transition: all 0.2s ease;
        border: none;
        border-radius: 50%; 
        background: rgba(160, 174, 192, 0.1); 
        color: var(--swal2-close-button-color);
        font-family: -apple-system, BlinkMacSystemFont, sans-serif;
        font-size: 1.2em;
        cursor: pointer;
        justify-self: end;
    }

        div:where(.swal2-container) button:where(.swal2-close):hover {
            transform: scale(1.1); 
            background: rgba(247, 116, 116, 0.1);
            color: #f27474;
        }

        div:where(.swal2-container) button:where(.swal2-close):focus-visible {
            outline: none;
            box-shadow: 0 0 0 3px rgba(160, 174, 192, 0.5);
        }

        div:where(.swal2-container) button:where(.swal2-close)::-moz-focus-inner {
            border: 0;
        }

  
    div:where(.swal2-container) div:where(.swal2-html-container) {
        z-index: 1;
        justify-content: center;
        margin: 0;
        padding: 0.5em 2em 1.5em; 
        overflow: auto;
        color: #4a5568; 
        font-size: 1em;
        font-weight: 400;
        line-height: 1.6; 
        text-align: center;
        word-wrap: break-word;
        word-break: break-word;
        cursor: initial;
    }

    div:where(.swal2-container) input:where(.swal2-input),
    div:where(.swal2-container) input:where(.swal2-file),
    div:where(.swal2-container) textarea:where(.swal2-textarea),
    div:where(.swal2-container) select:where(.swal2-select),
    div:where(.swal2-container) div:where(.swal2-radio),
    div:where(.swal2-container) label:where(.swal2-checkbox) {
        margin: 1em 2em 0.5em;
    }

    div:where(.swal2-container) input:where(.swal2-input),
    div:where(.swal2-container) input:where(.swal2-file),
    div:where(.swal2-container) textarea:where(.swal2-textarea) {
        box-sizing: border-box;
        width: auto;
        transition: all 0.2s ease;
        border: 2px solid #e2e8f0; 
        border-radius: 8px; 
        background: var(--swal2-input-background);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); 
        color: inherit;
        font-size: 1em;
        padding: 0.75em 1em; 
    }

        div:where(.swal2-container) input:where(.swal2-input).swal2-inputerror,
        div:where(.swal2-container) input:where(.swal2-file).swal2-inputerror,
        div:where(.swal2-container) textarea:where(.swal2-textarea).swal2-inputerror {
            border-color: #f56565 !important; 
            box-shadow: 0 0 8px rgba(245, 101, 101, 0.2) !important;
        }

        div:where(.swal2-container) input:where(.swal2-input):focus,
        div:where(.swal2-container) input:where(.swal2-file):focus,
        div:where(.swal2-container) textarea:where(.swal2-textarea):focus {
            border: 2px solid #667eea;
            outline: none;
            box-shadow: 0 0 12px rgba(102, 126, 234, 0.2), 0 4px 8px rgba(0, 0, 0, 0.1);
        }

        div:where(.swal2-container) input:where(.swal2-input)::placeholder,
        div:where(.swal2-container) input:where(.swal2-file)::placeholder,
        div:where(.swal2-container) textarea:where(.swal2-textarea)::placeholder {
            color: #a0aec0; 
        }


    div:where(.swal2-container) .swal2-range {
        margin: 1em 2em 3px;
        background: var(--swal2-background);
    }

        div:where(.swal2-container) .swal2-range input {
            width: 80%;
        }

        div:where(.swal2-container) .swal2-range output {
            width: 20%;
            color: inherit;
            font-weight: 600;
            text-align: center;
        }

        div:where(.swal2-container) .swal2-range input,
        div:where(.swal2-container) .swal2-range output {
            height: 2.625em;
            padding: 0;
            font-size: 1.125em;
            line-height: 2.625em;
        }

    
    div:where(.swal2-container) .swal2-input {
        height: 3em; 
        padding: 0 1em;
    }

    div:where(.swal2-container) .swal2-file {
        width: 75%;
        margin-right: auto;
        margin-left: auto;
        background: var(--swal2-input-background);
        font-size: 1.125em;
    }

    div:where(.swal2-container) .swal2-textarea {
        height: 6.75em;
        padding: 1em;
        resize: vertical; 
    }

    div:where(.swal2-container) .swal2-select {
        min-width: 50%;
        max-width: 100%;
        padding: 0.75em 1em; 
        background: var(--swal2-input-background);
        color: inherit;
        font-size: 1.125em;
        border: 2px solid #e2e8f0; 
        border-radius: 8px;
    }

    div:where(.swal2-container) .swal2-radio,
    div:where(.swal2-container) .swal2-checkbox {
        align-items: center;
        justify-content: center;
        background: var(--swal2-background);
        color: inherit;
    }

        div:where(.swal2-container) .swal2-radio label,
        div:where(.swal2-container) .swal2-checkbox label {
            margin: 0 0.6em;
            font-size: 1.125em;
        }

        div:where(.swal2-container) .swal2-radio input,
        div:where(.swal2-container) .swal2-checkbox input {
            flex-shrink: 0;
            margin: 0 0.4em;
        }

  
    div:where(.swal2-container) label:where(.swal2-input-label) {
        display: flex;
        justify-content: center;
        margin: 1em auto 0;
        font-weight: 500; 
        color: #2d3748;
    }

    div:where(.swal2-container) div:where(.swal2-validation-message) {
        align-items: center;
        justify-content: center;
        margin: 1em 0 0;
        padding: 1em;
        overflow: hidden;
        background: linear-gradient(135deg, #fed7d7 0%, #feb2b2 100%);
        color: var(--swal2-validation-message-color);
        font-size: 0.9em;
        font-weight: 500;
        border-radius: 8px; 
        border-left: 4px solid #f56565; 
    }

        div:where(.swal2-container) div:where(.swal2-validation-message)::before {
            content: "!";
            display: inline-block;
            width: 1.5em;
            min-width: 1.5em;
            height: 1.5em;
            margin: 0 0.625em;
            border-radius: 50%;
            background: linear-gradient(135deg, #f56565, #e53e3e); 
            color: #fff;
            font-weight: 700;
            line-height: 1.5em;
            text-align: center;
            box-shadow: 0 2px 8px rgba(245, 101, 101, 0.3); 
        }

    div:where(.swal2-container) .swal2-progress-steps {
        flex-wrap: wrap;
        align-items: center;
        max-width: 100%;
        margin: 1.25em auto;
        padding: 0;
        background: transparent;
        font-weight: 600;
    }

        div:where(.swal2-container) .swal2-progress-steps li {
            display: inline-block;
            position: relative;
        }

        div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step {
            z-index: 20;
            flex-shrink: 0;
            width: 2em;
            height: 2em;
            border-radius: 2em;
            background: linear-gradient(135deg, #667eea, #764ba2); 
            color: #fff;
            line-height: 2em;
            text-align: center;
            box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3); 
        }

            div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step {
                background: linear-gradient(135deg, #667eea, #764ba2);
                transform: scale(1.1); 
            }

                div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step ~ .swal2-progress-step {
                    background: #e2e8f0; 
                    color: #a0aec0;
                    box-shadow: none;
                }

                div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step ~ .swal2-progress-step-line {
                    background: #e2e8f0;
                }

        div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step-line {
            z-index: 10;
            flex-shrink: 0;
            width: 2.5em;
            height: 0.4em;
            margin: 0 -1px;
            background: linear-gradient(90deg, #667eea, #764ba2);
        }


div:where(.swal2-icon) {
    position: relative;
    box-sizing: content-box;
    justify-content: center;
    width: 5em;
    height: 5em;
    margin: 2em auto 1em; 
    border: 0.25em solid transparent;
    border-radius: 50%;
    border-color: #000;
    font-family: inherit;
    line-height: 5em;
    cursor: default;
    user-select: none;
}

    div:where(.swal2-icon) .swal2-icon-content {
        display: flex;
        align-items: center;
        font-size: 3.75em;
    }

    div:where(.swal2-icon).swal2-error {
        border-color: #f56565;
        color: #f56565;
        background: linear-gradient(135deg, rgba(245, 101, 101, 0.1), rgba(229, 62, 62, 0.1)); 
    }

        div:where(.swal2-icon).swal2-error .swal2-x-mark {
            position: relative;
            flex-grow: 1;
        }

        div:where(.swal2-icon).swal2-error [class^=swal2-x-mark-line] {
            display: block;
            position: absolute;
            top: 2.3125em;
            width: 2.9375em;
            height: 0.3125em;
            border-radius: 0.125em;
            background-color: #f56565;
        }

            div:where(.swal2-icon).swal2-error [class^=swal2-x-mark-line][class$=left] {
                left: 1.0625em;
                transform: rotate(45deg);
            }

            div:where(.swal2-icon).swal2-error [class^=swal2-x-mark-line][class$=right] {
                right: 1em;
                transform: rotate(-45deg);
            }

        div:where(.swal2-icon).swal2-error.swal2-icon-show {
            animation: swal2-animate-error-icon 0.5s;
        }

            div:where(.swal2-icon).swal2-error.swal2-icon-show .swal2-x-mark {
                animation: swal2-animate-error-x-mark 0.5s;
            }

    div:where(.swal2-icon).swal2-warning {
        border-color: #ed8936;
        color: #ed8936;
        background: linear-gradient(135deg, rgba(237, 137, 54, 0.1), rgba(221, 107, 32, 0.1)); 
    }

        div:where(.swal2-icon).swal2-warning.swal2-icon-show {
            animation: swal2-animate-error-icon 0.5s;
        }

            div:where(.swal2-icon).swal2-warning.swal2-icon-show .swal2-icon-content {
                animation: swal2-animate-i-mark 0.5s;
            }

    div:where(.swal2-icon).swal2-info {
        border-color: #4299e1;
        color: #4299e1;
        background: linear-gradient(135deg, rgba(66, 153, 225, 0.1), rgba(49, 130, 206, 0.1)); 
    }

        div:where(.swal2-icon).swal2-info.swal2-icon-show {
            animation: swal2-animate-error-icon 0.5s;
        }

            div:where(.swal2-icon).swal2-info.swal2-icon-show .swal2-icon-content {
                animation: swal2-animate-i-mark 0.8s;
            }

    div:where(.swal2-icon).swal2-question {
        border-color: #805ad5;
        color: #805ad5;
        background: linear-gradient(135deg, rgba(128, 90, 213, 0.1), rgba(107, 70, 193, 0.1)); 
    }

        div:where(.swal2-icon).swal2-question.swal2-icon-show {
            animation: swal2-animate-error-icon 0.5s;
        }

            div:where(.swal2-icon).swal2-question.swal2-icon-show .swal2-icon-content {
                animation: swal2-animate-question-mark 0.8s;
            }

    div:where(.swal2-icon).swal2-success {
        border-color: #48bb78;
        color: #48bb78;
        background: linear-gradient(135deg, rgba(72, 187, 120, 0.1), rgba(56, 161, 105, 0.1)); 
    }

        div:where(.swal2-icon).swal2-success .swal2-success-ring {
            position: absolute;
            z-index: 2;
            top: -0.25em;
            left: -0.25em;
            box-sizing: content-box;
            width: 100%;
            height: 100%;
            border: 0.25em solid rgba(72, 187, 120, 0.3);
            border-radius: 50%;
        }

        /* div:where(.swal2-icon).swal2-success .swal2-success-fix {
            position: absolute;
            z-index: 1;
            top: 0.5em;
            left: 1.625em;
            width: 0.4375em;
            height: 5.625em;
            transform: rotate(-45deg);
        } */

        div:where(.swal2-icon).swal2-success [class^=swal2-success-line] {
            display: block;
            position: absolute;
            z-index: 2;
            height: 0.3125em;
            border-radius: 0.125em;
            background-color: #48bb78;
        }

            div:where(.swal2-icon).swal2-success [class^=swal2-success-line][class$=tip] {
                top: 2.875em;
                left: 0.8125em;
                width: 1.5625em;
                transform: rotate(45deg);
            }

            div:where(.swal2-icon).swal2-success [class^=swal2-success-line][class$=long] {
                top: 2.375em;
                right: 0.5em;
                width: 2.9375em;
                transform: rotate(-45deg);
            }

        div:where(.swal2-icon).swal2-success.swal2-icon-show .swal2-success-line-tip {
            animation: swal2-animate-success-line-tip 0.75s;
        }

        div:where(.swal2-icon).swal2-success.swal2-icon-show .swal2-success-line-long {
            animation: swal2-animate-success-line-long 0.75s;
        }

        div:where(.swal2-icon).swal2-success.swal2-icon-show .swal2-success-circular-line-right {
            animation: swal2-rotate-success-circular-line 4.25s ease-in;
        }

[class^=swal2] {
    -webkit-tap-highlight-color: transparent;
}

.swal2-show {
    animation: var(--swal2-show-animation);
}

.swal2-hide {
    animation: var(--swal2-hide-animation);
}

.swal2-noanimation {
    transition: none;
}

.swal2-scrollbar-measure {
    position: absolute;
    top: -9999px;
    width: 50px;
    height: 50px;
    overflow: scroll;
}

.swal2-rtl .swal2-close {
    margin-right: initial;
    margin-left: 0;
}

.swal2-rtl .swal2-timer-progress-bar {
    right: 0;
    left: auto;
}

.swal2-toast {
    box-sizing: border-box;
    grid-column: 1/4 !important;
    grid-row: 1/4 !important;
    grid-template-columns: min-content auto min-content;
    padding: 1.25em; 
    overflow-y: hidden;
    background: var(--swal2-background);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1), 0 4px 20px rgba(0, 0, 0, 0.06); 
    pointer-events: all;
    border-radius: 12px; 
    border: 1px solid rgba(255, 255, 255, 0.2); 
    backdrop-filter: blur(10px);
}

    .swal2-toast > * {
        grid-column: 2;
    }

    .swal2-toast h2:where(.swal2-title) {
        margin: 0.5em 1em;
        padding: 0;
        font-size: 1.1em; 
        font-weight: 600; 
        text-align: initial;
        color: #2d3748;
    }

    .swal2-toast .swal2-loading {
        justify-content: center;
    }

    .swal2-toast input:where(.swal2-input) {
        height: 2em;
        margin: 0.5em;
        font-size: 1em;
    }

    .swal2-toast .swal2-validation-message {
        font-size: 1em;
    }

    .swal2-toast div:where(.swal2-footer) {
        margin: 0.5em 0 0;
        padding: 0.5em 0 0;
        font-size: 0.8em;
    }

    .swal2-toast button:where(.swal2-close) {
        grid-column: 3/3;
        grid-row: 1/99;
        align-self: center;
        width: 1.5em; 
        height: 1.5em;
        margin: 0;
        font-size: 1.5em;
        border-radius: 50%;
        background: rgba(0, 0, 0, 0.05); 
        transition: all 0.2s ease;
    }

        .swal2-toast button:where(.swal2-close):hover {
            background: rgba(247, 116, 116, 0.1);
            transform: scale(1.1);
        }

    .swal2-toast div:where(.swal2-html-container) {
        margin: 0.5em 1em;
        padding: 0;
        overflow: initial;
        font-size: 0.95em;
        text-align: initial;
        color: #4a5568; 
        line-height: 1.5;
    }

        .swal2-toast div:where(.swal2-html-container):empty {
            padding: 0;
        }

    .swal2-toast .swal2-loader {
        grid-column: 1;
        grid-row: 1/99;
        align-self: center;
        width: 2em;
        height: 2em;
        margin: 0.25em;
    }

    .swal2-toast .swal2-icon {
        grid-column: 1;
        grid-row: 1/99;
        align-self: center;
        width: 2em;
        min-width: 2em;
        height: 2em;
        margin: 0 0.75em 0 0; 
    }

        .swal2-toast .swal2-icon .swal2-icon-content {
            display: flex;
            align-items: center;
            font-size: 1.8em;
            font-weight: bold;
        }

        .swal2-toast .swal2-icon.swal2-success .swal2-success-ring {
            width: 2em;
            height: 2em;
        }

        .swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line] {
            top: 0.875em;
            width: 1.375em;
        }

            .swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left] {
                left: 0.3125em;
            }

            .swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right] {
                right: 0.3125em;
            }

    .swal2-toast div:where(.swal2-actions) {
        justify-content: flex-start;
        height: auto;
        margin: 0;
        margin-top: 0.75em; 
        padding: 0 0.5em;
        gap: 0.5em;
    }

    .swal2-toast button:where(.swal2-styled) {
        margin: 0;
        padding: 0.5em 1em; 
        font-size: 0.9em;
        border-radius: 8px; 
    }

    .swal2-toast .swal2-success {
        border-color: #48bb78;
    }

        .swal2-toast .swal2-success [class^=swal2-success-circular-line] {
            position: absolute;
            width: 1.6em;
            height: 3em;
            border-radius: 50%;
        }

            .swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=left] {
                top: -0.8em;
                left: -0.5em;
                transform: rotate(-45deg);
                transform-origin: 2em 2em;
                border-radius: 4em 0 0 4em;
            }

            .swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=right] {
                top: -0.25em;
                left: 0.9375em;
                transform-origin: 0 1.5em;
                border-radius: 0 4em 4em 0;
            }

        .swal2-toast .swal2-success .swal2-success-ring {
            width: 2em;
            height: 2em;
        }

        /* .swal2-toast .swal2-success .swal2-success-fix {
            top: 0;
            left: 0.4375em;
            width: 0.4375em;
            height: 2.6875em;
        } */

        .swal2-toast .swal2-success [class^=swal2-success-line] {
            height: 0.3125em;
        }

            .swal2-toast .swal2-success [class^=swal2-success-line][class$=tip] {
                top: 1.125em;
                left: 0.1875em;
                width: 0.75em;
            }

            .swal2-toast .swal2-success [class^=swal2-success-line][class$=long] {
                top: 0.9375em;
                right: 0.1875em;
                width: 1.375em;
            }

        .swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-tip {
            animation: swal2-toast-animate-success-line-tip 0.75s;
        }

        .swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-long {
            animation: swal2-toast-animate-success-line-long 0.75s;
        }

    .swal2-toast.swal2-show {
        animation: swal2-toast-show-enhanced 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .swal2-toast.swal2-hide {
        animation: swal2-toast-hide-enhanced 0.3s ease-in forwards;
    }


.swal2-popup {
    border-radius: 20px !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 10px 25px -5px rgba(0, 0, 0, 0.1) !important;
    backdrop-filter: blur(10px) !important;
    background: rgba(255, 255, 255, 0.98) !important;
    font-family: 'Microsoft JhengHei', 'Segoe UI', sans-serif !important;
}

.swal2-title {
    font-weight: 700 !important;
    color: #1a202c !important;
}

.swal2-html-container {
    color: #4a5568 !important;
    line-height: 1.6 !important;
}

.swal2-confirm {
    background: linear-gradient(135deg, #658faf 0%, #324f69 100%) !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 0.75em 2em !important;
    font-weight: 600 !important;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    font-size: 0.95em !important;
    color: white !important;
}

    .swal2-confirm:hover {
        transform: translateY(-2px) !important;
        box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4) !important;
        background: linear-gradient(135deg, #324f69 0%, #658faf 100%) !important;
    }

.swal2-cancel {
    background: #ffffff !important;
    color: #4a5568 !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 0.75em 2em !important;
    font-weight: 600 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    font-size: 0.95em !important;
}

    .swal2-cancel:hover {
        background: #f7fafc !important;
        border-color: #cbd5e0 !important;
        transform: translateY(-1px) !important;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1) !important;
    }

[data-bs-theme="dark"] .swal2-popup {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 25px !important;
    color: white !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4) !important;
}

[data-bs-theme="dark"] .swal2-title {
    color: white !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
    font-weight: 700 !important;
}

[data-bs-theme="dark"] .swal2-html-container {
    color: rgba(255, 255, 255, 0.9) !important;
}

[data-bs-theme="dark"] .swal2-confirm {
    background: rgba(255, 255, 255, 0.25) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    color: white !important;
    border-radius: 12px !important;
    backdrop-filter: blur(10px) !important;
    font-weight: 600 !important;
}

    [data-bs-theme="dark"] .swal2-confirm:hover {
        background: rgba(255, 255, 255, 0.35) !important;
        transform: translateY(-1px) !important;
    }

[data-bs-theme="dark"] .swal2-cancel {
    background: rgba(0, 0, 0, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: rgba(255, 255, 255, 0.8) !important;
    border-radius: 12px !important;
    backdrop-filter: blur(10px) !important;
}

    [data-bs-theme="dark"] .swal2-cancel:hover {
        background: rgba(0, 0, 0, 0.2) !important;
        border-color: rgba(255, 255, 255, 0.5) !important;
        transform: translateY(-1px) !important;
    }

[data-bs-theme="dark"] .swal2-icon.swal2-success {
    border-color: rgba(255, 255, 255, 0.8) !important;
    color: white !important;
}

[data-bs-theme="dark"] .swal2-icon.swal2-error {
    border-color: rgba(255, 100, 100, 0.8) !important;
    color: rgba(255, 100, 100, 0.9) !important;
}

[data-bs-theme="dark"] .swal2-icon.swal2-warning {
    border-color: rgba(255, 200, 100, 0.8) !important;
    color: rgba(255, 200, 100, 0.9) !important;
}

[data-bs-theme="dark"] .swal2-icon.swal2-info {
    border-color: rgba(100, 200, 255, 0.8) !important;
    color: rgba(100, 200, 255, 0.9) !important;
}

[data-bs-theme="dark"] .swal2-toast {
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(15px) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 15px !important;
    color: white !important;
}

    [data-bs-theme="dark"] .swal2-toast .swal2-title {
        color: white !important;
        text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3) !important;
    }

    [data-bs-theme="dark"] .swal2-toast .swal2-html-container {
        color: rgba(255, 255, 255, 0.9) !important;
    }

[data-bs-theme="dark"] .swal2-close {
    background: rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.7) !important;
    border-radius: 50% !important;
}

    [data-bs-theme="dark"] .swal2-close:hover {
        background: rgba(255, 255, 255, 0.2) !important;
        color: white !important;
        transform: scale(1.1) !important;
    }


@media (prefers-color-scheme: dark) {
    html:not([data-layout-mode]) .swal2-popup {
        background: rgba(255, 255, 255, 0.1) !important;
        backdrop-filter: blur(20px) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        border-radius: 25px !important;
        color: white !important;
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4) !important;
    }

    html:not([data-layout-mode]) .swal2-title {
        color: white !important;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
    }

    html:not([data-layout-mode]) .swal2-html-container {
        color: rgba(255, 255, 255, 0.9) !important;
    }

    html:not([data-layout-mode]) .swal2-confirm {
        background: rgba(255, 255, 255, 0.25) !important;
        border: 1px solid rgba(255, 255, 255, 0.4) !important;
        color: white !important;
        backdrop-filter: blur(10px) !important;
    }
}


@keyframes swal2-bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3) translateY(-100px);
    }

    50% {
        opacity: 1;
        transform: scale(1.05) translateY(10px);
    }

    70% {
        transform: scale(0.9) translateY(-5px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes swal2-fadeOut {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: scale(0.8);
    }
}

@keyframes neonPulse {
    0% {
        box-shadow: 0 0 20px #00d4ff, 0 0 40px #00d4ff;
    }

    100% {
        box-shadow: 0 0 30px #00d4ff, 0 0 60px #00d4ff, 0 0 90px #00d4ff;
    }
}

@keyframes swal2-toast-show-enhanced {
    0% {
        opacity: 0;
        transform: translateX(100%) scale(0.8);
    }

    50% {
        opacity: 0.8;
        transform: translateX(-10px) scale(1.02);
    }

    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes swal2-toast-hide-enhanced {
    0% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }

    100% {
        opacity: 0;
        transform: translateX(100%) scale(0.8);
    }
}

@keyframes swal2-show {
    0% {
        transform: scale(0.7);
    }

    45% {
        transform: scale(1.05);
    }

    80% {
        transform: scale(0.95);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes swal2-hide {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(0.5);
        opacity: 0;
    }
}

@keyframes swal2-animate-success-line-tip {
    0% {
        top: 1.1875em;
        left: 0.0625em;
        width: 0;
    }

    54% {
        top: 1.0625em;
        left: 0.125em;
        width: 0;
    }

    70% {
        top: 2.1875em;
        left: -0.375em;
        width: 3.125em;
    }

    84% {
        top: 3em;
        left: 1.3125em;
        width: 1.0625em;
    }

    100% {
        top: 2.8125em;
        left: 0.8125em;
        width: 1.5625em;
    }
}

@keyframes swal2-animate-success-line-long {
    0% {
        top: 3.375em;
        right: 2.875em;
        width: 0;
    }

    65% {
        top: 3.375em;
        right: 2.875em;
        width: 0;
    }

    84% {
        top: 2.1875em;
        right: 0;
        width: 3.4375em;
    }

    100% {
        top: 2.375em;
        right: 0.5em;
        width: 2.9375em;
    }
}

@keyframes swal2-rotate-success-circular-line {
    0% {
        transform: rotate(-45deg);
    }

    5% {
        transform: rotate(-45deg);
    }

    12% {
        transform: rotate(-405deg);
    }

    100% {
        transform: rotate(-405deg);
    }
}

@keyframes swal2-animate-error-x-mark {
    0% {
        margin-top: 1.625em;
        transform: scale(0.4);
        opacity: 0;
    }

    50% {
        margin-top: 1.625em;
        transform: scale(0.4);
        opacity: 0;
    }

    80% {
        margin-top: -0.375em;
        transform: scale(1.15);
    }

    100% {
        margin-top: 0;
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes swal2-animate-error-icon {
    0% {
        transform: rotateX(100deg);
        opacity: 0;
    }

    100% {
        transform: rotateX(0deg);
        opacity: 1;
    }
}

@keyframes swal2-rotate-loading {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes swal2-animate-question-mark {
    0% {
        transform: rotateY(-360deg);
    }

    100% {
        transform: rotateY(0);
    }
}

@keyframes swal2-animate-i-mark {
    0% {
        transform: rotateZ(45deg);
        opacity: 0;
    }

    25% {
        transform: rotateZ(-25deg);
        opacity: 0.4;
    }

    50% {
        transform: rotateZ(15deg);
        opacity: 0.8;
    }

    75% {
        transform: rotateZ(-5deg);
        opacity: 1;
    }

    100% {
        transform: rotateX(0);
        opacity: 1;
    }
}

@keyframes swal2-toast-show {
    0% {
        transform: translateY(-0.625em) rotateZ(2deg);
    }

    33% {
        transform: translateY(0) rotateZ(-2deg);
    }

    66% {
        transform: translateY(0.3125em) rotateZ(2deg);
    }

    100% {
        transform: translateY(0) rotateZ(0deg);
    }
}

@keyframes swal2-toast-hide {
    100% {
        transform: rotateZ(1deg);
        opacity: 0;
    }
}

@keyframes swal2-toast-animate-success-line-tip {
    0% {
        top: 0.5625em;
        left: 0.0625em;
        width: 0;
    }

    54% {
        top: 0.125em;
        left: 0.125em;
        width: 0;
    }

    70% {
        top: 0.625em;
        left: -0.25em;
        width: 1.625em;
    }

    84% {
        top: 1.0625em;
        left: 0.75em;
        width: 0.5em;
    }

    100% {
        top: 1.125em;
        left: 0.1875em;
        width: 0.75em;
    }
}

@keyframes swal2-toast-animate-success-line-long {
    0% {
        top: 1.625em;
        right: 1.375em;
        width: 0;
    }

    65% {
        top: 1.25em;
        right: 0.9375em;
        width: 0;
    }

    84% {
        top: 0.9375em;
        right: 0;
        width: 1.125em;
    }

    100% {
        top: 0.9375em;
        right: 0.1875em;
        width: 1.375em;
    }
}


@media (max-width: 768px) {
    div:where(.swal2-container) div:where(.swal2-popup) {
        width: 90% !important;
        margin: 0 auto;
    }

    .swal2-popup.modern-style .swal2-title {
        font-size: 1.5em !important;
    }

    .swal2-popup.modern-style .swal2-html-container {
        font-size: 0.9rem !important;
    }

    .swal2-popup.modern-style .swal2-confirm,
    .swal2-popup.modern-style .swal2-cancel {
        padding: 0.6em 1.5em !important;
        font-size: 0.9em !important;
    }
}

@media (max-width: 480px) {
    div:where(.swal2-container) div:where(.swal2-popup) {
        width: 95% !important;
    }

    div:where(.swal2-container) h2:where(.swal2-title) {
        font-size: 1.4em !important;
        padding: 1em 1em 0.5em !important;
    }

    div:where(.swal2-container) div:where(.swal2-html-container) {
        font-size: 0.9em !important;
        padding: 0.5em 1.5em 1em !important;
    }

    div:where(.swal2-container) div:where(.swal2-actions) {
        flex-direction: column !important;
        gap: 0.5em !important;
    }

    div:where(.swal2-container) button:where(.swal2-styled) {
        width: 100% !important;
        margin: 0 !important;
    }
}
