/* Base custom styles and overrides */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

html {
    scroll-behavior: smooth;
    font-family: 'Inter', system-ui, sans-serif;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom Selection */
::selection {
    background-color: #79A982;
    color: #121719;
}

/* Form inputs */
input:focus, textarea:focus, select:focus {
    outline: 2px solid #79A982;
    outline-offset: -1px;
}

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

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

/* Hide scrollbar for goal selector tabs if they overflow */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Goal Selector Transitions */
.goal-panel {
    transition: opacity 0.3s ease-in-out;
}

/* FAQ Accordion Transitions */
.faq-content {
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}

.faq-content.open {
    max-height: 500px; /* Arbitrary large value */
    opacity: 1;
}

.faq-icon {
    transition: transform 0.3s ease-in-out;
}

.faq-button[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
}

/* Cookie Modal Overlay */
#cookie-preferences-modal {
    background-color: rgba(18, 23, 25, 0.85);
    backdrop-filter: blur(4px);
}