html, body {
    height: 100%;
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background-color: #F4F6F8;
}

.mud-drawer .mud-nav-link {
    border-radius: 8px;
}

.logisaas-auth-card {
    border-radius: 16px;
}

.logisaas-form {
    display: flex;
    flex-direction: column;
}

.logisaas-label {
    font-size: 0.8rem;
    color: rgba(0,0,0,0.6);
    margin-top: 12px;
    margin-bottom: 4px;
}

.logisaas-input {
    padding: 10px 12px;
    border: 1px solid rgba(0,0,0,0.23);
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Roboto', sans-serif;
}

.logisaas-input:focus {
    outline: none;
    border-color: #1E88E5;
    box-shadow: 0 0 0 2px rgba(30,136,229,0.15);
}

/* HTML5 validation: red border only after the user has interacted with the field. */
.logisaas-input:user-invalid {
    border-color: #D32F2F;
    box-shadow: 0 0 0 2px rgba(211,47,47,0.12);
}

.logisaas-hint {
    font-size: 0.75rem;
    color: rgba(0,0,0,0.5);
    margin-top: 4px;
}

/* Compact data tables (e.g. Usuarios): smaller text, tighter rows. */
.logisaas-compact-table .mud-table-cell {
    font-size: 0.8125rem;
    line-height: 1.3;
}

.logisaas-compact-table .mud-table-head .mud-table-cell {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(0,0,0,0.6);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.logisaas-compact-table .mud-chip {
    font-size: 0.7rem;
}

/* "Acciones" column pinned to the right edge: on narrow screens the other columns
   scroll horizontally but the action icons stay visible. */
.logisaas-sticky-actions {
    position: sticky;
    right: 0;
    z-index: 1;
    background-color: var(--mud-palette-surface);
    box-shadow: -4px 0 6px -4px rgba(0,0,0,0.15);
}

/* Row action buttons (Consultar / Modificar / Eliminar) aligned on a single line. */
.logisaas-row-actions {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 2px;
    white-space: nowrap;
}

.logisaas-error-list {
    margin: 0;
    padding-left: 18px;
}
