.cx-tabular {
    font-variant-numeric: tabular-nums;
}

.cx-month-input {
    background: transparent;
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 6px;
    padding: 4px 8px;
    color: inherit;
    font-weight: 600;
    font-size: 0.9rem;
    color-scheme: dark light;
}

.cx-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.72);
    backdrop-filter: blur(4px);
    z-index: 1400;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.cx-modal-panel {
    width: 100%;
    max-width: 600px;
    max-height: 92vh;
    overflow-y: auto;
}

.cx-mobile-bottom-nav {
    display: none;
}

@media (max-width: 768px) {
    .cx-mobile-bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1200;
        display: flex;
        justify-content: space-around;
        align-items: center;
        padding: 4px 4px calc(4px + env(safe-area-inset-bottom));
        border-top: 1px solid rgba(148, 163, 184, 0.2);
    }

    .cx-page-pad-bottom {
        padding-bottom: 84px !important;
    }
}

#blazor-error-ui {
    background: #1e293b;
    color: #f8fafc;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 2000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
