/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-03cq3ziaye] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-03cq3ziaye] {
    flex: 1;
}

.sidebar[b-03cq3ziaye] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-03cq3ziaye] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-03cq3ziaye]  a, .top-row[b-03cq3ziaye]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-03cq3ziaye]  a:hover, .top-row[b-03cq3ziaye]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-03cq3ziaye]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-03cq3ziaye] {
        justify-content: space-between;
    }

    .top-row[b-03cq3ziaye]  a, .top-row[b-03cq3ziaye]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-03cq3ziaye] {
        flex-direction: row;
    }

    .sidebar[b-03cq3ziaye] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-03cq3ziaye] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-03cq3ziaye]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-03cq3ziaye], article[b-03cq3ziaye] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-03cq3ziaye] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-03cq3ziaye] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-01fdwulz8m] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-01fdwulz8m] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-01fdwulz8m] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-01fdwulz8m] {
    font-size: 1.1rem;
}

.bi[b-01fdwulz8m] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-01fdwulz8m] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-01fdwulz8m] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-01fdwulz8m] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-01fdwulz8m] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-01fdwulz8m] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-01fdwulz8m] {
        padding-bottom: 1rem;
    }

    .nav-item[b-01fdwulz8m]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-01fdwulz8m]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-01fdwulz8m]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-01fdwulz8m] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-01fdwulz8m] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-01fdwulz8m] {
        display: none;
    }

    .nav-scrollable[b-01fdwulz8m] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Pages/Import.razor.rz.scp.css */
/* Component-scoped CSS for Import.razor */

/* Hide the native file input off-screen but keep it focusable and accessible */
.file-input-hidden[b-4hhmn15ymu] {
    position: absolute;
    left: -9999px;
    opacity: 0;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Optional: Layout helper for the file picker row */
.file-picker[b-4hhmn15ymu] {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
}

/* Ensure the file picker button styling matches Mud primary button */
.file-picker-label[b-4hhmn15ymu] {
    /* This will inherit MudBlazor's button styles from the applied classes */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
}

/* When focused (via keyboard navigation), show focus outline on the label */
.file-input-hidden:focus + .file-picker-label[b-4hhmn15ymu] {
    outline: 2px solid #0066CC;
    outline-offset: 2px;
}
/* /Components/Shared/ComplianceWeather.razor.rz.scp.css */
/* ===================================================================
   ComplianceWeather Component - Scoped Styles
   Weather-based compliance status visualization
   =================================================================== */

.compliance-weather[b-2p185ple4l] {
    display: flex;
    align-items: center;
    gap: var(--space-lg, 24px);
    padding: var(--space-lg, 24px);
    border-radius: var(--radius-xl, 16px);
    transition: all var(--transition-slow, 350ms) ease;
    position: relative;
    overflow: hidden;
}

/* Large size variant */
.compliance-weather--large[b-2p185ple4l] {
    padding: var(--space-xl, 32px) var(--space-2xl, 48px);
    gap: var(--space-xl, 32px);
}

/* ===== Weather Status Backgrounds ===== */

.compliance-weather--sunny[b-2p185ple4l] {
    background: var(--weather-sunny-gradient, linear-gradient(135deg, #D1FAE5 0%, #10B981 100%));
    color: #064E3B;
}

.compliance-weather--cloudy[b-2p185ple4l] {
    background: var(--weather-cloudy-gradient, linear-gradient(135deg, #FEF3C7 0%, #F59E0B 100%));
    color: #78350F;
}

.compliance-weather--rainy[b-2p185ple4l] {
    background: var(--weather-rainy-gradient, linear-gradient(135deg, #FFEDD5 0%, #F97316 100%));
    color: #7C2D12;
}

.compliance-weather--stormy[b-2p185ple4l] {
    background: var(--weather-stormy-gradient, linear-gradient(135deg, #FEE2E2 0%, #DC2626 100%));
    color: #7F1D1D;
}

/* ===== Icon Container ===== */

.compliance-weather__icon-container[b-2p185ple4l] {
    flex-shrink: 0;
}

.compliance-weather__icon[b-2p185ple4l] {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.compliance-weather--large .compliance-weather__icon[b-2p185ple4l] {
    width: 80px;
    height: 80px;
}

.compliance-weather__svg[b-2p185ple4l] {
    width: 100%;
    height: 100%;
    color: currentColor;
}

/* ===== Content ===== */

.compliance-weather__content[b-2p185ple4l] {
    flex: 1;
    min-width: 0;
}

.compliance-weather__headline[b-2p185ple4l] {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 var(--space-xs, 4px) 0;
    line-height: 1.2;
}

.compliance-weather--large .compliance-weather__headline[b-2p185ple4l] {
    font-size: 2rem;
}

.compliance-weather__subtext[b-2p185ple4l] {
    font-size: 0.95rem;
    margin: 0 0 var(--space-sm, 8px) 0;
    opacity: 0.9;
    line-height: 1.4;
}

.compliance-weather--large .compliance-weather__subtext[b-2p185ple4l] {
    font-size: 1.1rem;
}

.compliance-weather__grade[b-2p185ple4l] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs, 4px);
    padding: var(--space-xs, 4px) var(--space-sm, 8px);
    background: rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-md, 8px);
    font-size: 0.875rem;
    font-weight: 500;
}

.compliance-weather__grade-label[b-2p185ple4l] {
    opacity: 0.8;
}

.compliance-weather__grade-value[b-2p185ple4l] {
    font-weight: 700;
    font-size: 1rem;
}

.compliance-weather__score[b-2p185ple4l] {
    opacity: 0.8;
}

.compliance-weather__extra[b-2p185ple4l] {
    margin-top: var(--space-md, 16px);
}

/* ===== Action Button ===== */

.compliance-weather__action[b-2p185ple4l] {
    flex-shrink: 0;
}

.compliance-weather__action-button[b-2p185ple4l] {
    white-space: nowrap;
}

/* Ensure button text is visible on gradient backgrounds */
.compliance-weather--sunny .compliance-weather__action-button[b-2p185ple4l] {
    --mud-palette-primary: #047857;
}

.compliance-weather--stormy .compliance-weather__action-button[b-2p185ple4l] {
    --mud-palette-error: #991B1B;
}

/* ===== Responsive Design ===== */

@media (max-width: 768px) {
    .compliance-weather[b-2p185ple4l] {
        flex-direction: column;
        text-align: center;
        gap: var(--space-md, 16px);
    }

    .compliance-weather__icon[b-2p185ple4l] {
        width: 56px;
        height: 56px;
    }

    .compliance-weather__headline[b-2p185ple4l] {
        font-size: 1.25rem;
    }

    .compliance-weather__subtext[b-2p185ple4l] {
        font-size: 0.875rem;
    }

    .compliance-weather__grade[b-2p185ple4l] {
        justify-content: center;
    }

    .compliance-weather--large[b-2p185ple4l] {
        padding: var(--space-lg, 24px);
    }

    .compliance-weather--large .compliance-weather__icon[b-2p185ple4l] {
        width: 64px;
        height: 64px;
    }

    .compliance-weather--large .compliance-weather__headline[b-2p185ple4l] {
        font-size: 1.5rem;
    }
}

/* ===== Accessibility ===== */

@media (prefers-reduced-motion: reduce) {
    .compliance-weather[b-2p185ple4l] {
        transition: none;
    }
}

@media (prefers-contrast: high) {
    .compliance-weather[b-2p185ple4l] {
        border: 2px solid currentColor;
    }

    .compliance-weather__grade[b-2p185ple4l] {
        background: rgba(0, 0, 0, 0.2);
    }
}

/* ===== Print Styles ===== */

@media print {
    .compliance-weather[b-2p185ple4l] {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
        break-inside: avoid;
    }

    .compliance-weather__action[b-2p185ple4l] {
        display: none;
    }
}
/* /Components/Shared/QuickStatusCard.razor.rz.scp.css */
/* ===================================================================
   QuickStatusCard Component - Scoped Styles
   Enhanced metric card with animated numbers and trends
   =================================================================== */

.quick-status-card[b-pwto3cdh0z] {
    position: relative;
    padding: var(--space-md, 16px);
    background: white;
    border-radius: var(--radius-lg, 12px);
    box-shadow: var(--shadow-sm, 0 1px 2px 0 rgba(0, 0, 0, 0.05));
    transition: all var(--transition-base, 250ms) ease;
    overflow: hidden;
    animation: quick-status-enter-b-pwto3cdh0z 0.4s ease-out forwards;
    opacity: 0;
    transform: translateY(10px);
}

@keyframes quick-status-enter-b-pwto3cdh0z {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.quick-status-card:hover[b-pwto3cdh0z] {
    box-shadow: var(--shadow-md, 0 4px 6px -1px rgba(0, 0, 0, 0.1));
    transform: translateY(-2px);
}

/* ===== Status Variants ===== */

.quick-status-card--neutral[b-pwto3cdh0z] {
    border-left: 4px solid var(--gray-400, #9CA3AF);
}

.quick-status-card--success[b-pwto3cdh0z] {
    border-left: 4px solid var(--weather-sunny, #10B981);
    background: linear-gradient(135deg, #F0FDF4 0%, #FFFFFF 50%);
}

.quick-status-card--warning[b-pwto3cdh0z] {
    border-left: 4px solid var(--weather-cloudy, #F59E0B);
    background: linear-gradient(135deg, #FFFBEB 0%, #FFFFFF 50%);
}

.quick-status-card--danger[b-pwto3cdh0z] {
    border-left: 4px solid var(--weather-stormy, #DC2626);
    background: linear-gradient(135deg, #FEF2F2 0%, #FFFFFF 50%);
}

.quick-status-card--info[b-pwto3cdh0z] {
    border-left: 4px solid var(--reef-aqua, #39B5C9);
    background: linear-gradient(135deg, #ECFEFF 0%, #FFFFFF 50%);
}

/* ===== Header ===== */

.quick-status-card__header[b-pwto3cdh0z] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-xs, 4px);
}

.quick-status-card__label[b-pwto3cdh0z] {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-500, #6B7280);
}

/* ===== Trend Indicator ===== */

.quick-status-card__trend[b-pwto3cdh0z] {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: var(--radius-sm, 4px);
}

.quick-status-card__trend--up[b-pwto3cdh0z] {
    color: var(--weather-sunny, #10B981);
    background: rgba(16, 185, 129, 0.1);
}

.quick-status-card__trend--down[b-pwto3cdh0z] {
    color: var(--weather-stormy, #DC2626);
    background: rgba(220, 38, 38, 0.1);
}

.quick-status-card__trend--neutral[b-pwto3cdh0z] {
    color: var(--gray-500, #6B7280);
    background: rgba(107, 114, 128, 0.1);
}

.quick-status-card__trend-value[b-pwto3cdh0z] {
    font-variant-numeric: tabular-nums;
}

/* ===== Value Display ===== */

.quick-status-card__value[b-pwto3cdh0z] {
    display: flex;
    align-items: baseline;
    gap: 2px;
    font-family: 'Poppins', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--navy-text, #003057);
    line-height: 1.2;
    margin-bottom: var(--space-xs, 4px);
}

.quick-status-card__prefix[b-pwto3cdh0z] {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-500, #6B7280);
}

.quick-status-card__suffix[b-pwto3cdh0z] {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-500, #6B7280);
}

/* ===== Subtitle ===== */

.quick-status-card__subtitle[b-pwto3cdh0z] {
    font-size: 0.8125rem;
    color: var(--gray-500, #6B7280);
    line-height: 1.4;
}

/* ===== Extra Content ===== */

.quick-status-card__extra[b-pwto3cdh0z] {
    margin-top: var(--space-sm, 8px);
}

/* ===== Icon ===== */

.quick-status-card__icon[b-pwto3cdh0z] {
    position: absolute;
    top: var(--space-md, 16px);
    right: var(--space-md, 16px);
    opacity: 0.15;
    color: var(--gray-600, #4B5563);
    pointer-events: none;
}

.quick-status-card--success .quick-status-card__icon[b-pwto3cdh0z] {
    color: var(--weather-sunny, #10B981);
}

.quick-status-card--warning .quick-status-card__icon[b-pwto3cdh0z] {
    color: var(--weather-cloudy, #F59E0B);
}

.quick-status-card--danger .quick-status-card__icon[b-pwto3cdh0z] {
    color: var(--weather-stormy, #DC2626);
}

.quick-status-card--info .quick-status-card__icon[b-pwto3cdh0z] {
    color: var(--reef-aqua, #39B5C9);
}

/* ===== Responsive Design ===== */

@media (max-width: 480px) {
    .quick-status-card[b-pwto3cdh0z] {
        padding: var(--space-sm, 8px) var(--space-md, 16px);
    }

    .quick-status-card__value[b-pwto3cdh0z] {
        font-size: 1.5rem;
    }

    .quick-status-card__icon[b-pwto3cdh0z] {
        display: none;
    }
}

/* ===== Accessibility ===== */

@media (prefers-reduced-motion: reduce) {
    .quick-status-card[b-pwto3cdh0z] {
        animation: none;
        opacity: 1;
        transform: none;
        transition: none;
    }

    .quick-status-card:hover[b-pwto3cdh0z] {
        transform: none;
    }
}

@media (prefers-contrast: high) {
    .quick-status-card[b-pwto3cdh0z] {
        border: 2px solid currentColor;
        border-left-width: 4px;
    }
}

/* ===== Print Styles ===== */

@media print {
    .quick-status-card[b-pwto3cdh0z] {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
        box-shadow: none;
        border: 1px solid var(--gray-300, #D1D5DB);
        border-left-width: 4px;
        animation: none;
        opacity: 1;
        transform: none;
    }
}
/* /Components/Shared/TideTimer.razor.rz.scp.css */
/* ===================================================================
   TideTimer Component - Scoped Styles
   Deadline visualization as receding tide
   =================================================================== */

.tide-timer[b-ug41u3ny45] {
    display: flex;
    align-items: center;
    gap: var(--space-md, 16px);
    padding: var(--space-md, 16px);
    background: white;
    border-radius: var(--radius-lg, 12px);
    box-shadow: var(--shadow-md, 0 4px 6px -1px rgba(0, 0, 0, 0.1));
    transition: all var(--transition-base, 250ms) ease;
}

.tide-timer--large[b-ug41u3ny45] {
    padding: var(--space-lg, 24px);
    gap: var(--space-lg, 24px);
}

/* ===== Tide Level Color Variables ===== */

.tide-timer--calm[b-ug41u3ny45] {
    --tide-color: var(--tide-calm, #0891B2);
    border-left: 4px solid var(--tide-color);
}

.tide-timer--normal[b-ug41u3ny45] {
    --tide-color: var(--tide-normal, #0EA5E9);
    border-left: 4px solid var(--tide-color);
}

.tide-timer--low[b-ug41u3ny45] {
    --tide-color: var(--tide-low, #F59E0B);
    border-left: 4px solid var(--tide-color);
}

.tide-timer--critical[b-ug41u3ny45] {
    --tide-color: var(--tide-critical, #DC2626);
    border-left: 4px solid var(--tide-color);
    background: linear-gradient(135deg, #FEF2F2 0%, #FFFFFF 100%);
}

.tide-timer--empty[b-ug41u3ny45] {
    --tide-color: var(--tide-empty, #7F1D1D);
    border-left: 4px solid var(--tide-color);
    background: linear-gradient(135deg, #FEE2E2 0%, #FECACA 100%);
}

/* ===== Container ===== */

.tide-timer__container[b-ug41u3ny45] {
    position: relative;
    flex-shrink: 0;
    width: 60px;
    height: 72px;
}

.tide-timer--large .tide-timer__container[b-ug41u3ny45] {
    width: 80px;
    height: 96px;
}

.tide-timer__svg[b-ug41u3ny45] {
    width: 100%;
    height: 100%;
    color: var(--tide-color);
}

/* ===== Wave Animation ===== */

.tide-timer__wave[b-ug41u3ny45] {
    transform-origin: center;
}

/* ===== Alert Overlay ===== */

.tide-timer__alert[b-ug41u3ny45] {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--tide-color);
    animation: tide-pulse-b-ug41u3ny45 1.5s ease-in-out infinite;
}

@keyframes tide-pulse-b-ug41u3ny45 {
    0%, 100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.7;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* ===== Content ===== */

.tide-timer__content[b-ug41u3ny45] {
    flex: 1;
    min-width: 0;
}

.tide-timer__days[b-ug41u3ny45] {
    display: flex;
    align-items: baseline;
    gap: var(--space-xs, 4px);
    margin-bottom: var(--space-xs, 4px);
}

.tide-timer__days-value[b-ug41u3ny45] {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    color: var(--tide-color);
}

.tide-timer--large .tide-timer__days-value[b-ug41u3ny45] {
    font-size: 2.5rem;
}

.tide-timer__days-label[b-ug41u3ny45] {
    font-size: 0.875rem;
    color: var(--gray-600, #4B5563);
    font-weight: 500;
}

.tide-timer--large .tide-timer__days-label[b-ug41u3ny45] {
    font-size: 1rem;
}

.tide-timer__deadline[b-ug41u3ny45] {
    display: flex;
    align-items: center;
    gap: var(--space-xs, 4px);
    font-size: 0.8125rem;
    color: var(--gray-500, #6B7280);
    margin-bottom: var(--space-xs, 4px);
}

.tide-timer__deadline-label[b-ug41u3ny45] {
    font-weight: 500;
}

.tide-timer__deadline-date[b-ug41u3ny45] {
    font-weight: 600;
    color: var(--gray-700, #374151);
}

.tide-timer__label[b-ug41u3ny45] {
    font-size: 0.75rem;
    color: var(--gray-400, #9CA3AF);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: var(--space-xs, 4px);
}

.tide-timer--large .tide-timer__label[b-ug41u3ny45] {
    font-size: 0.8125rem;
}

.tide-timer__extra[b-ug41u3ny45] {
    margin-top: var(--space-sm, 8px);
}

/* ===== Status-specific text colors ===== */

.tide-timer--critical .tide-timer__days-value[b-ug41u3ny45],
.tide-timer--empty .tide-timer__days-value[b-ug41u3ny45] {
    color: var(--tide-color);
}

.tide-timer--empty .tide-timer__days-label[b-ug41u3ny45],
.tide-timer--empty .tide-timer__deadline[b-ug41u3ny45] {
    color: #7F1D1D;
}

/* ===== Responsive Design ===== */

@media (max-width: 480px) {
    .tide-timer[b-ug41u3ny45] {
        flex-direction: column;
        text-align: center;
        padding: var(--space-md, 16px);
    }

    .tide-timer__container[b-ug41u3ny45] {
        width: 50px;
        height: 60px;
    }

    .tide-timer__days[b-ug41u3ny45] {
        justify-content: center;
    }

    .tide-timer__days-value[b-ug41u3ny45] {
        font-size: 1.75rem;
    }

    .tide-timer__deadline[b-ug41u3ny45] {
        justify-content: center;
    }
}

/* ===== Accessibility ===== */

@media (prefers-reduced-motion: reduce) {
    .tide-timer[b-ug41u3ny45],
    .tide-timer__wave[b-ug41u3ny45],
    .tide-timer__alert[b-ug41u3ny45] {
        animation: none;
        transition: none;
    }
}

@media (prefers-contrast: high) {
    .tide-timer[b-ug41u3ny45] {
        border: 2px solid var(--tide-color);
    }

    .tide-timer__svg rect:first-of-type[b-ug41u3ny45] {
        stroke-width: 3;
        opacity: 0.6;
    }
}

/* ===== Print Styles ===== */

@media print {
    .tide-timer[b-ug41u3ny45] {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
        box-shadow: none;
        border: 1px solid var(--tide-color);
    }

    .tide-timer__wave[b-ug41u3ny45] {
        animation: none;
    }

    .tide-timer__alert[b-ug41u3ny45] {
        animation: none;
    }
}
