/* CIE Transition Helper - Custom CSS */

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

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

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #0066CC;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #004C99;
}

/* Prose styles for content */
.prose h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #111827;
}

.prose h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #374151;
}

.prose p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.prose ul, .prose ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

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

.prose a {
    color: #0066CC;
    text-decoration: underline;
}

.prose a:hover {
    color: #004C99;
}

/* FAQ styles */
.faq-item {
    border-bottom: 1px solid #e5e7eb;
}

.faq-question {
    cursor: pointer;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s;
}

.faq-question:hover {
    background-color: #f9fafb;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: #0066CC;
}

.faq-answer {
    padding: 0 1rem 1rem 1rem;
    color: #4b5563;
    line-height: 1.7;
}

/* Calculator input styles */
input[type="date"] {
    appearance: none;
    -webkit-appearance: none;
}

/* Button hover effects */
button {
    transition: all 0.2s ease;
}

button:active {
    transform: translateY(1px);
}

/* Card hover effects */
.hover\:shadow-lg {
    transition: box-shadow 0.2s ease;
}

/* Print styles */
@media print {
    header, footer, .no-print {
        display: none !important;
    }
    
    main {
        padding: 0;
    }
}

/* Focus styles for accessibility */
input:focus, button:focus, a:focus {
    outline: 2px solid #0066CC;
    outline-offset: 2px;
}

/* Mobile optimizations */
@media (max-width: 640px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .prose h2 {
        font-size: 1.25rem;
    }
    
    .prose h3 {
        font-size: 1.125rem;
    }
}
