/* Custom styles goes here */

/* ========================================
   SweetAlert2 Custom Confirmation Styles
   ======================================== */

/* Custom popup container */
.swal2-popup.swal2-popup-custom {
    border-radius: 24px !important;
    padding: 32px 28px !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
    max-width: 420px !important;
}

/* Icon container - rounded square background */
.swal2-popup .swal2-icon {
    width: 64px !important;
    height: 64px !important;
    margin: 0 auto 20px !important;
    border-radius: 16px !important;
    border: none !important;
}

.swal2-popup .swal2-icon.swal2-warning {
    background-color: #fef3c7 !important;
    border: none !important;
}

.swal2-popup .swal2-icon.swal2-error {
    background-color: #fee2e2 !important;
    border: none !important;
}

.swal2-popup .swal2-icon.swal2-info {
    background-color: #dbeafe !important;
    border: none !important;
}

.swal2-popup .swal2-icon.swal2-question {
    background-color: #ede9fe !important;
    border: none !important;
}

.swal2-popup .swal2-icon.swal2-success {
    background-color: #d1fae5 !important;
    border: none !important;
}

/* Stacked buttons container */
.swal2-popup .swal2-actions.swal2-actions-custom {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
    padding: 0 8px !important;
    margin-top: 28px !important;
}

/* Confirm button - full width with gradient */
.swal2-popup .swal2-confirm.swal2-confirm-custom {
    width: 100% !important;
    padding: 16px 24px !important;
    border-radius: 14px !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    font-family: inherit !important;
    border: none !important;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4) !important;
    cursor: pointer !important;
    margin: 0 !important;
    transition: all 0.2s ease !important;
    order: 1 !important;
}

.swal2-popup .swal2-confirm.swal2-confirm-custom:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5) !important;
}

/* Cancel button - full width light style */
.swal2-popup .swal2-cancel.swal2-cancel-custom {
    width: 100% !important;
    padding: 16px 24px !important;
    border-radius: 14px !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    font-family: inherit !important;
    background-color: #f8fafc !important;
    color: #475569 !important;
    border: 2px solid #e2e8f0 !important;
    box-shadow: none !important;
    cursor: pointer !important;
    margin: 0 !important;
    transition: all 0.2s ease !important;
    order: 2 !important;
}

.swal2-popup .swal2-cancel.swal2-cancel-custom:hover {
    background-color: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
}

/* Dark mode support */
[data-theme-version="dark"] .swal2-popup {
    background-color: #1e293b !important;
}

[data-theme-version="dark"] .swal2-popup .swal2-title {
    color: #f1f5f9 !important;
}

[data-theme-version="dark"] .swal2-popup .swal2-html-container {
    color: #94a3b8 !important;
}

[data-theme-version="dark"] .swal2-popup .swal2-cancel.swal2-cancel-custom {
    background-color: #334155 !important;
    color: #e2e8f0 !important;
    border-color: #475569 !important;
}

[data-theme-version="dark"] .swal2-popup .swal2-cancel.swal2-cancel-custom:hover {
    background-color: #475569 !important;
    border-color: #64748b !important;
}
