/* Custom styles for Prompt Solution Builder */

.glass-effect {
    backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.1);
}

.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.btn-neon {
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
    border: 1px solid rgba(0, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.btn-neon:hover {
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
    border-color: rgba(0, 255, 255, 0.6);
    transform: translateY(-2px);
}

.glow {
    text-shadow: 0 0 20px currentColor;
}

.celebration-text {
    text-shadow: 0 0 30px #ffd700;
    color: #ffd700;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 255, 255, 0.5);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 255, 255, 0.7);
}

/* Animations */
@keyframes pulse-neon {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(0, 255, 255, 0.6);
    }
}

.animate-pulse-neon {
    animation: pulse-neon 2s infinite;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .glass-card {
        margin: 0 10px;
    }
    
    .text-3xl {
        font-size: 1.5rem;
    }
    
    .text-xl {
        font-size: 1.125rem;
    }
}

/* Loading states */
.loading-spinner {
    border: 2px solid rgba(0, 255, 255, 0.1);
    border-top: 2px solid #00ffff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    display: inline-block;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Focus states */
input:focus, textarea:focus, select:focus {
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

/* Hover effects for cards */
.glass-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 255, 255, 0.3);
    transition: all 0.3s ease;
}

/* Success states */
.success-flash {
    animation: flash-green 0.5s ease-in-out;
}

@keyframes flash-green {
    0%, 100% { background-color: transparent; }
    50% { background-color: rgba(34, 197, 94, 0.2); }
}