﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;   
}
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Oculta cualquier contenido que se desborde horizontalmente */
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.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 #ffd80027;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#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,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.ventana-login {
    background-color: transparent; /* Color de fondo */
    display: flex;
    align-items: center;
    justify-content: center;
    height: 75vh;
    margin: 0;
}

.modal-ventana-login {
    background: linear-gradient(to top left, rgba(4, 135, 164, 0.4), rgba(9, 44, 62, 0.4), rgba(0, 0, 0, 0.4));
    border: 1px solid #ced4da; /* Borde del formulario */
    border-radius: 10px; /* Esquinas redondeadas */
    padding: 30px; /* Espaciado interno */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Sombra */
    max-width: 450px; /* Ancho máximo del formulario */
    width: 200%;
}
.centerLogin {
    background: linear-gradient(to top left, rgba(9, 44, 62, 0.9), rgba(9, 44, 62, 0.9), rgba(9, 44, 62, 0.9));
    border: 1px solid white;
    position: absolute;
    top: 48%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 380px; /* antes 400px */
    border-radius: 10px;
    padding: 0 30px; /* antes 0 40px */
    box-sizing: border-box;
}

    .centerLogin h1 {
        margin: 20px;
        text-align: center;
        text-decoration-color: #ff006e;
        padding: 0 0 15px 0;
        border-bottom: 2px solid #092c3e;
        color: rgba(9, 44, 62, 0.9);
        background-color: rgba(9, 44, 62, 0.9);
        text-shadow: 0.1em 0.1em #333;
    }
.centerLogin{
    padding: 0 40px;
    box-sizing: border-box;
}
input:-webkit-autofill {
    background-color: rgba(9, 44, 62, 0.7) !important;
    color: white !important;
}

input:-moz-autofill {
    background-color: rgba(9, 44, 62, 0.7) !important;
    color: white !important;
}

input:-ms-autofill {
    background-color: rgba(9, 44, 62, 0.7) !important;
    color: white !important;
}
.txt_field {
    position: relative;
    border-bottom: 2px solid #adadad;
    background-color: rgba(9, 44, 62, 0.1) !important;
    margin: 20px 0;
}
    .txt_field input {
        width: 100%;
        padding: 0 5px;
        color: white;
        height: 40px;
        font-size: 16px;
        border: white;
        background-color: rgba(9, 44, 62, 0.1) !important;
        outline: 1px;
    }
    .txt_field label {
        position: absolute;
        top: 50%;
        left: 5px;
        color: white;
        background-color: rgba(9, 44, 62, 0.9);
        transform: translateY(-50%);
        font-size: 16px;
        pointer-events: none;
        transition: .5s;
        text-shadow: 0.1em 0.1em #333;
    }
    .txt_field span::before {
        content: '';
        position: absolute;
        top: 40px;
        left: 0;
        width: 0;
        height: 2px;
        background: white;
        transition: .5s;
        text-shadow: 0.1em 0.1em #fff;
    }
    .txt_field input:focus ~ label,
    .txt_field input:valid ~ label {
        top: -5px;
        color: white;
        background-color: rgba(9, 44, 62, 0.9);
    }
.txt_field input:focus ~ span::before,
.txt_field input:valid ~ span::before {
    width: 100%;   
}
input:focus,
input:valid {
    background-color: white;
}
.pass{
    margin: -5px 0 20px 5px;
    color: #a6a6a6;
    cursor: pointer;
}
.pass:hover{
    text-decoration: underline;
}
.LoginBtn {
    margin: 5px;
    width: 90px;
    height: 50px;
    border: 1px solid;
    background: #092c3e;
    border-radius: 25px;
    font-size: 16px;
    color: white;
    font-weight: 700;
    cursor: pointer;
    outline: none;
    position: relative;
    top: 100%;
    left: 30%;
}
.LoginBtn :hover {
    border-color: #2691d9;
    transition: .5s;
}

.Login-boton-page-publico {
    margin-top: 10px;
    width: 100%;
    padding: 10px;
    background-color: #092c3e;
    color: white;
    font-weight: bold;
    border: 2px solid white; /* contorno blanco */
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

    .Login-boton-page-publico:hover {
        background-color: #47616e;
        border-color: #ccc; /* opcional: cambio de tono en hover */
    }

.LogOutBtn {   
    width: 100px;
    height: 50px;
    border: 1px solid;
    background: #2691d9;
    border-radius: 10px;
    font-size: 15px;
    color: white;    
    cursor: pointer;    
    position: static;    
}
input [type="submit"] {
    width: 10%;
    height: 50px;
    border: 1px solid;
    background: #2691d9;
    border-radius: 25px;
    font-size: 18px;
    color: white;
    font-weight: 700;
    cursor: pointer;
    outline: none;
    text-shadow: 0.1em 0.1em #333;
}
input[type="submit"]:hover{
    border-color: #2691d9;
    transition: .5s;
   
}
.signup_link{
    margin: 30px 0;
    text-align: center;
    font-size: 16px;
    color: #666666;
}
.signup_link a{
    color: #2691d9;
    text-decoration:none;
}
.signup_link a:hover{
    text-decoration:underline;
}
/* Tabla general */
.table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

/* Contenedor */
.table-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
}

.table {
    width: 100%;
    max-width: 100%;
}

.table-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
    width: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.table-buttons {
    display: inherit;
    gap: 1rem; /* Espacio entre los botones */
    margin-right: -15px;
}
.search-container{
   align-items:flex-start;
}

/*Barra sesion */
.horizontal-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #333; /* Color de fondo */
    color: white; /* Color del texto */
    padding: 13px; /* Espaciado interior */
    height: 70px /* Alto de barra sesion*/
}
.horizontal-bar-item-center {
    flex: 1;
    text-align: center;
    width:50px;

}

.horizontal-bar-item {
    flex: 1;
    text-align: center;
}

    .horizontal-bar-item:last-child {
        text-align: right;
        margin-top: 15px;
        margin-right: 10px;
    }
.horizontal-bar-itemLeft {
    flex: 1;
    text-align: left;
    margin-top: 15px;
}
.modal-dialog{
    padding-top: 200px;
}
.modal-dialog-CheckBox {
    padding-top: 200px;
    width: 97%;
    
    margin: 10% auto 0;
}
.nav-scrollable {
    height: 100vh;
    overflow-y: auto;
}



.flex-container {
    display: flex;
    height: 100vh;
}

.sidebar {
    width: 300px; /* Ajusta el ancho según tu diseño */
    flex-shrink: 0;
    color: white;
}

.content {
    flex-grow: 1;
    overflow-y: auto;    
    padding: 0px; /* Ajusta el espacio interior */
}
/* ///////////////////////////////////  ////////////////////   ///////////////////*/


/*Columnas */

.columnaSimple {
    width:300px;
    max-width: 1200px;
    text-align:center; 
    margin: 0 auto;
    display: grid;
    gap: 2rem;
}

@media (min-width: 600px) {
    .columnasPar {
        grid-template-columns: repeat(1, 1fr);
    }
}

.columnasPar {
    max-width: 1100px;
    margin-left: -5px;
    margin: 0 auto;
    display: grid;
    gap: 2rem;
}

@media (min-width: 500px) {
    .columnasPar {
        grid-template-columns: repeat(2, 1fr);
    }
}

.columnas3 {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    gap: 2rem;
}

@media (min-width: 500px) {
    .columnas3 {        
        grid-template-columns: 5fr 5fr 7fr;
    }
}

.columnas4 {
    max-width: 1200px;
    margin-left: 0; /* en vez de margin: 0 auto */
    margin-right: auto; /* para que no se pase del ancho máximo */
    display: grid;
    gap: 2rem;
}

.columnas5 {
    max-width: 1200px;
    margin: 0 auto;
    display: flex; /* Usamos flex para fácil centrado */
    justify-content: center; /* Centra el contenido horizontalmente */
    gap: 2rem; /* Espacio uniforme entre botones */
}

@media (min-width: 500px) {
    .columnas5 {
        gap: 3rem; /* Un poquito más de espacio en pantallas grandes */
    }
}


/* Web publico */

/* Contenedor principal de la página pública */
.contenedor-publico {
    max-width: 1200px; /* limita el ancho total para pantallas grandes */
    margin: 0 auto; /* centra horizontalmente */
    padding: 0 15px; /* margen interno a los lados */
    box-sizing: border-box;
}

/* Barra superior */
.barraSuperiorTitulo-publico {
    background-color: #092c3e;
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    overflow: hidden; /* evita que aparezca scroll horizontal */
}

.titulo-principal-publico {
    color: white;
    text-align: center;
    margin: 0;
    font-size: 1.8rem; /* Un poco más grande */
    font-weight: bold;
}

.botonera-publico {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.boton-menu-publico {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #092c3e;
    color: white;
    font-weight: bold;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    padding: 20px;
    width: 200px;
    height: 120px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.boton-menu-publico i {
    font-size: 2rem;
    margin-bottom: 10px;
}

.boton-menu-publico:hover {
    background-color: #47616e;
    transform: translateY(-3px);
}

    .boton-menu-publico span {
        letter-spacing: 1px;
    }

    .boton-menu-publico img {
        width: 40px;
        height: 40px;
        object-fit: contain;
        margin-bottom: 10px;
    }

/*///////////////////////////////////////////// ////////////////////////////////*/
/*//////////// fondo login //////////////*/
.fondologin {    
    background-size: cover; /* Cubrir todo el fondo */
    background-position: center; /* Centrar la imagen */
    background-repeat: no-repeat; /* No repetir la imagen */
    background-attachment: fixed; /* Fijar la imagen para que no se desplace con el contenido */
}
/*///////////////////////////////////////////// ////////////////////////////////*/
/*///////////////////  Boton index  //////////////////*/


a.boton {
    position: relative;
    display: block;
    padding: 25px 10px;
    border-radius: 6px;
    text-align: center;
    font-weight: bold;
    max-width: 320px;
    height: 65px;
    margin-bottom: 60px;
    overflow: hidden;
    color: white;
    cursor: pointer;
    letter-spacing: 2px;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.1);    
    text-decoration: none;
    transition: all ease 0.5s;
    background: #092c3e;
}

    a.boton:after,
    a.boton:before {
        width: 80px;
        height: 200px;
        content: '';
        display: block;
        background: #fff;
        transform: rotate(45deg);
        top: -60px;
        position: absolute;
        transition: none;
        right: -45%;
        cursor: pointer;
        text-decoration-color: white;
        color: white;
    }
 
a.boton:before{
	left: -48%;
}

    a.boton:hover {
        text-shadow: 0 1px 1px rgba(0,0,0,0.5);
        background-color: #47616e;
    }
 
a.boton:hover:after,
a.boton:hover:before{
	transform: rotate(45deg), scaleX(130%);
	background: rgba(255,255,255,0.1);
	transition: all ease 0.5s;
}
 
a.boton:hover:after{
	right: 130%;
}
 
a.boton:hover:before{
	left: 130%;
}
a:not([href]):not([tabindex]) {
    
    text-decoration: none;
}
/* Estilos para la tabla */
.table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

    .table th,
    .table td {
        padding: 10px;
        text-align: left;
        border: 1px solid #b4b4b4;
    }

    .table th {
        background-color: #f2f2f2; /* Color de fondo para las cabeceras de la tabla */
    }

    .table tbody tr:hover {
        background-color: #d5dfed; /* Color de fondo al pasar el mouse por encima de una fila */
    }
.barraSuperiorTitulo {
    background-color: #092c3e;
    width: auto;
    margin-left: -24px;
    margin-right: -24px;
    height: 100px;
    border-top: 2px solid gray;
    display: flex;
    align-items: center;
    padding:inherit;
}
.tituloBarra {
    /* border: 1px solid #ddd;*/ /* Estilo del borde para el título */
    padding: 5px; /* Espaciado interno para el título */
    margin-bottom: 10px; /* Espaciado inferior entre los títulos y los resultados */
    margin-top: 10px;
    margin-left: 24px;
}
.resultadoBarra {
    /*border: 1px solid #ddd;*/ /* Estilo del borde para el resultado */
    padding: 5px; /* Espaciado interno para el resultado */
    margin-bottom: 10px; /* Espaciado inferior entre los resultados */
}


.tableBotonExpEvents {
    width: inherit;    
    border-collapse: collapse;
    margin-bottom: 5px;
    padding: 1px;

}

    .tableBotonExpEvents th {
        padding: 10px;
        text-align: center;
        border: 1px solid #ddd;
        background-color: #f2f2f2; /* Color de fondo para las cabeceras de la tabla de botones de eventos requisitos */
        width: 1%;
        height:20px;
        border-bottom: 1px solid black;
    }


.transparent-bg {
    background-color: transparent !important;
}

.btn-sidebar-menu {
    color: #fff;
    background-color: #092c3e;
    border-color: #1861ac;
    height: 100px;
    text-align: left;
    clip-path: polygon(0 0, 100% 15%, 100% 85%, 0 100%);
    margin-left: -15px;
    width: 35px;
}
    .btn-sidebar-menu:hover {
        background-color: #1861ac; 
    }

.cargando {
    color: #092c3e;
    font-size: 45px;
    text-indent: -9999em;
    overflow: hidden;
    width: 1em;
    height: 1em;
    border-radius: 50%;
    position: relative;
    transform: translateZ(0);
    animation: mltShdSpin 1.7s infinite ease, round 1.7s infinite ease;
}
.btn-outline-primary {
    border-width: 2px; /* Puedes ajustar este valor según tus preferencias */
}
.logo{
    width: 300px;
    height: 250px;
}
.fondologin {
    position: fixed; /* Asegura que la imagen se mantenga en su lugar al hacer scroll */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Asegura que la imagen cubra el área sin distorsionarse */
    z-index: -1; /* Asegura que la imagen esté detrás del contenido */
    overflow: hidden; /* Oculta cualquier desbordamiento de la imagen */
}
.small-button {
    padding: 2px 10px; /* Ajusta el padding para reducir el tamaño del botón */
    font-size: 0.9rem; /* Ajusta el tamaño de la fuente */
}
.titulo-formulario-login {
    font-size: 35px;
    color: white;
    text-align: center;
    text-shadow: 5px 5px #092c3e;
    padding-top: 20px; /* Ajusta el espacio superior */
    padding-bottom: 20px; /* Ajusta el espacio inferior */
    border-bottom: 2px solid #092c3e;
    width: 100%; /* Asegura que el elemento ocupe todo el ancho */
    background-color: rgba(9, 44, 62, 0.5); /* Fondo con opacidad */
    box-sizing: border-box; /* Incluye el padding y el border en el ancho total */
    position: absolute; /* Posición absoluta */
    left: 0; /* Alinea al borde izquierdo */
    top: 0; /* Alinea al borde superior */
    right: 0; /* Alinea al borde derecho */
    margin: 0; /* Elimina cualquier margen */
    font-family: 'Trebuchet MS', Arial, sans-serif;
}
.page-container {
    display: relative;
    flex-direction: column;
    min-height: 100vh;
    z-index: 1100;
}

.content-wrap {
    flex: 1; /* Hace que este div ocupe el espacio disponible */
}

.footer {
    background-color: rgba(9, 44, 62, 0.7); /* Color de fondo del pie de página con opacidad */
    color: white; /* Color del texto */
    text-align: center; /* Centrar el texto */
    padding: 5px 0; /* Espaciado vertical */
    width: 100%; /* Ocupa todo el ancho de la página */
    border-top: 2px solid #092c3e; /* Línea superior */
    box-sizing: border-box; /* Incluye el padding y el border en el ancho total */
    position: absolute; /* Quita la posición fija */
    bottom: 0; /* Asegura que esté al final del contenedor */
}

.footer-content {
    display: flex; /* Utiliza flexbox para el layout */
    align-items: center; /* Centra verticalmente los elementos */
    justify-content: center; /* Centra horizontalmente los elementos */
    max-width: 1200px; /* Ancho máximo para el contenido */
    margin: 0 auto; /* Centrar el contenido */
    text-align: center; /* Alinea el texto al centro */
    box-sizing: border-box; /* Incluye el padding y el border en el ancho total */
}

    .footer-content .logo {
        margin-left: -300px; /* Ajusta el margen para evitar desbordamiento */
        height: 100px; /* Ajusta la altura de la imagen según sea necesario */
    }

.footer-text {
    text-shadow: 2px 2px black;
}

    .footer-text p {
        font-size: 20px;
        margin: 0; /* Elimina el margen de los párrafos */
        line-height: 1.2; /* Ajusta el interlineado para mejor legibilidad */
    }
.logo-inicio-sesion {
    width: 100px; /* Ajusta el ancho de la imagen */
    height: auto; /* Mantiene la proporción de la imagen */
    display: block; /* Asegura que la imagen se comporte como un bloque */
    margin: 0 auto; /* Centra la imagen horizontalmente */
}
.barraSuperiorTituloNuevo {
    background-color: #092c3e;
    width: 100%;
    margin-left: 0px;
    margin-right: 0px;
    height: 120px;
    border-top: 2px solid gray;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    box-sizing: border-box;
}

    .barraSuperiorTituloNuevo .columna {
        flex: 1;
        padding: 0 10px;
        min-width: 180px;
    }

    .barraSuperiorTituloNuevo hr {
        margin: 5px 0;
        border-color: darkgray;
    }
.overlay-expediente {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1050;
}

.modal-expediente {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1060;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-dialog-imagen {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.modal-content {
    width: 100%;
    height: 100%;
    border-radius: 0; /* Para que no quede con esquinas redondeadas */
    display: flex;
    flex-direction: column;
}
.contenedor-imagen-expediente {
    display: inline-block;
    overflow: auto;
}

.modal-body-expediente {
    overflow: auto;
    max-width: 200vw;
    max-height: 90vh;
    text-align: center;
}
.zoom-container {
    display: inline-block;
    overflow: auto;
}

    .zoom-container img {
        display: block;
        max-width: none;
        max-height: none;
        transition: transform 0.3s ease;
    }

.zoomable {
    transition: transform 0.3s ease;
    cursor: zoom-in;
}

    .zoomable:hover {
        transform: scale(1.5); /* Ajustá el nivel de zoom */
        cursor: zoom-out;
    }

.content.px-4 {
    padding-left:25px  !important;
    /*padding-right*//*: -1 !important;*/
}
/* Popup de confirmación */
.modal.show-confirmacion-imagen-eliminar{
    z-index: 3000 !important; /* más alto que el modal de imagen */
}
.modal-body-archivos {
    max-height: 80vh; /* o la altura que quieras */
    overflow-y: auto;
}
.ocultar-encabezado th {
    visibility: hidden; /* Oculta el contenido pero mantiene el espacio */
}
/* Modal de modificaciones exclusivo */
.modal-modificaciones {
    width: inherit;
    background-color: white; /* fondo sólido para evitar transparencia */
}

/* Tabla dentro del modal */
.tabla-modificaciones {
    text-align: center;
    white-space: normal;
}

    .tabla-modificaciones tbody tr,
    .tabla-modificaciones tbody td {
        background-color: white; /* cada fila opaca */
    }
/* === Menú Principal en 3 columnas === */
.menu-principal {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columnas iguales */
    gap: 30px;
    max-width: 900px;
    margin: 40px auto; /* Centrado */
}

    .menu-principal .boton-menu {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 20px;
        background-color: #062b3a;
        color: white !important; /* fuerza el color */
        font-weight: bold;
        border-radius: 8px;
        text-align: center;
        cursor: pointer;
        text-decoration: none !important;
        transition: background-color 0.3s ease;
        min-height: 80px; /* aumenta la altura mínima */
        width: 100%;
    }
        .menu-principal .boton-menu img {
            width: 32px; /* ícono un poco más grande */
            height: 32px;
            object-fit: contain; /* evita deformaciones */
        }

        .menu-principal .boton-menu:hover {
            background-color: #0a3d52;
        }

/* === RESPONSIVE === */

/* En tablets (pantallas menores a 992px) → 2 columnas */
@media (max-width: 992px) {
    .menu-principal {
        grid-template-columns: repeat(2, 1fr);
        max-width: 600px;
    }
}

/* En celulares (pantallas menores a 600px) → 1 columna */
@media (max-width: 600px) {
    .menu-principal {
        grid-template-columns: 1fr;
        max-width: 300px;
    }
}
.boton-estado-completado {
    background-color: #28a745; /* Verde */
    color: white;
}

.boton-estado-pendiente {
    background-color: #ffc107; /* Amarillo */
    color: black;
}

.boton-estado-incompleto {
    background-color: #dc3545; /* Rojo */
    color: white;
}

:root {
    --modal-base-z: 3000; /* podés subirlo si tenés otros elementos flotantes */
    --modal-step: 20; /* “salto” de z-index entre niveles */
}

/* Contenedor por instancia de modal (overlay + ventana) */
.modal-layer {
    position: fixed;
    inset: 0;
    /* Cada instancia define su nivel con --modal-level (1, 2, 3, ...) */
}

    /* Overlay común a todos los popups */
    .modal-layer .overlay-popup {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,.5);
        z-index: calc(var(--modal-base-z) + var(--modal-level, 1) * var(--modal-step));
    }

    /* Ventana del modal (sobrescribe z-index de .modal de Bootstrap/Radzen) */
    .modal-layer .modal {
        display: block; /* fuerza la visibilidad sin JS */
        position: fixed; /* para controlar z-index sin backdrop de BS */
        inset: 0;
        z-index: calc(var(--modal-base-z) + var(--modal-level, 1) * var(--modal-step) + 10);
    }

    /* Centrado vertical simple si no usás modal-dialog-centered */
    .modal-layer .modal-dialog {
        margin: 0 auto;
        top: 50%;
        transform: translateY(-50%);
    }

/* (Opcional) Bloquear scroll del body cuando hay modales */
.body-no-scroll {
    overflow: hidden;
}

.modal-layer .modal-expediente {
    display: block;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: calc(var(--modal-base-z) + var(--modal-level, 1) * var(--modal-step) + 10);
    max-width: 90%;
    max-height: 90%;
    overflow: auto;
}
.modal-expediente .modal-content {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.modal-body-expediente {
    padding: 1rem;
}

.contenedor-imagen-expediente img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
}
.modal-confirmacion .modal-content {
    background-color: darkgrey;
    border-radius: 10px;
}
.custom-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1050;
}

.custom-modal {
    background: darkgrey;
    border-radius: 8px;
    padding: 20px;
    min-width: 300px;
    max-width: 500px;
}
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1050; /* el overlay */
}
.page-item{
    z-index:0;
}
.modal-baja-dialog {
    width: auto;
    max-width: 90vw; /* no excede ancho de ventana */
}

.modal-baja-content {
    height: auto; /* se adapta al contenido */
}

.modal-baja-body {
    max-height: none !important;
    overflow: visible !important; /* evita scrollbars */
}
.card-cronometrando {
    border: 1.5px solid yellow;
    background-color:lightyellow
}

/* Texto más grueso, contorno negro, color amarillo */
.texto-cronometrando {
    font-weight: bold;
    color: black;
    
}
.card-plazo-vencido {
    border: 2px solid red;
    background-color: #ffe5e5; /* Fondo suave rojizo */
}

.texto-plazo-vencido {
    
    color: lightcoral;
    text-shadow: 1px 1px 1px #000;
}

.barra-superior-publico {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background-color: #062b3a;
    color: white;
}

.titulo-expediente h1 {
    margin: 0;
    font-weight: 700;
    color: white
}

.titulo-expediente h5 {
    margin: 0;
    font-weight: 400;
    color: white;
}

.contacto-expediente {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.item-contacto {
    display: flex;
    align-items: center;
    margin-bottom: 4px;
}

.icono-contacto {
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

.contacto-expediente a {
    color: white;
    text-decoration: none;
}

    .contacto-expediente a:hover {
        text-decoration: underline;
    }

.btn-buscar {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #062b3a;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

    .btn-buscar:hover {
        background-color: #08455b;
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    }

    .btn-buscar:active {
        transform: scale(0.97);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    }

.icono-buscar {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1); /* para asegurar que se vea blanca */
}

.info-box {
    background-color: #eaf6ed;
    border-left: 5px solid #062b3a;
    padding: 12px 18px;
    border-radius: 8px;
    color: #062b3a;
    font-size: 0.95rem;
    box-shadow: 2px 4px 6px rgba(0, 0, 0, 0.15), -1px -1px 3px rgba(0, 0, 0, 0.05);
    margin: 12px 20px;
}

    .info-box b {
        color: #043a4e;
    }
.disabled-btn {
    background-color: #6c757d !important; /* gris tipo Bootstrap */
    border-color: #6c757d !important;
    color: #fff !important;
    opacity: 0.65;
    cursor: not-allowed;
    pointer-events: none;
    transition: background-color 0.3s ease, opacity 0.3s ease;
}
.small-button {
    padding: 3px 8px;
    font-size: 13px;    
}

.dropdown-menu a {
    cursor: pointer;
}

/* ==== Selector de tipo de expediente ==== */
.contenedor-selector {
    background-color: #e9ecef;
    border-left: 6px solid #062b3a;
    border-radius: 8px;
    padding: 16px 20px;
    max-width: 500px;
    margin: 1.5rem 0 1.5rem 1rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
    text-align: left;
}


/* Label */
.selector-label {
    display: block;
    font-weight: 600;
    color: #062b3a;
    margin-bottom: 8px;
    font-size: 1rem;
}

/* Select */
.selector-expediente {
    width: 100%;
    padding: 10px 12px;
    font-size: 0.95rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    color: #062b3a;
    background-color: white;
    transition: all 0.3s ease;
    cursor: pointer;
}

    /* Efecto al pasar el mouse o enfocar */
    .selector-expediente:hover,
    .selector-expediente:focus {
        border-color: #062b3a;
        box-shadow: 0 0 6px rgba(6, 43, 58, 0.3);
        outline: none;
    }

/* Versión responsive */
@media (max-width: 576px) {
    .contenedor-selector {
        max-width: 100%;
        text-align: center;
    }

    .selector-label {
        margin-bottom: 10px;
    }
}

/* ==== Contenedor general de formularios ==== */
.formularios-publico {
    background-color: #e9ecef;
    border-left: 6px solid #062b3a;
    border-radius: 8px;
    padding: 20px;
    max-width: 600px;
    margin: 1.5rem 0 1.5rem 1rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

    /* Título */
    .formularios-publico h4 {
        color: #062b3a;
        margin-bottom: 1rem;
        font-weight: 700;
        font-size: 1.2rem;
    }

    /* Lista de formularios */
    .formularios-publico ul {
        list-style-type: none;
        padding-left: 0;
        margin: 0;
    }

    /* Cada ítem */
    .formularios-publico li {
        margin-bottom: 10px;
        background-color: white;
        border: 1px solid #d6d6d6;
        border-radius: 6px;
        padding: 10px 14px;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        gap: 8px;
    }

        /* Icono decorativo antes del link */
        .formularios-publico li::before {
            content: "📄";
            font-size: 1.1rem;
        }

        /* Efecto hover del elemento */
        .formularios-publico li:hover {
            background-color: #f0faff;
            border-color: #00BFFF;
            transform: translateX(4px);
        }

    /* Estilo del link */
    .formularios-publico a {
        text-decoration: none;
        color: #062b3a;
        font-weight: 600;
        font-size: 0.95rem;
        transition: color 0.3s ease;
    }

        /* Color del texto al pasar el mouse */
        .formularios-publico a:hover {
            color: #00BFFF;
        }

/* Responsive */
@media (max-width: 576px) {
    .formularios-publico {
        max-width: 100%;
        margin: 1rem;
    }
}

/* ==== Título con ícono ==== */
.titulo-formularios {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

/* Ícono */
.icono-titulo {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

/* Título */
.titulo-formularios h4 {
    color: #062b3a;
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0;
}

/* ==== Bloque texto informativo ==== */
.texto-informativo {
    color: #444;
    background-color: #f8f9fa;
    border-left: 5px solid #062b3a;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 0.95rem;
    max-width: 600px;
    margin-bottom: 1rem;
}

/* ==== Bloque teléfono informativo ==== */
.telefono-informativo {
    color: #062b3a;
    background-color: #e9ecef;
    border-radius: 6px;
    padding: 10px 14px;
    max-width: 600px;
    font-size: 0.95rem;
    border-left: 4px solid #00BFFF;
}

.telefono-link {
    color: #062b3a;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

    .telefono-link:hover {
        color: #00BFFF;
    }

/* ==== Lista de formularios ==== */
.lista-formularios {
    list-style-type: disc;
    padding-left: 20px;
}

.link-formulario {
    text-decoration: none;
    color: #062b3a;
    font-weight: 500;
    transition: color 0.3s ease;
}

    .link-formulario:hover {
        color: #00BFFF;
    }

/* ==== Título con ícono ==== */
.titulo-formularios {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #062b3a;
    margin-bottom: 0.8rem;
}

.icono-titulo {
    width: 28px;
    height: 28px;
}

/* ==== Botón Volver ==== */
.btn-volver {
    background-color: #062b3a;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 10px;
    margin-left: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

    .btn-volver:hover {
        background-color: #00BFFF;
        transform: translateY(-1px);
    }

.icono-volver {
    width: 22px;
    height: 22px;
    vertical-align: middle;
}

/* ==== Bloque de información ==== */
.info-box {
    background-color: #eaf6ed;
    border-left: 5px solid #062b3a;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 0.95rem;
    color: #444;
    max-width: 750px;
    line-height: 1.6;
}

/* ==== Colores para los estados (con fondo + texto oscuro) ==== */

.estado-pendiente {
    background-color: #ff9800; /* Amarillo */
    color: #212529; /* Dark */
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 10px;
}

.estado-incompleto {
    background-color: #dc3545; /* Rojo */
    color: #212529; /* Dark */
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 10px;
}

.estado-asignado {
    background-color: #00BFFF; /* Celeste estilo info */
    color: #212529; /* Dark */
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 10px;
}

.estado-pendiente,
.estado-incompleto,
.estado-asignado {
    font-weight: 700;
    padding: 4px 8px;
    margin: 2px 0;
    line-height: 1.4;
    border-radius: 10px;
    text-shadow: 0 0 1px #fff, /* sombra suave */
    0 0 2px #fff; /* contorno ligero */
}

/* ==== Interacciones suaves ==== */
.estado-pendiente,
.estado-incompleto,
.estado-asignado {
    transition: transform 0.2s ease, opacity 0.3s ease;
    display: inline-block;
}

    .estado-pendiente:hover,
    .estado-incompleto:hover,
    .estado-asignado:hover {
        transform: scale(1.05);
        opacity: 0.9;
    }

    /* Íconos */
    .estado-pendiente::before,
    .estado-incompleto::before,
    .estado-asignado::before {
        margin-right: 4px;
    }

/* ==== Colores para los estados (con fondo + texto oscuro) ==== */
.estado-pendiente {
    background-color: #ff9800; /* Amarillo */
    color: #212529; /* Dark */
}

.estado-incompleto {
    background-color: #dc3545; /* Rojo */
    color: #212529; /* Dark */
}

.estado-asignado {
    background-color: #00BFFF; /* Celeste */
    color: #212529; /* Dark */
}

/* ==== Estilos generales de badges ==== */
.estado-pendiente,
.estado-incompleto,
.estado-asignado {
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 10px;
    display: inline-block;
    transition: transform 0.2s ease, opacity 0.3s ease;
    text-shadow: 0 0 1px #fff, 0 0 2px #fff;
}

    /* ==== Hover ==== */
    .estado-pendiente:hover,
    .estado-incompleto:hover,
    .estado-asignado:hover {
        transform: scale(1.05);
        opacity: 0.9;
    }

}
/* Selector suficientemente general para no depender del atributo generado por Blazor */
.nav-item a.requisitos-link {
    display: flex;
    align-items: center;
    min-height: 3rem; /* mantener aspecto mínimo */
    height: auto !important; /* permitir que crezca si el texto ocupa más líneas */
    padding: 0.5rem 0.75rem;
    white-space: normal; /* permitir wrap */
    line-height: 1.2;
}

    /* Separación del icono */
    .nav-item a.requisitos-link .oi {
        margin-right: 0.5rem;
        flex-shrink: 0;
    }

    /* Ajuste del texto para alinear verticalmente cuando se divide en líneas */
    .nav-item a.requisitos-link .link-text {
        display: inline-block;
        vertical-align: middle;
    }

.link-text {
    line-height: 2; /* 🔹 Reduce el interlineado */
    display: inline-block; /* Asegura que respete el line-height */
}
/* ✅ Modal EXCLUSIVO para Requisitos */
.modal-layer .modal-requisitos {
    display: block;
    position: fixed;
    inset: 0;
    z-index: calc(var(--modal-base-z) + var(--modal-level, 1) * var(--modal-step) + 20);
    overflow: hidden; /* evita desbordes */
}

/* ✅ Dialogo flexible y centrado */
.modal-layer .modal-dialog-requisitos {
    width: 100%;
    height: 55%;
    margin: 32px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    margin-top: 230px;
}

/* ✅ Contenido que se adapta */
.modal-layer .modal-content-requisitos {
    background: #eee;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

/* ✅ Cuerpo scrolleable si hay muchos requisitos */
.modal-layer .modal-body-requisitos {
    overflow-y: auto;
    padding: 1rem;
    max-height: 65vh; /* controla que NO se salga */
}

.min-vh-85 {
    min-height: 85vh;
}

.chart-card {
    height: 420px;
}

.chart-body {
    height: calc(100% - 56px); /* header */
    display: flex;
    align-items: center;
    justify-content: center;
}

.chart {
    width: 100%;
    height: 100%;
}

/* ====== Expediente público (mejora estética sin cambiar lógica) ====== */
.expediente-publico-wrap {
    background: linear-gradient(180deg, #f7fbfd 0%, #ffffff 55%);
    min-height: 100vh;
    padding-bottom: 1.5rem;
}

.barra-superior-publico {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background-color: #062b3a;
    color: white;
    border-bottom: 3px solid #00BFFF33;
    box-shadow: 0 6px 18px rgba(6, 43, 58, 0.22);
}

.titulo-expediente h1 {
    margin: 0;
    font-weight: 700;
    color: white;
    letter-spacing: 0.5px;
    font-size: 1.9rem;
}

.titulo-expediente h5 {
    margin: 0;
    font-weight: 400;
    color: white;
    opacity: 0.92;
}

.contacto-expediente {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.item-contacto {
    display: flex;
    align-items: center;
    margin-bottom: 4px;
}

.icono-contacto {
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

.contacto-expediente a {
    color: white;
    text-decoration: none;
}

    .contacto-expediente a:hover {
        text-decoration: underline;
    }

.btn-volver {
    background-color: #062b3a;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 10px 14px;
    margin: 12px 0 0 12px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

    .btn-volver:hover {
        background-color: #00BFFF;
        transform: translateY(-1px);
    }

.info-box {
    background-color: #eaf6ed;
    border-left: 6px solid #062b3a;
    padding: 12px 18px;
    border-radius: 10px;
    color: #062b3a;
    font-size: 0.95rem;
    line-height: 1.6;
    box-shadow: 2px 4px 6px rgba(0, 0, 0, 0.15), -1px -1px 3px rgba(0, 0, 0, 0.05);
    max-width: 1200px;
    margin: 12px auto;
}

/* Buscador */
.search-panel {
    background: #ffffff;
    border: 1px solid #d9e5eb;
    border-radius: 14px;
    padding: 14px;
    box-shadow: 0 8px 20px rgba(6, 43, 58, 0.08);
}

.search-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr auto;
    gap: 14px;
    align-items: end;
}

.search-field {
    min-width: 180px;
}

.search-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
    display: inline-block;
}

.search-input {
    height: 42px;
    border-radius: 10px;
    border: 1px solid #cdd9df;
    background-color: #fbfdff;
}

    .search-input:focus {
        border-color: #00BFFF;
        box-shadow: 0 0 0 0.17rem rgba(0, 191, 255, 0.18);
    }

.search-action {
    min-width: 130px;
}

.search-btn {
    height: 42px;
    border-radius: 10px;
    background: #062b3a;
    color: #fff;
    font-weight: 600;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-shadow: 0 3px 10px rgba(6, 43, 58, 0.25);
}

    .search-btn:hover {
        background: #0b3e53;
        color: #fff;
    }

.icono-buscar {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

/* Resumen */
.resumen-expediente {
    background: #f4f8fb;
    border: 1px solid #dce8ef;
    border-radius: 12px;
    padding: 10px 12px;
}

.resumen-badge {
    font-weight: 600;
    font-size: 0.88rem;
    border-radius: 999px;
    padding: 0.5rem 0.85rem;
}

.resumen-badge-tipo {
    background-color: #0d6efd;
    color: #fff;
}

.resumen-badge-area {
    background-color: #062b3a;
    color: #fff;
}

/* Avisos */
.aviso-expediente {
    font-size: 0.95rem;
    font-weight: 600;
    padding: 10px 14px;
    max-width: 520px;
    border-radius: 10px;
}

.icono-aviso {
    width: 28px;
    height: 28px;
    margin-right: 10px;
}

.aviso-riesgo {
    border-left: 6px solid #dc3545;
}

/* Tarjetas dependencia */
.dependencia-header {
    background-color: #062b3a;
    color: #fff;
    padding: 0.85rem 1rem;
}

.dependencia-titulo {
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
}

.dependencia-subtitulo {
    font-size: 0.88rem;
    opacity: 0.9;
}

.dependencia-phone-link {
    color: #e6f7ff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.25s ease;
}

    .dependencia-phone-link:hover {
        color: #00BFFF;
    }

.dependencia-phone-empty {
    font-size: 0.9rem;
}

/* Estados */
.estado-pendiente {
    background-color: #ff9800;
    color: #212529;
}

.estado-incompleto {
    background-color: #dc3545;
    color: #212529;
}

.estado-asignado {
    background-color: #00BFFF;
    color: #212529;
}

.estado-completo {
    background-color: #198754;
    color: #fff;
}

.estado-pendiente,
.estado-incompleto,
.estado-asignado,
.estado-completo {
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 10px;
    display: inline-block;
    transition: transform 0.2s ease, opacity 0.3s ease;
}

    .estado-pendiente:hover,
    .estado-incompleto:hover,
    .estado-asignado:hover,
    .estado-completo:hover {
        transform: scale(1.05);
        opacity: 0.9;
    }

/* Responsive */
@media (max-width: 992px) {
    .search-grid {
        grid-template-columns: 1fr 1fr;
    }

    .search-action {
        grid-column: span 2;
    }
}

@media (max-width: 576px) {
    .search-grid {
        grid-template-columns: 1fr;
    }

    .search-action {
        grid-column: auto;
    }

    .titulo-expediente h1 {
        font-size: 1.55rem;
    }

    .barra-superior-publico {
        padding: 14px 16px;
    }

    /* ✅ AGREGAR AL FINAL */

    /* Spinner de carga */
    .spinner-border {
        display: inline-block;
        width: 2rem;
        height: 2rem;
        vertical-align: text-bottom;
        border: 0.25em solid currentColor;
        border-right-color: transparent;
        border-radius: 50%;
        animation: spinner-border 0.75s linear infinite;
    }

    @keyframes spinner-border {
        to {
            transform: rotate(360deg);
        }
    }

    .spinner-border-sm {
        width: 1rem;
        height: 1rem;
        border-width: 0.2em;
    }

    .visually-hidden {
        position: absolute !important;
        width: 1px !important;
        height: 1px !important;
        padding: 0 !important;
        margin: -1px !important;
        overflow: hidden !important;
        clip: rect(0,0,0,0) !important;
        white-space: nowrap !important;
        border: 0 !important;
    }
}
