.swal2-icon-error {
    background-color: #dc143c !important;
    box-shadow: none !important;
    opacity: 90% !important;
}

.swal2-icon-success {
    background-color: #2d8659 !important;
    box-shadow: none !important;
    opacity: 90% !important;
}

.swal2-title {
    color: white !important;
}

.swal2-html-container {
    color: white !important;
}

.swal2-modal {
    background-color: #0f0f0f !important;
}

.swal2-confirm {
    background-color: #dc143c !important;
}

.swal2-cancel {
    background-color: #050505 !important;
}

.swal2-input-label {
    display: block !important;
    margin: 1.5rem 2rem .5rem !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-align: left !important;
    color: white !important;
}

.swal2-input {
    margin: 1.5rem 2rem 3px !important;
    height: auto !important;
    padding: .375rem .75rem !important;
    font-size: 14px !important;
    line-height: 26px !important;
    color: #f0f0f0 !important;
    background-color: #0A0A0A !important;
    border: 1px solid #050505 !important;
    border-radius: 6px !important;
    box-shadow: none !important;
}

.swal2-input-label + .swal2-input {
    margin-top: 0 !important;
}

.swal2-input::placeholder {
    color: #f0f0f0 !important;
    opacity: 1 !important;
}

.swal2-input:focus {
    color: #f0f0f0 !important;
    background-color: #0A0A0A !important;
    border-color: #050505 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

.swal2-validation-message {
    color: #ef3e5c !important;
    background-color: rgba(228, 63, 82, .1) !important;
    border-radius: 0 !important;
}

.swal2-validation-message::before {
    display: none !important;
}

@media (pointer: fine) {
    @supports (appearance: base-select) {
        .swal2-select:not([multiple]):not([size]), .swal2-select:not([multiple]):not([size])::picker(select) {
            appearance: base-select;
        }

        :where(.swal2-select:not([multiple]):not([size])) {
            overflow: clip;
            overflow-clip-margin: content-box;
            min-block-size: auto;
            gap: normal;
            align-items: center;
            white-space: pre;
            border-color: light-dark(#767676, #858585);
            border-radius: 0;
            cursor: default;
            user-select: auto;
        }

        .swal2-select:not([multiple]):not([size]) {
            line-height: normal;
            text-indent: 4px;
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 7'%3e%3cpath fill='none' stroke='%23545454' stroke-width='2' d='M1 1l4 4 4-4'/%3e%3c/svg%3e");
            background-repeat: no-repeat;
            background-position: right 3px center;
            background-size: 10px 7px;
            anchor-name: --swal-select-field;
        }

        .swal2-select:not([multiple]):not([size])::picker-icon {
            content: '';
            width: 0;
            height: calc(1lh + 2px);
        }

        .swal2-select:not([multiple]):not([size]):open {
            outline: -webkit-focus-ring-color auto 1px;
        }

        .swal2-popup:has(.swal2-select:not([multiple]):not([size]):focus:not(:focus-visible))::after {
            content: '';
            position: absolute;
            position-anchor: --swal-select-field;
            inset: anchor(top) anchor(right) anchor(bottom) anchor(left);
            outline: -webkit-focus-ring-color auto 1px;
            outline-offset: -1px;
            pointer-events: none;
        }

        .swal2-select:not([multiple]):not([size])::picker(select) {
            max-block-size: none;
            padding: 0;
            color: inherit;
            background-color: Canvas;
            border: 1px solid light-dark(#767676, #858585);
            border-radius: 0;
            box-shadow: none;
            position-area: block-end span-inline-end;
            position-try-order: normal;
            position-try-fallbacks: --swal-select-down-shrink, --swal-select-up-shrink, flip-inline, --swal-select-down-shrink flip-inline, --swal-select-up-shrink flip-inline;
        }

        .swal2-select:not([multiple]):not([size]) option {
            min-block-size: 24px;
            padding: 4px 2px 4px calc(.625em + 4px);
            gap: 0;
            text-indent: 0;
            background-color: transparent;
            outline: 0;
        }

        .swal2-select:not([multiple]):not([size]) option::checkmark {
            display: none;
        }

        .swal2-select:not([multiple]):not([size]) option:enabled:hover, .swal2-select:not([multiple]):not([size]):not(:has(option:enabled:hover)) option:focus-visible, .swal2-select:not([multiple]):not([size]):not(:has(option:enabled:hover, option:focus-visible)) option:enabled:checked {
            color: white;
            background-color: #dc143c;
        }

        @position-try --swal-select-down-shrink {
            position-area: block-end span-inline-end;
            min-block-size: calc(50vh - anchor-size(block) / 2);
            max-block-size: stretch;
        }

        @position-try --swal-select-up-shrink {
            position-area: block-start span-inline-end;
            max-block-size: stretch;
        }
    }
}