/* Custom Animations and Essential Styles */

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Custom gradient animation */
@keyframes gradient-shift {
    0%, 100% { 
        background-position: 0% 50%; 
    }
    50% { 
        background-position: 100% 50%; 
    }
}

.animate-gradient {
    background-size: 200% 200%;
    animation: gradient-shift 8s ease infinite;
}

/* Fade in animation */
@keyframes fade-in {
    0% { 
        opacity: 0; 
    }
    100% { 
        opacity: 1; 
    }
}

.animate-fade-in {
    animation: fade-in 0.6s ease-out;
}

/* Slide up animation */
@keyframes slide-up {
    0% { 
        transform: translateY(20px); 
        opacity: 0; 
    }
    100% { 
        transform: translateY(0); 
        opacity: 1; 
    }
}

.animate-slide-up {
    animation: slide-up 0.6s ease-out;
}

/* Cookie Consent Styles */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 20px;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-consent-text {
    flex: 1;
    min-width: 300px;
}

.cookie-consent-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-consent button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cookie-consent .accept {
    background: #4CAF50;
    color: white;
}

.cookie-consent .accept:hover {
    background: #45a049;
}

.cookie-consent .decline {
    background: transparent;
    color: white;
    border: 1px solid white;
}

.cookie-consent .decline:hover {
    background: white;
    color: black;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .cookie-consent-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-consent-buttons {
        justify-content: center;
    }
}

/* Loading spinner for forms */
.spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 0 auto 10px;
}

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

/* PDF Instructions popup */
.pdf-instructions {
    display: none;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    margin-top: 10px;
}

.pdf-instructions h4 {
    color: #495057;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.pdf-instructions ol {
    color: #6c757d;
    line-height: 1.6;
}

.pdf-instructions .highlight {
    background: #fff3cd;
    padding: 2px 4px;
    border-radius: 3px;
    font-weight: 600;
}

/* Success/Error messages */
.success-message, .error-message {
    display: none;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    text-align: center;
}

.success-message {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.error-message {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}