/* ============================================
   SWEET ALERT OVERRIDES
   ============================================ */

/* Overlay */
.sweet-overlay {
    background-color: rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: blur(4px);
}

/* Modal Box */
.sweet-alert {
    background-color: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 32px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    width: 400px;
    margin-left: -200px;
    /* Centering fix for old SweetAlert */
}

/* Icons */
.sweet-alert .sa-icon {
    margin-bottom: 24px;
}

.sweet-alert .sa-icon.sa-success {
    border-color: #10b981;
}

.sweet-alert .sa-icon.sa-success .sa-line {
    background-color: #10b981;
}

.sweet-alert .sa-icon.sa-success .sa-placeholder {
    border: 4px solid rgba(16, 185, 129, 0.2);
}

.sweet-alert .sa-icon.sa-error {
    border-color: #ef4444;
}

.sweet-alert .sa-icon.sa-error .sa-line {
    background-color: #ef4444;
}

.sweet-alert .sa-icon.sa-warning {
    border-color: #f59e0b;
}

.sweet-alert .sa-icon.sa-warning .sa-body {
    background-color: #f59e0b;
}

.sweet-alert .sa-icon.sa-warning .sa-dot {
    background-color: #f59e0b;
}

.sweet-alert .sa-icon.sa-info {
    border-color: #3b82f6;
}

.sweet-alert .sa-icon.sa-info::before {
    background-color: #3b82f6;
}

.sweet-alert .sa-icon.sa-info::after {
    background-color: #3b82f6;
}

/* Text */
.sweet-alert h2 {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 12px 0;
}

.sweet-alert p {
    font-size: 15px;
    color: #6b7280;
    font-weight: 400;
    line-height: 1.6;
}

/* Buttons */
.sweet-alert button {
    background-color: #667eea !important;
    /* Primary Purple */
    border-radius: 10px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    padding: 12px 32px !important;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3) !important;
    transition: all 0.2s ease !important;
    margin: 24px 5px 0 5px !important;
}

.sweet-alert button:hover {
    background-color: #5a67d8 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4) !important;
}

.sweet-alert button.cancel {
    background-color: white !important;
    color: #6b7280 !important;
    border: 2px solid #e5e7eb !important;
    box-shadow: none !important;
}

.sweet-alert button.cancel:hover {
    background-color: #f3f4f6 !important;
    border-color: #d1d5db !important;
    box-shadow: none !important;
}

/* Animations */
@keyframes popIn {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.sweet-alert.showSweetAlert {
    animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}