﻿/* ============================================
   SWEETALERT2 - ULTRA CLEAN & MINIMAL DESIGN
   ============================================ */

/* Container & Backdrop */
.swal2-container {
    z-index: 1500;
}

.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: auto;
    padding: 1rem;
    overflow-x: hidden;
    transition: background-color 0.2s ease;
    -webkit-overflow-scrolling: touch;
}

    .swal2-container.is-notify {
        z-index: 11111;
    }

    .swal2-container.swal2-backdrop-show,
    .swal2-container.swal2-noanimation {
        background: rgba(0, 0, 0, 0.4);
        backdrop-filter: blur(8px);
        transition: all 0.2s ease;
    }

    .swal2-container.swal2-backdrop-hide {
        background: rgba(0, 0, 0, 0) !important;
    }

    /* Grid Positioning */
    .swal2-container.swal2-top-start,
    .swal2-container.swal2-center-start,
    .swal2-container.swal2-bottom-start {
        grid-template-columns: minmax(0, 1fr) auto auto;
    }

    .swal2-container.swal2-top,
    .swal2-container.swal2-center,
    .swal2-container.swal2-bottom {
        grid-template-columns: auto minmax(0, 1fr) auto;
    }

    .swal2-container.swal2-top-end,
    .swal2-container.swal2-center-end,
    .swal2-container.swal2-bottom-end {
        grid-template-columns: auto auto minmax(0, 1fr);
    }

    .swal2-container.swal2-top-start > .swal2-popup {
        align-self: start;
    }

    .swal2-container.swal2-top > .swal2-popup {
        grid-column: 2;
        align-self: start;
        justify-self: center;
    }

    .swal2-container.swal2-top-end > .swal2-popup,
    .swal2-container.swal2-top-right > .swal2-popup {
        grid-column: 3;
        align-self: start;
        justify-self: end;
    }

    .swal2-container.swal2-center-start > .swal2-popup,
    .swal2-container.swal2-center-left > .swal2-popup {
        grid-row: 2;
        align-self: center;
    }

    .swal2-container.swal2-center > .swal2-popup {
        grid-column: 2;
        grid-row: 2;
        align-self: center;
        justify-self: center;
    }

    .swal2-container.swal2-center-end > .swal2-popup,
    .swal2-container.swal2-center-right > .swal2-popup {
        grid-column: 3;
        grid-row: 2;
        align-self: center;
        justify-self: end;
    }

    .swal2-container.swal2-bottom-start > .swal2-popup,
    .swal2-container.swal2-bottom-left > .swal2-popup {
        grid-column: 1;
        grid-row: 3;
        align-self: end;
    }

    .swal2-container.swal2-bottom > .swal2-popup {
        grid-column: 2;
        grid-row: 3;
        justify-self: center;
        align-self: end;
    }

    .swal2-container.swal2-bottom-end > .swal2-popup,
    .swal2-container.swal2-bottom-right > .swal2-popup {
        grid-column: 3;
        grid-row: 3;
        align-self: end;
        justify-self: end;
    }

    .swal2-container.swal2-grow-row > .swal2-popup,
    .swal2-container.swal2-grow-fullscreen > .swal2-popup {
        grid-column: 1/4;
        width: 100%;
    }

    .swal2-container.swal2-grow-column > .swal2-popup,
    .swal2-container.swal2-grow-fullscreen > .swal2-popup {
        grid-row: 1/4;
        align-self: stretch;
    }

    .swal2-container.swal2-no-transition {
        transition: none !important;
    }

/* ============================================
   POPUP - MINIMAL & CLEAN DESIGN
   ============================================ */

.swal2-popup {
    display: none;
    position: relative;
    box-sizing: border-box;
    width: 100%;
    max-width: 400px;
    padding: 0;
    border: none;
    border-radius: 16px;
    background: #ffffff;
    color: #1a1a1a;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

    .swal2-popup:focus {
        outline: none;
    }

    .swal2-popup.swal2-loading {
        overflow-y: hidden;
    }

/* Modal Variant */
.swal2-modal {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    border-radius: 16px;
    min-height: auto;
    background: #ffffff !important;
    padding: 0;
    max-width: var(--px-500);
}

/* ============================================
   CLOSE BUTTON - MINIMAL DESIGN
   ============================================ */

.swal2-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #9ca3af;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.15s ease;
}

    .swal2-close:hover {
        background: #f3f4f6;
        color: #1f2937;
        transform: none;
    }

    .swal2-close:active {
        background: #e5e7eb;
        transform: scale(0.95);
    }

    .swal2-close:focus {
        outline: none;
        box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    }

    .swal2-close::-moz-focus-inner {
        border: 0;
    }

/* ============================================
   ICON - CLEAN & MODERN (FIXED)
   ============================================ */

.swal2-icon {
    position: relative;
    box-sizing: content-box;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 32px auto 16px;
    border: 3px solid transparent;
    border-radius: 50%;
    cursor: default;
    user-select: none;
    flex-shrink: 0;
}

    .swal2-icon .swal2-icon-content {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
        font-size: 32px;
        font-weight: 600;
        line-height: 1;
    }

    /* Success Icon - FIXED */
    .swal2-icon.swal2-success {
        border-color: #10b981;
        color: #10b981;
    }

        .swal2-icon.swal2-success .swal2-success-ring {
            position: absolute;
            top: -3px;
            left: -3px;
            z-index: 1;
            width: calc(100% + 6px);
            height: calc(100% + 6px);
            border: 3px solid rgba(16, 185, 129, 0.2);
            border-radius: 50%;
            box-sizing: border-box;
        }

        .swal2-icon.swal2-success [class^="swal2-success-circular-line"] {
            display: none;
        }

        .swal2-icon.swal2-success .swal2-success-fix {
            display: none;
        }

        .swal2-icon.swal2-success [class^="swal2-success-line"] {
            position: absolute;
            z-index: 2;
            display: block;
            height: 3px;
            border-radius: 2px;
            background-color: #10b981;
        }

            .swal2-icon.swal2-success [class^="swal2-success-line"][class$="tip"] {
                top: 36px;
                left: 16px;
                width: 16px;
                transform: rotate(45deg);
                transform-origin: left bottom;
            }

            .swal2-icon.swal2-success [class^="swal2-success-line"][class$="long"] {
                top: 32px;
                right: 12px;
                width: 32px;
                transform: rotate(-45deg);
                transform-origin: right bottom;
            }

        .swal2-icon.swal2-success.swal2-icon-show .swal2-success-line-tip {
            animation: swal2-animate-success-line-tip 0.6s ease;
        }

        .swal2-icon.swal2-success.swal2-icon-show .swal2-success-line-long {
            animation: swal2-animate-success-line-long 0.6s ease 0.1s;
        }

    /* Error Icon - FIXED */
    .swal2-icon.swal2-error {
        border-color: #ef4444;
        color: #ef4444;
    }

        .swal2-icon.swal2-error .swal2-x-mark {
            position: relative;
            display: block;
            width: 100%;
            height: 100%;
            flex-grow: 1;
        }

        .swal2-icon.swal2-error [class^="swal2-x-mark-line"] {
            position: absolute;
            top: 50%;
            left: 50%;
            display: block;
            width: 32px;
            height: 3px;
            border-radius: 2px;
            background-color: #ef4444;
        }

            .swal2-icon.swal2-error [class^="swal2-x-mark-line"][class$="left"] {
                transform: translate(-50%, -50%) rotate(45deg);
            }

            .swal2-icon.swal2-error [class^="swal2-x-mark-line"][class$="right"] {
                transform: translate(-50%, -50%) rotate(-45deg);
            }

        .swal2-icon.swal2-error.swal2-icon-show {
            animation: swal2-animate-error-icon 0.5s;
        }

            .swal2-icon.swal2-error.swal2-icon-show .swal2-x-mark {
                animation: swal2-animate-error-x-mark 0.5s;
            }

    /* Warning Icon - FIXED */
    .swal2-icon.swal2-warning {
        border-color: #f59e0b;
        color: #f59e0b;
        font-size: 48px;
    }

        .swal2-icon.swal2-warning .swal2-icon-content {
            font-family: inherit;
        }

            .swal2-icon.swal2-warning .swal2-icon-content::before {
                content: "!";
            }

        .swal2-icon.swal2-warning.swal2-icon-show {
            animation: swal2-animate-error-icon 0.5s;
        }

            .swal2-icon.swal2-warning.swal2-icon-show .swal2-icon-content {
                animation: swal2-animate-i-mark 0.5s;
            }

    /* Info Icon - FIXED */
    .swal2-icon.swal2-info {
        border-color: #3b82f6;
        color: #3b82f6;
        font-size: 48px;
    }

        .swal2-icon.swal2-info .swal2-icon-content {
            font-family: inherit;
        }

            .swal2-icon.swal2-info .swal2-icon-content::before {
                content: "i";
                /* font-style: italic; */
            }

        .swal2-icon.swal2-info.swal2-icon-show {
            animation: swal2-animate-error-icon 0.5s;
        }

            .swal2-icon.swal2-info.swal2-icon-show .swal2-icon-content {
                animation: swal2-animate-i-mark 0.6s;
            }

    /* Question Icon - FIXED */
    .swal2-icon.swal2-question {
        border-color: #8b5cf6;
        color: #8b5cf6;
        font-size: 48px;
    }

        .swal2-icon.swal2-question .swal2-icon-content {
            font-family: inherit;
        }

            .swal2-icon.swal2-question .swal2-icon-content::before {
                content: "?";
            }

        .swal2-icon.swal2-question.swal2-icon-show {
            animation: swal2-animate-error-icon 0.5s;
        }

            .swal2-icon.swal2-question.swal2-icon-show .swal2-icon-content {
                animation: swal2-animate-question-mark 0.6s;
            }

/* ============================================
   TITLE & CONTENT - CLEAN TYPOGRAPHY
   ============================================ */

.swal2-title {
    position: relative;
    max-width: 100%;
    margin: 0;
    padding: 20px 24px 0;
    color: #111827;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    word-wrap: break-word;
}

.swal2-modal .swal2-title {
    padding: 24px 24px 0 24px;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.4;
}

.swal2-html-container {
    z-index: 1;
    margin: 16px 24px 0;
    padding: 0;
    overflow: auto;
    color: #6b7280;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    text-align: center;
    word-wrap: break-word;
    word-break: break-word;
}

.swal2-modal .swal2-html-container {
    margin: 12px 24px 0;
    text-align: center;
}

/* ============================================
   ACTIONS - MINIMAL BUTTON DESIGN
   ============================================ */

.swal2-actions {
    display: flex;
    z-index: 1;
    box-sizing: border-box;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: stretch;
    width: 100%;
    gap: 8px;
    margin: 24px 0 0;
    padding: 0 24px 24px;
}

.swal2-modal .swal2-actions {
    margin: 24px 0 0;
    padding: 0 24px 24px;
}

.swal2-actions:not(.swal2-loading) .swal2-styled[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
}

.swal2-actions:not(.swal2-loading) .swal2-styled:hover {
    background-image: none;
}

.swal2-actions:not(.swal2-loading) .swal2-styled:active {
    background-image: none;
}

.swal2-styled {
    flex: 1;
    margin: 0;
    padding: 12px 20px;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.01em;
    cursor: pointer;
    transition: all 0.15s ease;
    box-shadow: none;
}

    .swal2-styled:not([disabled]) {
        cursor: pointer;
    }

    .swal2-styled:focus {
        outline: none;
        box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
    }

    .swal2-styled::-moz-focus-inner {
        border: 0;
    }

    /* Confirm Button */
    .swal2-styled.swal2-confirm {
        background: var(--bs-main, #3b82f6);
        color: #ffffff;
        order: 2;
    }

        .swal2-styled.swal2-confirm:hover:not([disabled]) {
            background: #2563eb;
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
        }

        .swal2-styled.swal2-confirm:active:not([disabled]) {
            transform: translateY(0);
            box-shadow: 0 2px 6px rgba(59, 130, 246, 0.2);
        }

    /* Cancel Button */
    .swal2-styled.swal2-cancel {
        background: #f3f4f6;
        color: #374151;
        order: 1;
    }

        .swal2-styled.swal2-cancel:hover:not([disabled]) {
            background: #e5e7eb;
        }

        .swal2-styled.swal2-cancel:active:not([disabled]) {
            background: #d1d5db;
        }

    /* Deny Button */
    .swal2-styled.swal2-deny {
        background: #ef4444;
        color: #ffffff;
    }

        .swal2-styled.swal2-deny:hover:not([disabled]) {
            background: #dc2626;
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25);
        }

        .swal2-styled.swal2-deny:active:not([disabled]) {
            transform: translateY(0);
        }

/* ============================================
   INPUT FIELDS - CLEAN FORM DESIGN
   ============================================ */

.swal2-input,
.swal2-file,
.swal2-textarea,
.swal2-select {
    margin: 16px 0 0;
    padding: 12px 16px;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #ffffff;
    color: #1f2937;
    font-size: 14px;
    font-weight: 400;
    transition: all 0.15s ease;
}

    .swal2-input:focus,
    .swal2-file:focus,
    .swal2-textarea:focus,
    .swal2-select:focus {
        border-color: var(--bs-main, #3b82f6);
        outline: none;
        box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    }

    .swal2-input::placeholder,
    .swal2-file::placeholder,
    .swal2-textarea::placeholder {
        color: #9ca3af;
    }

    .swal2-input.swal2-inputerror,
    .swal2-file.swal2-inputerror,
    .swal2-textarea.swal2-inputerror {
        border-color: #ef4444 !important;
        box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
    }

.swal2-input {
    height: 44px;
}

.swal2-textarea {
    height: 120px;
    padding: 12px 16px;
    resize: vertical;
}

/* Validation Message */
.swal2-validation-message {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 12px 0 0;
    padding: 12px 16px;
    border-radius: 10px;
    background: #fef2f2;
    color: #991b1b;
    font-size: 13px;
    font-weight: 500;
}

    .swal2-validation-message::before {
        content: "!";
        display: flex;
        align-items: center;
        justify-content: center;
        width: 20px;
        height: 20px;
        flex-shrink: 0;
        border-radius: 50%;
        background-color: #ef4444;
        color: #ffffff;
        font-weight: 700;
        font-size: 12px;
    }

/* Radio & Checkbox */
.swal2-radio,
.swal2-checkbox {
    margin: 16px 0 0;
    padding: 0;
}

.swal2-container label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    margin-bottom: 0;
    border-radius: 10px;
    color: #1f2937;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

    .swal2-container label:hover {
        background-color: #f9fafb;
    }

.swal2-radio input,
.swal2-checkbox input {
    width: 20px;
    height: 20px;
    margin: 0;
    flex-shrink: 0;
    cursor: pointer;
    accent-color: var(--bs-main, #3b82f6);
}

/* ============================================
   TOAST NOTIFICATIONS - MINIMAL DESIGN
   ============================================ */

.swal2-popup.swal2-toast {
    box-sizing: border-box;
    display: grid !important;
    grid-column: 2/4 !important;
    grid-row: 1/4 !important;
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto auto;
    width: auto;
    max-width: 360px;
    padding: 16px;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    pointer-events: all;
    align-items: center;
}

    .swal2-popup.swal2-toast .swal2-icon {
        grid-column: 1;
        grid-row: 1/99;
        width: 32px;
        height: 32px;
        margin: 0 12px 0 0;
        border-width: 2px;
        align-self: center;
        flex-shrink: 0;
    }

        .swal2-popup.swal2-toast .swal2-icon .swal2-icon-content {
            font-size: 18px;
        }

        .swal2-popup.swal2-toast .swal2-icon.swal2-success [class^="swal2-success-line"][class$="tip"] {
            top: 14px;
            left: 8px;
            width: 8px;
        }

        .swal2-popup.swal2-toast .swal2-icon.swal2-success [class^="swal2-success-line"][class$="long"] {
            top: 10px;
            right: 6px;
            width: 16px;
        }

        .swal2-popup.swal2-toast .swal2-icon.swal2-success [class^="swal2-success-line"] {
            height: 2px;
        }

        .swal2-popup.swal2-toast .swal2-icon.swal2-error [class^="swal2-x-mark-line"] {
            width: 16px;
            height: 2px;
        }

        .swal2-popup.swal2-toast .swal2-icon.swal2-warning,
        .swal2-popup.swal2-toast .swal2-icon.swal2-info,
        .swal2-popup.swal2-toast .swal2-icon.swal2-question {
            font-size: 24px;
        }

    .swal2-popup.swal2-toast .swal2-title {
        grid-column: 2;
        grid-row: 1;
        margin: 0;
        padding: 0;
        color: #111827;
        font-size: 14px;
        font-weight: 600;
        text-align: left;
        align-self: center;
    }

    .swal2-popup.swal2-toast .swal2-html-container {
        grid-column: 2;
        grid-row: 2;
        margin: 4px 0 0;
        padding: 0;
        color: #6b7280;
        font-size: 13px;
        text-align: left;
    }

        .swal2-popup.swal2-toast .swal2-html-container:empty {
            display: none;
        }

    .swal2-popup.swal2-toast .swal2-close {
        grid-column: 3;
        grid-row: 1/99;
        position: static;
        width: 28px;
        height: 28px;
        margin: 0 0 0 8px;
        align-self: flex-start;
    }

    .swal2-popup.swal2-toast .swal2-actions {
        grid-column: 2;
        grid-row: 3;
        margin: 12px 0 0;
        padding: 0;
        justify-content: flex-start;
    }

    .swal2-popup.swal2-toast.swal2-show {
        animation: swal2-toast-show 0.3s ease;
    }

    .swal2-popup.swal2-toast.swal2-hide {
        animation: swal2-toast-hide 0.2s ease forwards;
    }

/* ============================================
   ANIMATIONS - SMOOTH & MINIMAL
   ============================================ */

.swal2-show {
    animation: swal2-show 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.swal2-hide {
    animation: swal2-hide 0.15s cubic-bezier(0.4, 0, 1, 1) forwards;
}

@keyframes swal2-show {
    0% {
        transform: scale(0.95);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes swal2-hide {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(0.95);
        opacity: 0;
    }
}

@keyframes swal2-toast-show {
    0% {
        transform: translateY(-8px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes swal2-toast-hide {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(-8px);
        opacity: 0;
    }
}

@keyframes swal2-animate-success-line-tip {
    0% {
        top: 36px;
        left: 16px;
        width: 0;
    }

    54% {
        top: 36px;
        left: 16px;
        width: 0;
    }

    70% {
        top: 42px;
        left: 10px;
        width: 18px;
    }

    84% {
        top: 39px;
        left: 13px;
        width: 14px;
    }

    100% {
        top: 36px;
        left: 16px;
        width: 16px;
    }
}

@keyframes swal2-animate-success-line-long {
    0% {
        top: 32px;
        right: 12px;
        width: 0;
    }

    65% {
        top: 32px;
        right: 12px;
        width: 0;
    }

    84% {
        top: 28px;
        right: 8px;
        width: 35px;
    }

    100% {
        top: 32px;
        right: 12px;
        width: 32px;
    }
}

@keyframes swal2-animate-error-icon {
    0% {
        transform: rotateX(100deg);
        opacity: 0;
    }

    100% {
        transform: rotateX(0deg);
        opacity: 1;
    }
}

@keyframes swal2-animate-error-x-mark {
    0% {
        transform: scale(0.4);
        opacity: 0;
    }

    50% {
        transform: scale(0.4);
        opacity: 0;
    }

    80% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@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-animate-question-mark {
    0% {
        transform: rotateY(-360deg);
    }

    100% {
        transform: rotateY(0);
    }
}

/* ============================================
   LOADING SPINNER
   ============================================ */

.swal2-loader {
    display: none;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin: 0;
    border: 3px solid #e5e7eb;
    border-top-color: var(--bs-main, #3b82f6);
    border-radius: 50%;
    animation: swal2-rotate-loading 0.8s linear infinite;
}

@keyframes swal2-rotate-loading {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* ============================================
   PROGRESS BAR
   ============================================ */

.swal2-timer-progress-bar-container {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 3px;
    overflow: hidden;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
}

.swal2-timer-progress-bar {
    width: 100%;
    height: 100%;
    background: var(--bs-main, #3b82f6);
}

/* ============================================
   UTILITY & STATES
   ============================================ */

.swal2-noanimation {
    transition: none !important;
}

[class^="swal2"] {
    -webkit-tap-highlight-color: transparent;
}

body.swal2-shown:not(.swal2-no-backdrop):not(.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 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    }

/* Toast Container Positioning */
body.swal2-toast-shown .swal2-container {
    box-sizing: border-box;
    width: auto;
    max-width: 100%;
    background-color: transparent;
    pointer-events: none;
    backdrop-filter: unset;
}

    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;
    }

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 640px) {
    .swal2-popup {
        max-width: calc(100vw - 32px);
        margin: 0 16px;
    }

    .swal2-title {
        font-size: 18px;
        padding: 20px 48px 0 20px;
    }

    .swal2-modal .swal2-title {
        padding: 20px 48px 0 20px;
    }

    .swal2-html-container {
        margin: 12px 20px 0;
        font-size: 13px;
    }

    .swal2-actions {
        flex-direction: column;
        padding: 0 20px 20px;
    }

    .swal2-styled {
        width: 100%;
    }

        .swal2-styled.swal2-cancel {
            order: 2;
        }

        .swal2-styled.swal2-confirm {
            order: 1;
        }

    .swal2-popup.swal2-toast {
        max-width: calc(100vw - 32px);
    }
}

@media (max-width: 480px) {
    .swal2-icon {
        width: 56px;
        height: 56px;
        margin: 24px auto 12px;
    }

        .swal2-icon .swal2-icon-content {
            font-size: 28px;
        }

        .swal2-icon.swal2-success [class^="swal2-success-line"][class$="tip"] {
            top: 31px;
            left: 14px;
            width: 14px;
        }

        .swal2-icon.swal2-success [class^="swal2-success-line"][class$="long"] {
            top: 28px;
            right: 10px;
            width: 28px;
        }

        .swal2-icon.swal2-error [class^="swal2-x-mark-line"] {
            width: 28px;
        }

    .swal2-title {
        font-size: 16px;
    }

    .swal2-styled {
        padding: 10px 16px;
        font-size: 13px;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
    body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown) {
        overflow-y: scroll !important;
    }

        body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown) > [aria-hidden="true"] {
            display: none;
        }

        body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown) .swal2-container {
            position: static !important;
        }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    .swal2-show,
    .swal2-hide,
    .swal2-popup.swal2-toast.swal2-show,
    .swal2-popup.swal2-toast.swal2-hide,
    .swal2-icon.swal2-icon-show,
    [class*="swal2-animate"] {
        animation: none !important;
        transition: none !important;
    }
}
