/* SweetAlert2 Custom Styling to Match Dashboard Theme */

/* Confirm Button (Primary) - Matches Dashboard Blue Theme */
.swal2-confirm {
    background: rgba(94, 179, 228, 0.15) !important;
    color: #5eb3e4 !important;
    border: 1px solid rgba(94, 179, 228, 0.3) !important;
    border-radius: 8px !important;
    padding: 12px 24px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 0 10px rgba(94, 179, 228, 0.2) !important;
}

.swal2-confirm:hover {
    background: rgba(94, 179, 228, 0.25) !important;
    border-color: rgba(94, 179, 228, 0.5) !important;
    box-shadow: 0 0 15px rgba(94, 179, 228, 0.3) !important;
    transform: translateY(-2px) !important;
}

.swal2-confirm:focus {
    box-shadow: 0 0 0 3px rgba(94, 179, 228, 0.3) !important;
}

/* Cancel Button */
.swal2-cancel {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 8px !important;
    padding: 12px 24px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    transition: all 0.3s ease !important;
    color: #e2e8f0 !important;
}

.swal2-cancel:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    transform: translateY(-2px) !important;
}

/* Modal Background */
.swal2-popup {
    background: #1e293b !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5) !important;
}

/* Title */
.swal2-title {
    color: #f1f5f9 !important;
    font-weight: 700 !important;
}

/* Content Text */
.swal2-html-container {
    color: #cbd5e1 !important;
}

/* Close Button */
.swal2-close {
    color: #94a3b8 !important;
}

.swal2-close:hover {
    color: #f1f5f9 !important;
}

/* Progress Bar (for timer) */
.swal2-timer-progress-bar {
    background: rgba(94, 179, 228, 0.8) !important;
}

/* Icons */
.swal2-icon.swal2-success [class^='swal2-success-line'] {
    background-color: #10b981 !important;
}

.swal2-icon.swal2-success .swal2-success-ring {
    border-color: rgba(16, 185, 129, 0.3) !important;
}

.swal2-icon.swal2-error {
    border-color: #ef4444 !important;
    color: #ef4444 !important;
}

.swal2-icon.swal2-warning {
    border-color: #f59e0b !important;
    color: #f59e0b !important;
}

.swal2-icon.swal2-info {
    border-color: #3b82f6 !important;
    color: #3b82f6 !important;
}

/* Internal Form Styling (Change Password, etc.) */
.swal-form {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    text-align: left !important;
    margin-top: 16px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.swal-form-group {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
    width: 100% !important;
    margin-bottom: 12px !important;
    box-sizing: border-box !important;
}

.swal-form label {
    display: block !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #a8b2c8 !important;
    margin: 0 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
}

.swal-input {
    display: block !important;
    width: 100% !important;
    padding: 10px 14px !important;
    background: #1a1f2e !important;
    border: 1px solid rgba(94, 179, 228, 0.3) !important;
    border-radius: 8px !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-family: 'Inter', sans-serif !important;
    transition: all 0.2s ease-in-out !important;
    box-sizing: border-box !important;
}

.swal-input:focus {
    outline: none !important;
    border-color: #5eb3e4 !important;
    box-shadow: 0 0 0 3px rgba(94, 179, 228, 0.1) !important;
    background: rgba(255, 255, 255, 0.03) !important;
}

.swal-input::placeholder {
    color: #6b7589 !important;
}