/* Optional additional custom styles for birthday app */
/* This file can be used for any additional custom styling beyond Tailwind */

/* Smooth animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom scrollbar for webkit browsers */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #a855f7;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #9333ea;
}

/* Input autofill styling */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0px 1000px white inset;
    -webkit-text-fill-color: #1f2937;
    transition: background-color 5000s ease-in-out 0s;
}

/* Focus visible for accessibility */
*:focus-visible {
    outline: 2px solid #a855f7;
    outline-offset: 2px;
}

/* Custom gradient text */
.gradient-text {
    background: linear-gradient(135deg, #a855f7 0%, #9333ea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glassmorphism effect enhancement */
.glass-effect {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(168, 85, 247, 0.1);
}

/* Hover glow effect */
.glow-on-hover {
    transition: all 0.3s ease;
}

.glow-on-hover:hover {
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.4),
                0 0 40px rgba(168, 85, 247, 0.2);
}

/* Loading spinner animation */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.spinner {
    animation: spin 1s linear infinite;
}

/* Pulse animation for messages */
@keyframes pulse-subtle {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.9;
    }
}

.animate-pulse-subtle {
    animation: pulse-subtle 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Floating animation for icons */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

/* Custom checkbox/radio styles if needed */
input[type="checkbox"]:checked,
input[type="radio"]:checked {
    background-color: #a855f7;
    border-color: #a855f7;
}

/* Responsive improvements */
@media (max-width: 640px) {
    body {
        padding: 1rem;
    }
}

/* Dark mode support (if you want to add it later) */
@media (prefers-color-scheme: dark) {
    /* Dark mode styles can be added here */
}

/* Print styles */
@media print {
    body {
        background: white;
    }
    
    .no-print {
        display: none;
    }
}
