/* Elementos propios de la SPA (no existían en el MVC). */
.carga-inicial {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

#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: 2000;
}

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

/* Blazor enfoca el <h1> al navegar (lectores de pantalla); sin el recuadro visual. */
h1:focus {
    outline: none;
}

.validation-message {
    color: #dc3545;
}

/*
   Logo del sidebar: en el MVC era un <style> inline en _Layout.cshtml
   ("para garantizar que se apliquen sin depender de caché"); mismo contenido.
*/
.sidebar-header .sidebar-logo-container {
    background: #ffffff;
    border-radius: 10px;
    padding: 0.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
    overflow: hidden;
}

.sidebar-header .sidebar-logo-container img {
    width: 24px;
    height: auto;
    display: block;
}
