/* Modern SweetAlert2 Custom Styling */
.swal2-modern-popup {
    border-radius: 16px !important;
    padding: 2rem !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15) !important;
}

.swal2-modern-title {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: #2d3748 !important;
    margin-bottom: 0.75rem !important;
    font-family: 'Cairo', sans-serif !important;
}

.swal2-modern-text {
    font-size: 1rem !important;
    color: #4a5568 !important;
    line-height: 1.6 !important;
    margin-bottom: 1.5rem !important;
    font-family: 'Cairo', sans-serif !important;
}

.swal2-modern-icon {
    border-width: 3px !important;
    margin: 1.5rem auto !important;
}

.swal2-icon.swal2-question {
    border-color: #3085d6 !important;
    color: #3085d6 !important;
}

.swal2-modern-confirm,
.swal2-modern-cancel {
    font-size: 1rem !important;
    font-weight: 600 !important;
    padding: 0.75rem 2rem !important;
    border-radius: 10px !important;
    transition: all 0.15s ease !important;
    font-family: 'Cairo', sans-serif !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

.swal2-modern-confirm {
    background: linear-gradient(135deg, #3085d6 0%, #2563eb 100%) !important;
}

.swal2-modern-confirm:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 20px rgba(48, 133, 214, 0.4) !important;
}

.swal2-modern-cancel {
    background: #e2e8f0 !important;
    color: #4a5568 !important;
}

.swal2-modern-cancel:hover {
    background: #cbd5e0 !important;
    transform: translateY(-1px) !important;
}

.swal2-actions {
    gap: 1rem !important;
    margin-top: 1.5rem !important;
}

[dir="rtl"] .swal2-modern-popup {
    text-align: right !important;
}

.dark .swal2-modern-popup {
    background: #1a202c !important;
}

.dark .swal2-modern-title {
    color: #f7fafc !important;
}

.dark .swal2-modern-text {
    color: #e2e8f0 !important;
}

.dark .swal2-modern-cancel {
    background: #2d3748 !important;
    color: #e2e8f0 !important;
}

.dark .swal2-modern-cancel:hover {
    background: #4a5568 !important;
}

.animate__faster {
    animation-duration: 0.4s !important;
}

.swal2-icon {
    animation: swal2-icon-show 0.5s ease-out !important;
}

@keyframes swal2-icon-show {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}
