/* Custom styles that extend Tailwind */

/* Smooth focus outlines */
a:focus-visible, button:focus-visible {
    outline: 2px solid rgba(150, 197, 161, 0.6);
    outline-offset: 2px;
    border-radius: 2px;
}

/* Selection color */
::selection {
    background-color: rgba(45, 90, 58, 0.2);
    color: inherit;
}

/* Subtle scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #f5f3ee;
}
::-webkit-scrollbar-thumb {
    background: #c5dfca;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #96c5a1;
}

/* Image lazy load fade-in */
img {
    opacity: 1;
    transition: opacity 0.4s ease;
}

/* Prevent flash of unstyled content */
noscript .reveal {
    opacity: 1;
    transform: none;
}
