:root {
    --color-primary: #1E2D4E;
    --color-accent: #4CAF9A;
    --color-bg: #FFFFFF;
    --color-bg-alt: #F5F7FA;
}

html, body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
}

body {
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
}

.mud-input-control .mud-input {
    min-height: 48px;
}

.mud-icon-button {
    min-width: 44px;
    min-height: 44px;
}

.badge-pendiente { background-color: #FFC107; color: #333; padding: 2px 10px; border-radius: 12px; font-size: 0.75rem; font-weight: 600; }
.badge-confirmado { background-color: #8BC34A; color: #fff; padding: 2px 10px; border-radius: 12px; font-size: 0.75rem; font-weight: 600; }
.badge-realizado { background-color: #2E7D32; color: #fff; padding: 2px 10px; border-radius: 12px; font-size: 0.75rem; font-weight: 600; }
.badge-cancelado { background-color: #F44336; color: #fff; padding: 2px 10px; border-radius: 12px; font-size: 0.75rem; font-weight: 600; }

.sticky-bottom-panel {
    position: sticky;
    bottom: 0;
    background: white;
    border-top: 1px solid #E0E0E0;
    padding: 16px;
    z-index: 10;
}

.loading-progress {
    display: none;
}

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

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

.blazor-error-boundary {
    background: #b32121;
    padding: 1rem;
    color: white;
}

@media (min-width: 768px) {
    .form-two-col {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
}
