/**
 * SweetAlert2 Custom Pageant Theme Styles
 * Lao Typography & Luxury Crimson / Gold / Emerald Palette
 */

.swal2-popup {
    font-family: 'Noto Serif Lao', serif !important;
    border-radius: 1.25rem !important; /* rounded-2xl */
    padding: 1.75rem 1.5rem !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4) !important;
}

/* Light Theme (Admin) */
.swal-pageant-light {
    background: #ffffff !important;
    border: 1px solid #E2E8F0 !important;
    color: #0F172A !important;
}

/* Dark Theme (Frontend) */
.swal-pageant-dark {
    background: #7A0817 !important;
    border: 1px solid rgba(245, 158, 11, 0.4) !important;
    color: #ffffff !important;
}

.swal2-title {
    font-family: 'Noto Serif Lao', serif !important;
    font-weight: 800 !important;
    font-size: 1.25rem !important;
    line-height: 1.4 !important;
    padding: 0 !important;
    margin-bottom: 0.5rem !important;
}

.swal2-html-container {
    font-family: 'Noto Serif Lao', serif !important;
    font-size: 0.925rem !important;
    line-height: 1.6 !important;
    margin: 0.5rem 0 1.25rem 0 !important;
    color: inherit !important;
    opacity: 0.9;
}

/* Actions Buttons Container */
.swal-actions-gap {
    gap: 0.75rem !important;
    margin-top: 1rem !important;
    display: flex !important;
    justify-content: center !important;
}

/* Base button styles */
.swal-btn-primary,
.swal-btn-success,
.swal-btn-danger,
.swal-btn-cancel {
    font-family: 'Noto Serif Lao', serif !important;
    font-weight: 700 !important;
    font-size: 0.875rem !important;
    padding: 0.65rem 1.4rem !important;
    border-radius: 0.75rem !important;
    cursor: pointer !important;
    transition: all 0.2s ease-in-out !important;
    outline: none !important;
    border: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Primary Button (Crimson) */
.swal-btn-primary {
    background: linear-gradient(135deg, #DC2626, #B91C1C) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3) !important;
}
.swal-btn-primary:hover {
    filter: brightness(1.1) !important;
    transform: translateY(-1px) !important;
}

/* Success Button (Emerald) */
.swal-btn-success {
    background: linear-gradient(135deg, #059669, #047857) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3) !important;
}
.swal-btn-success:hover {
    filter: brightness(1.1) !important;
    transform: translateY(-1px) !important;
}

/* Danger Button (Rose Red) */
.swal-btn-danger {
    background: linear-gradient(135deg, #E11D48, #BE123C) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.3) !important;
}
.swal-btn-danger:hover {
    filter: brightness(1.1) !important;
    transform: translateY(-1px) !important;
}

/* Cancel Button */
.swal-btn-cancel {
    background: #F1F5F9 !important;
    color: #334155 !important;
    border: 1px solid #CBD5E1 !important;
}
.swal-btn-cancel:hover {
    background: #E2E8F0 !important;
    color: #0F172A !important;
}

/* Dark mode cancel button */
.swal-pageant-dark .swal-btn-cancel {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #E2E8F0 !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}
.swal-pageant-dark .swal-btn-cancel:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
}

/* Icons sizing */
.swal2-icon {
    margin: 0.5rem auto 1rem auto !important;
}
