/* Unidos Pelo Boavista - Custom Styles */

/* Sticky offset */
:root { --header-height: 58px; }

/* Anchor scroll offset for sticky header */
section[id] {
    scroll-margin-top: calc(var(--header-height) + 16px);
}

/* Progress bar animation */
.progress-fill {
    transition: width 1s ease-out;
}

/* Cronologia filter pills */
.cronologia-filter.active {
    background-color: #1a1a1a;
    color: white;
    border-color: #1a1a1a;
}

/* Details/summary styling */
details summary {
    list-style: none;
}

details summary::-webkit-details-marker {
    display: none;
}

details[open] summary .chevron {
    transform: rotate(180deg);
}

.chevron {
    transition: transform 0.2s ease-out;
}

/* Smooth transitions */
* {
    transition-property: background-color, border-color, color;
    transition-duration: 150ms;
    transition-timing-function: ease-in-out;
}

.transition-all {
    transition-property: all;
}

.transition-transform {
    transition-property: transform;
}

.transition-colors {
    transition-property: background-color, border-color, color, fill, stroke;
}

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

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 0, 0, 0.3);
}

/* Focus styles */
button:focus-visible,
a:focus-visible {
    outline: 2px solid #d4af37;
    outline-offset: 2px;
}

/* Selection color */
::selection {
    background-color: rgba(212, 175, 55, 0.3);
}

/* Print styles */
@media print {
    header, footer {
        display: none !important;
    }

    body {
        background: white !important;
        color: black !important;
    }

    .no-print {
        display: none !important;
    }
}
