/* ====================================================================
 *                 GIGCCL CUSTOM DIALOG OVERRIDES
 *                 Styles for SweetAlert2 Modals
 * ==================================================================== */

/* SweetAlert2 Popup Container */
.custom-swal-popup {
    font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
    border-radius: 1.25rem !important; /* 20px */
    padding: 2rem !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08), 0 5px 15px rgba(0, 0, 0, 0.04) !important;
    border: 1px solid rgba(107, 79, 72, 0.1) !important;
    background-color: #ffffff !important;
}

/* SweetAlert2 Title */
.custom-swal-title {
    font-size: 1.35rem !important;
    font-weight: 700 !important;
    color: #4a3530 !important;
    margin-top: 0.5rem !important;
    padding-bottom: 0 !important;
}

/* SweetAlert2 Content Text */
.custom-swal-html {
    font-size: 0.95rem !important;
    color: #5c4a45 !important;
    line-height: 1.6 !important;
    font-weight: 400 !important;
}

/* SweetAlert2 Buttons Wrapper */
.custom-swal-actions {
    margin-top: 1.75rem !important;
    gap: 0.75rem !important;
}

/* SweetAlert2 Buttons Base */
.custom-swal-confirm,
.custom-swal-cancel {
    padding: 0.6rem 1.75rem !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    border-radius: 50rem !important; /* Pill style */
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    outline: none !important;
    box-shadow: none !important;
}

/* SweetAlert2 Confirm Button (Primary Brown) */
.custom-swal-confirm {
    background-color: #6B4F48 !important;
    color: #ffffff !important;
    border: 2px solid #6B4F48 !important;
}
.custom-swal-confirm:hover,
.custom-swal-confirm:focus {
    background-color: #5a423c !important;
    border-color: #5a423c !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(107, 79, 72, 0.2) !important;
}
.custom-swal-confirm:active {
    transform: translateY(0);
}

/* SweetAlert2 Cancel Button (Outline Style) */
.custom-swal-cancel {
    background-color: transparent !important;
    color: #6B4F48 !important;
    border: 2px solid #6B4F48 !important;
}
.custom-swal-cancel:hover,
.custom-swal-cancel:focus {
    background-color: rgba(107, 79, 72, 0.05) !important;
    color: #5a423c !important;
    border-color: #5a423c !important;
    transform: translateY(-1px);
}
.custom-swal-cancel:active {
    transform: translateY(0);
}

/* Alert Icon Overrides to harmonize with Brown theme */
.swal2-icon.swal2-warning {
    border-color: #e5b38a !important;
    color: #d27727 !important;
}
.swal2-icon.swal2-info {
    border-color: #A98C82 !important;
    color: #6B4F48 !important;
}
.swal2-icon.swal2-success {
    border-color: #a5dc86 !important;
    color: #5cb85c !important;
}
.swal2-icon.swal2-error {
    border-color: #f27474 !important;
    color: #d9534f !important;
}

/* Animate icon pulse subtly */
.swal2-icon {
    margin: 1rem auto 0.5rem auto !important;
    transform: scale(0.9) !important;
}
