/* Custom styles for rapidatlasora */
.font-inter {
    font-family: 'Inter', sans-serif;
}

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

/* Custom focus styles */
.focus\:ring-2:focus {
    outline: none;
}

/* Prose styles for legal pages */
.prose {
    color: #374151;
    line-height: 1.75;
}

.prose h1 {
    color: #111827;
    font-weight: 800;
    line-height: 1.1;
}

.prose h2 {
    color: #111827;
    font-weight: 700;
    line-height: 1.3;
}

.prose h3 {
    color: #111827;
    font-weight: 600;
    line-height: 1.4;
}

.prose p {
    margin-bottom: 1.25rem;
}

.prose ul {
    margin-bottom: 1.25rem;
}

.prose li {
    margin-bottom: 0.5rem;
}

.prose a {
    text-decoration: none;
}

.prose a:hover {
    text-decoration: underline;
}

.prose table {
    width: 100%;
    table-layout: auto;
    text-align: left;
    margin-top: 2rem;
    margin-bottom: 2rem;
    font-size: 0.875rem;
    line-height: 1.7142857;
}

.prose table th {
    font-weight: 600;
    vertical-align: bottom;
    padding-bottom: 0.5714286rem;
    padding-left: 0.5714286rem;
    padding-right: 0.5714286rem;
}

.prose table td {
    vertical-align: baseline;
    padding-top: 0.5714286rem;
    padding-bottom: 0.5714286rem;
    padding-left: 0.5714286rem;
    padding-right: 0.5714286rem;
}

/* Form validation styles */
.form-error {
    border-color: #ef4444;
}

.form-error:focus {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

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

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

/* Mobile menu animation */
.mobile-menu-enter {
    transition: all 0.3s ease-out;
    transform: translateY(-10px);
    opacity: 0;
}

.mobile-menu-enter-active {
    transform: translateY(0);
    opacity: 1;
}

/* Button hover effects */
.btn-hover-scale:hover {
    transform: scale(1.02);
    transition: transform 0.2s ease-in-out;
}

/* Cookie banner styles */
#cookie-banner {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid var(--color-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Responsive improvements */
@media (max-width: 640px) {
    .prose {
        font-size: 0.9rem;
    }
    
    .prose h1 {
        font-size: 1.875rem;
        line-height: 1.2;
    }
    
    .prose h2 {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    .prose table {
        font-size: 0.75rem;
    }
}

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    .prose {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    .prose h1 {
        font-size: 18pt;
    }
    
    .prose h2 {
        font-size: 16pt;
    }
    
    .prose h3 {
        font-size: 14pt;
    }
}
/* Cookie banner visibility — independent of Tailwind */
#cookie-banner.hidden, #cookie-consent-banner.hidden { display: none !important; }
#cookie-banner:not(.hidden), #cookie-consent-banner:not(.hidden) { display: block !important; }
#cookie-modal.hidden { display: none !important; }
