/* Custom styles and overrides */

html {
    scroll-behavior: smooth;
}

body {
    /* Ensure no background flashes */
    background-color: #fdf2f4; /* brand-50 */
}

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

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

::-webkit-scrollbar-thumb {
    background: #961630; /* brand-700 */
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #7a1329; /* brand-800 */
}

/* Animation Utilities */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Button Focus States for Accessibility */
button:focus, a:focus, input:focus, select:focus, textarea:focus {
    outline: 2px solid #d42c4c;
    outline-offset: 2px;
}

/* Form Select Arrow Fix */
select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
