html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    margin: 0;
}

.page {
    min-height: 100vh;
}

.titulo-row {
    height: 1.75rem;
    display: flex;
    align-items: center;
    background-color: rgba(102, 205, 170, 0.55);
    color: #003;
}

.top-row {
    height: 3rem;
    display: flex;
    align-items: center;
    background-color: rgba(102, 205, 170, 1);
    color: #003;
    font-weight: 600;
}

.marca {
    font-size: 0.95rem;
    font-weight: 600;
}

/* Ajustes UI (2026-09-17): menú a la izquierda de la barra superior, con resaltado del
   ítem activo (NavLink añade la clase "active" según la ruta). Usuario logueado
   diferenciado como badge -- ver LoginDisplay.razor. */
.menu-principal a {
    text-decoration: none;
    color: #003;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
}

.menu-principal a.active {
    background: rgba(0, 0, 51, 0.14);
    box-shadow: inset 3px 0 0 #003;
    font-weight: 700;
}

.xml-dropzone {
    border: 2px dashed #66cdaa;
    border-radius: 8px;
    padding: 1.25rem;
    text-align: center;
    color: #666;
    cursor: pointer;
    transition: background-color 0.15s, border-color 0.15s;
}

.xml-dropzone:hover, .xml-dropzone.dragover {
    background-color: rgba(102, 205, 170, 0.12);
    border-color: #003;
}

/* Realce genérico para cualquier otra zona de arrastrar-y-soltar (dianArchivos.configurarDropZone),
   ej. el botón "PDF" de Emisores.razor -- no todas tienen su propia clase como .xml-dropzone. */
.dragover {
    outline: 2px dashed #66cdaa;
    outline-offset: 2px;
}

.usuario-badge {
    background: rgba(255, 255, 255, 0.55);
    color: #003;
    padding: 0.2rem 0.7rem;
    border-radius: 999px;
    font-weight: 700;
    margin-right: 0.75rem;
}

.content {
    padding-top: 0.5rem;
}

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

.loading-progress circle {
    fill: none;
    stroke: #e0e0e0;
    stroke-width: 0.6rem;
    transform-origin: 50% 50%;
    transform: rotate(-90deg);
}

.loading-progress circle:last-child {
    stroke: #1b6ec2;
    stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
    transition: stroke-dasharray 0.05s ease-in-out;
}

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

.loading-progress-text:after {
    content: var(--blazor-load-percentage-text, "Cargando");
}

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