html[data-bs-theme="dark"] .swal2-popup {
    color-scheme: dark;
    background-color: #1e293b;
    color: #e2e8f0;
}

html[data-bs-theme="dark"] .swal2-title,
html[data-bs-theme="dark"] .swal2-html-container {
    color: #f8fafc;
}

html[data-bs-theme="dark"] .swal2-input,
html[data-bs-theme="dark"] .swal2-file,
html[data-bs-theme="dark"] .swal2-textarea,
html[data-bs-theme="dark"] .swal2-select {
    background-color: #0f172a;
    border-color: #475569;
    color: #f8fafc;
}

html[data-bs-theme="dark"] .swal2-input:focus,
html[data-bs-theme="dark"] .swal2-file:focus,
html[data-bs-theme="dark"] .swal2-textarea:focus,
html[data-bs-theme="dark"] .swal2-select:focus {
    border-color: #009e9d;
    box-shadow: 0 0 0 3px rgba(0, 158, 157, 0.2);
}

html[data-bs-theme="dark"] .swal2-input::placeholder,
html[data-bs-theme="dark"] .swal2-textarea::placeholder {
    color: #94a3b8;
}

html[data-bs-theme="dark"] .swal2-radio,
html[data-bs-theme="dark"] .swal2-checkbox {
    background-color: transparent;
    color: #e2e8f0;
}

html[data-bs-theme="dark"] .swal2-validation-message {
    background-color: #0f172a;
    color: #f8fafc;
}

html[data-bs-theme="dark"] .swal2-footer {
    border-top-color: #334155;
    color: #94a3b8;
}

html[data-bs-theme="dark"] .swal2-close {
    color: #94a3b8;
}

html[data-bs-theme="dark"] .swal2-close:hover {
    color: #f8fafc;
}

html[data-bs-theme="dark"] .swal2-timer-progress-bar {
    background-color: rgba(248, 250, 252, 0.35);
}
