.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}
.graticule-bg {
    background-image:
        linear-gradient(to right, rgba(0, 107, 112, 0.08) 0.5px, transparent 0.5px),
        linear-gradient(to bottom, rgba(0, 107, 112, 0.08) 0.5px, transparent 0.5px);
    background-size: 80px 80px;
    background-position: center center;
}
.paper-texture {
    background-color: #F3EFE4;
    position: relative;
}
.paper-texture::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100' height='100' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}
.content-relative {
    position: relative;
    z-index: 10;
}
.ledger-row {
    transition: background-color 0.2s ease;
}
.ledger-row:hover {
    background-color: rgba(0, 107, 112, 0.03);
}

/* Mobile navigation overlay */
.mobile-nav-overlay {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}
.mobile-nav-overlay .mobile-nav-link {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.mobile-nav-overlay.active .mobile-nav-link {
    opacity: 1;
    transform: translateY(0);
}
.mobile-nav-overlay.active .mobile-nav-link:nth-child(1) { transition-delay: 0.05s; }
.mobile-nav-overlay.active .mobile-nav-link:nth-child(2) { transition-delay: 0.1s; }
.mobile-nav-overlay.active .mobile-nav-link:nth-child(3) { transition-delay: 0.15s; }
.mobile-nav-overlay.active .mobile-nav-link:nth-child(4) { transition-delay: 0.2s; }
.mobile-nav-overlay.active .mobile-nav-link:nth-child(5) { transition-delay: 0.25s; }

/* Custom select arrow */
.select-wrapper {
    position: relative;
}
.select-wrapper::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #75777E;
    pointer-events: none;
}

/* Form validation states */
.field-error input,
.field-error textarea,
.field-error select {
    border-color: #ba1a1a !important;
}
.field-error .field-error-message {
    display: block;
}
.field-error-message {
    display: none;
    color: #ba1a1a;
    font-size: 12px;
    margin-top: 4px;
}

/* Scroll reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .mobile-nav-overlay .mobile-nav-link {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .ledger-row {
        transition: none;
    }
}
