:root {
    --pc-swal-bg: #1e293b;
    --pc-swal-border: #334155;
    --pc-swal-border-glow: rgba(139, 92, 246, 0.5);
    --pc-swal-text: #f1f5f9;
    --pc-swal-text-muted: #cbd5e1;
    --pc-neon-purple: #8b5cf6;
    --pc-neon-purple-glow: 0 0 10px rgba(139, 92, 246, 0.5), 0 0 20px rgba(139, 92, 246, 0.3);
    --pc-neon-green: #10b981;
    --pc-neon-green-glow: 0 0 10px rgba(16, 185, 129, 0.5), 0 0 20px rgba(16, 185, 129, 0.3);
    --pc-neon-red: #ef4444;
    --pc-neon-red-glow: 0 0 10px rgba(239, 68, 68, 0.5), 0 0 20px rgba(239, 68, 68, 0.3);
    --pc-neon-yellow: #f59e0b;
    --pc-neon-yellow-glow: 0 0 10px rgba(245, 158, 11, 0.5), 0 0 20px rgba(245, 158, 11, 0.3);
    --pc-neon-blue: #0ea5e9;
    --pc-neon-blue-glow: 0 0 10px rgba(14, 165, 233, 0.5), 0 0 20px rgba(14, 165, 233, 0.3);
}

.swal2-popup.pc-swal {
    background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%) !important;
    border: 1px solid var(--pc-swal-border) !important;
    border-radius: 20px !important;
    color: var(--pc-swal-text) !important;
    font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
    padding: 2rem 1.8rem !important;
    box-shadow: 0 25px 40px -12px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(139, 92, 246, 0.1) !important;
    backdrop-filter: blur(10px) !important;
    transition: all 0.3s ease;
}

.swal2-popup.pc-swal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--pc-neon-purple) 25%, 
        var(--pc-neon-blue) 50%,
        var(--pc-neon-purple) 75%,
        transparent 100%);
    border-radius: 20px 20px 0 0;
}

.swal2-popup.pc-swal .swal2-title {
    color: var(--pc-swal-text) !important;
    font-size: 1.6rem !important;
    font-weight: 700 !important;
    margin-bottom: 1rem !important;
    letter-spacing: -0.02em !important;
    background: linear-gradient(135deg, #ffffff, #a78bfa);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
}

.swal2-popup.pc-swal .swal2-html-container {
    color: var(--pc-swal-text-muted) !important;
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
}

.swal2-popup.pc-swal .swal2-icon {
    margin: 1rem auto !important;
}

.swal2-popup.pc-swal .swal2-icon.swal2-success {
    border-color: var(--pc-neon-green) !important;
    color: var(--pc-neon-green) !important;
    animation: pc-swal-success-pulse 0.5s ease !important;
}

.swal2-popup.pc-swal .swal2-icon.swal2-success [class^='swal2-success-line'] {
    background-color: var(--pc-neon-green) !important;
}

.swal2-popup.pc-swal .swal2-icon.swal2-success .swal2-success-ring {
    border-color: rgba(16, 185, 129, 0.3) !important;
}

.swal2-popup.pc-swal .swal2-icon.swal2-error {
    border-color: var(--pc-neon-red) !important;
    color: var(--pc-neon-red) !important;
    animation: pc-swal-error-shake 0.5s ease !important;
}

.swal2-popup.pc-swal .swal2-icon.swal2-error [class^='swal2-x-mark-line'] {
    background-color: var(--pc-neon-red) !important;
}

.swal2-popup.pc-swal .swal2-icon.swal2-warning {
    border-color: var(--pc-neon-yellow) !important;
    color: var(--pc-neon-yellow) !important;
    animation: pc-swal-warning-pulse 0.5s ease !important;
}

.swal2-popup.pc-swal .swal2-icon.swal2-info {
    border-color: var(--pc-neon-blue) !important;
    color: var(--pc-neon-blue) !important;
    animation: pc-swal-info-pulse 0.5s ease !important;
}

.swal2-popup.pc-swal .swal2-icon.swal2-question {
    border-color: var(--pc-neon-purple) !important;
    color: var(--pc-neon-purple) !important;
}

.swal2-popup.pc-swal .swal2-actions {
    margin-top: 1.5rem !important;
    gap: 0.75rem !important;
}

.swal2-popup.pc-swal .swal2-confirm {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed) !important;
    border-radius: 40px !important;
    padding: 0.7rem 1.8rem !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3) !important;
    letter-spacing: 0.3px !important;
    border: none !important;
}

.swal2-popup.pc-swal .swal2-confirm:hover {
    background: linear-gradient(135deg, #7c3aed, #6d28d9) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.5), 0 0 10px rgba(139, 92, 246, 0.3) !important;
}

.swal2-popup.pc-swal .swal2-cancel {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: var(--pc-swal-text-muted) !important;
    border-radius: 40px !important;
    padding: 0.7rem 1.8rem !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    backdrop-filter: blur(5px) !important;
}

.swal2-popup.pc-swal .swal2-cancel:hover {
    background: rgba(239, 68, 68, 0.15) !important;
    border-color: rgba(239, 68, 68, 0.4) !important;
    color: #f87171 !important;
    transform: translateY(-2px) !important;
}

.swal2-popup.pc-swal .swal2-input,
.swal2-popup.pc-swal .swal2-textarea,
.swal2-popup.pc-swal .swal2-select {
    background: #0f172a !important;
    border: 1px solid #334155 !important;
    color: var(--pc-swal-text) !important;
    border-radius: 12px !important;
    padding: 0.75rem 1rem !important;
    font-size: 0.9rem !important;
    transition: all 0.3s ease !important;
}

.swal2-popup.pc-swal .swal2-input:focus,
.swal2-popup.pc-swal .swal2-textarea:focus,
.swal2-popup.pc-swal .swal2-select:focus {
    border-color: #8b5cf6 !important;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2), 0 0 0 1px #8b5cf6 !important;
    outline: none;
}

.swal2-popup.pc-swal .swal2-validation-message {
    background: rgba(239, 68, 68, 0.1) !important;
    color: #f87171 !important;
    border-radius: 10px !important;
    font-size: 0.85rem !important;
    border: 1px solid rgba(239, 68, 68, 0.2) !important;
}

.swal2-container.pc-swal-container {
    backdrop-filter: blur(8px) !important;
    background: rgba(0, 0, 0, 0.5) !important;
}

@keyframes pc-swal-success-pulse {
    0% {
        transform: scale(0.8);
        opacity: 0;
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 0 0 15px rgba(16, 185, 129, 0);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes pc-swal-error-shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
    100% { transform: translateX(0); }
}

@keyframes pc-swal-warning-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        text-shadow: 0 0 10px #f59e0b;
    }
}

@keyframes pc-swal-info-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(14, 165, 233, 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(14, 165, 233, 0);
    }
}

@keyframes pc-swal-show {
    from {
        opacity: 0;
        transform: scale(0.92) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.swal2-popup.pc-swal.swal2-show {
    animation: pc-swal-show 0.35s cubic-bezier(0.34, 1.2, 0.64, 1) !important;
}

.pc-alert {
    padding: 1rem 1.25rem;
    border-radius: 14px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    animation: pc-alert-slide 0.3s ease;
    backdrop-filter: blur(10px);
}

.pc-alert::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
}

.pc-alert-success {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: #34d399;
}

.pc-alert-success::before {
    background: linear-gradient(90deg, #10b981, #34d399);
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
}

.pc-alert-danger {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #f87171;
}

.pc-alert-danger::before {
    background: linear-gradient(90deg, #ef4444, #f87171);
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.5);
}

.pc-alert-warning {
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.25);
    color: #fbbf24;
}

.pc-alert-warning::before {
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.5);
}

.pc-alert-info {
    background: rgba(14, 165, 233, 0.08);
    border: 1px solid rgba(14, 165, 233, 0.25);
    color: #38bdf8;
}

.pc-alert-info::before {
    background: linear-gradient(90deg, #0ea5e9, #38bdf8);
    box-shadow: 0 0 8px rgba(14, 165, 233, 0.5);
}

.pc-alert i {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.pc-alert .btn-close {
    margin-left: auto;
    background: transparent;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.2s ease;
    color: currentColor;
}

.pc-alert .btn-close:hover {
    opacity: 1;
    transform: scale(1.1);
}

@keyframes pc-alert-slide {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.swal2-toast.pc-swal-toast {
    background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%) !important;
    border: 1px solid rgba(139, 92, 246, 0.3) !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(139, 92, 246, 0.2) !important;
    backdrop-filter: blur(10px) !important;
}

.swal2-toast.pc-swal-toast .swal2-title {
    color: var(--pc-swal-text) !important;
    font-size: 0.9rem !important;
}

@media (max-width: 576px) {
    .swal2-popup.pc-swal {
        padding: 1.5rem 1.2rem !important;
        width: 90% !important;
    }
    
    .swal2-popup.pc-swal .swal2-title {
        font-size: 1.3rem !important;
    }
    
    .swal2-popup.pc-swal .swal2-confirm,
    .swal2-popup.pc-swal .swal2-cancel {
        padding: 0.6rem 1.2rem !important;
        font-size: 0.85rem !important;
    }
}