@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

/* ----------- Tipografía y estilos base ----------- */
html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: #f4f6f9;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

/* ----------- Botones ----------- */
.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

/* ----------- Layout principal ----------- */
.content {
    padding-top: 1.1rem;
}

/* ----------- Validaciones ----------- */
.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

/* ----------- Errores Blazor ----------- */
#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: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDki...) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

/* ----------- Navegación lateral ----------- */
.sidebar {
    background: linear-gradient(135deg, #1e3c72, #2a5298) !important; /* azul elegante */
    color: white !important;    
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

/* ----------- Barra superior ----------- */
.top-row.navbar,
.top-row.navbar.navbar-dark {
    background: linear-gradient(135deg, #283e51, #485563) !important; /* gris azulado sobrio */
    color: white !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}




