@font-face {
    font-family: 'Anton';
    src: url('../fonts/Anton/Anton-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat/Montserrat-VariableFont_wght.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
}

.highlight {
    background-color: #C5A059;
    padding: 0 0.25rem;
}

html {
    scroll-padding-top: 120px;
}

.committee-bar {
    position: relative;
    padding-left: 1rem;
}

.committee-bar::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 2.5rem;
    background-color: #C5A059;
}

.fade-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Register Interest form (survey-style) */
.ri-form {
    background: #fff;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.ri-form .ri-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0D0D0D;
    margin-bottom: 0.25rem;
}
.ri-form .ri-subtitle {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}
.ri-field {
    margin-bottom: 1.25rem;
}
.ri-field label {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    color: #333;
    margin-bottom: 0.35rem;
    font-family: 'Montserrat', sans-serif;
}
.ri-field input[type="text"],
.ri-field input[type="email"],
.ri-field input[type="tel"],
.ri-field select,
.ri-field textarea {
    width: 100%;
    padding: 0.7rem 0.85rem;
    border: 1.5px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    background: #fff;
    color: #333;
    transition: border-color 0.15s, background 0.15s;
    -webkit-appearance: none;
}
.ri-field input:focus,
.ri-field select:focus,
.ri-field textarea:focus {
    outline: none;
    border-color: #C5A059;
}
.ri-field input.filled,
.ri-field select.filled,
.ri-field textarea.filled {
    border-color: #C5A059;
    background: #f9f3e5;
}
.ri-field select.unselected {
    color: #999;
}
.ri-field select option {
    color: #333;
}
.ri-field textarea {
    resize: vertical;
    min-height: 80px;
}
.ri-field .ri-error {
    color: #e74c3c;
    font-size: 0.8rem;
    margin-top: 0.25rem;
}
/* Checkbox group */
.ri-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.ri-check-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.65rem 1rem;
    border: 1.5px solid #ddd;
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.15s;
    user-select: none;
}
.ri-check-item:hover {
    border-color: #C5A059;
}
.ri-check-item.selected {
    border-color: #C5A059;
    background: #f9f3e5;
}
.ri-box {
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.15s;
    font-size: 13px;
    color: #fff;
    line-height: 1;
}
.ri-check-item.selected .ri-box,
.ri-consent.checked .ri-box {
    background: #C5A059;
    border-color: #C5A059;
}
/* Consent */
.ri-consent {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: #666;
    cursor: pointer;
    user-select: none;
}
.ri-consent .ri-box {
    margin-top: 2px;
}
/* Validation error states */
.ri-field.has-error input,
.ri-field.has-error select,
.ri-field.has-error textarea {
    border-color: #e74c3c;
}
.ri-field.has-error .ri-checks {
    outline: 1.5px solid #e74c3c;
    outline-offset: 4px;
    border-radius: 10px;
}
.ri-field.has-error .ri-consent .ri-box {
    border-color: #e74c3c;
}
/* Submit button */
.ri-btn {
    width: 100%;
    padding: 0.85rem 1.5rem;
    background: #C5A059;
    color: #0D0D0D;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    transition: opacity 0.15s;
    margin-top: 1.5rem;
}
.ri-btn:hover { opacity: 0.85; }
.ri-btn:disabled { opacity: 0.4; cursor: not-allowed; }
/* Success state */
.ri-success {
    text-align: center;
    padding: 3rem 2rem;
}
.ri-success .ri-check {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #27ae60;
}
/* Boroughs map */
#boroughs-map {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: transparent;
    position: relative;
    z-index: 0;
}
.leaflet-container { background: transparent !important; outline: none; }
.leaflet-interactive { transition: fill-opacity 0.15s; }
.leaflet-interactive:hover { fill-opacity: 0.75 !important; }
.borough-label {
    pointer-events: none;
    text-align: center;
    color: #fff;
    line-height: 1;
}
.borough-label .borough-count {
    font-family: 'Anton', sans-serif;
    font-size: 22px;
    font-weight: 700;
}
/* Delivery-sites panel: each site cascades in one by one */
#delivery-sites-list .site-item {
    opacity: 0;
    transform: translateY(8px);
    animation: site-cascade 0.45s ease forwards;
}
@keyframes site-cascade {
    to { opacity: 1; transform: translateY(0); }
}

/* Flash */
.ri-flash {
    background: #f8d7da;
    color: #721c24;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}
