 /* GENERAL */
.swagger-ui * {
    font-family: 'Montserrat', sans-serif !important;
}
.swagger-ui {
    margin-top: 40px;
}
body {
    zoom: 0.92; /* Ajusta el zoom sin cambiar la distribución */
    background-color: #121212;
    color: #e0e0e0 !important;
    font-family: 'Montserrat', sans-serif !important;
}




 /* GENERALES */
 p {
    color: #999999 !important;
    font-family: 'Montserrat', sans-serif !important;
}
.scheme-container {
    background: rgba(255, 255, 255, 0)  !important;
}
.nostyle{
    color: #999999 !important;
}


/* TITULO del API */
.swagger-ui .info h1, .swagger-ui .info h2, .swagger-ui .info h3 {
    color: #c0c0c0 !important;
}
/* Description del API */
.info__summary{
}




 /* Oculta completamente el elemento OAS etiqueta badget*/
.swagger-ui .version-stamp {
    display: none !important;
}


/* SERVERS */
.servers-title{
    font-size: 14px  !important;
    color: #999999 !important;
    font-weight: 100 !important;

}
.servers{
    margin-top: 10px !important;
}
.swagger-ui .scheme-container select {
    background-color: #020303 !important; 
    color: #999999 !important;
    border: 1px solid #333333; 
    font-weight: 100 !important;
}
select#servers{
    height: 32px !important;
}





/* CAJA DE ENDPOINTS */

/* Desplegables de los endpoints CAJA completa */
.swagger-ui .opblock-tag-section {
    background-color: rgba(2, 3, 3, 0.2) !important;
    margin-top: 10px !important;
    margin-bottom: 30px !important;
    transition: background-color 0.3s;
    padding: 0px 20px !important;
    border: 0.5px solid #333333 !important;
    border-radius: 5px !important;
}
.swagger-ui .opblock-tag {
    margin: 0px !important;
}
.swagger-ui .opblock-tag-section:hover {
    background-color: rgba(2, 3, 3, 0.9) !important;
    margin: 0px !important;
    margin-top: 10px !important;
    margin-bottom: 30px !important;
}
/* Flecha para desplegar CATEGORIA */
.swagger-ui .opblock-tag-section .expand-operation svg.arrow path {
    fill: #ffffff !important; /* Cambia el color de la flecha a blanco */
}
/* Flecha para desplegar endpoints */
.swagger-ui .opblock .opblock-summary .opblock-control-arrow path {
    fill: #8c98ab !important; /* Cambia el color de la flecha a blanco */
}
/* Tods los textos childs dentro del enpoint */
div.opblock-body, div.opblock-body * {
    color: #999999 !important;
}
/* Divisor de parametros y response en el endpoint desplegado */
.opblock-section-header{
    background: hsla(0, 0%, 100%, .08) !important;
    min-height: 40px !important;
}


/* CONTENIDO DE CAJA DE ENDPOINTS */


 /* Descripcion del endpoint (a la derecha del path) */
 .swagger-ui .opblock-summary-description {
    color: #666666 !important; 
}
/* METHOD: GET, POST */
.swagger-ui .opblock-summary-method {
    color: #000000 !important; 
    filter: brightness(0.5); /* Aplica un efecto de oscuridad al color */
}
/* Desplegable  GET */
.swagger-ui .opblock.opblock-get {
    border: 0.5px solid  #3b6d9c !important;
    border-color: #3b6d9c !important; 
    background-color: rgba(0, 0, 0, 0.28);
}
.swagger-ui .opblock.opblock-get .opblock-summary {
    border-bottom: 0px solid #3b6d9c !important; 
}


/* Desplegable  POST */
.swagger-ui .opblock.opblock-post {
    border-color: #1c5c21 !important; 
    background-color: rgba(0, 0, 0, 0.28);
}
.swagger-ui .opblock.opblock-post .opblock-summary {
    border-bottom: 0px solid #1c5c21 !important; 
}

/* Evita que se ponga blanco el borde del desplegable de cada endpoint al abrirlo */
.swagger-ui .opblock-summary-control:focus,
.swagger-ui .opblock-summary-control:active {
    border-color: #000000 !important; 
    outline: none !important; /* Elimina el contorno blanco */
}

/* Boton TRY it OUT */
.swagger-ui .try-out__btn {
    background-color: #000000 !important; 
    color: #ffffff !important; 
    border: 1px solid #FFFFFF !important; 
}
/* Boton EXECUTE */
.swagger-ui .btn.execute {
    background-color: #003366 !important;
    border-color: #002244 !important;
    color: #ffffff !important; 
    font-weight: bold !important; 
}

/* SELECT de params de post por formulario */
.swagger-ui .content-type-wrapper select {
    background-color: #333333 !important;
    color: #ffffff !important; 
    border: 1px solid #555555 !important;
    font-weight: normal !important;
}
/* inputs dentro de la sección de parámetros */
.swagger-ui .parameters-col_description input {
    background-color: #333333 !important;
    color: #ffffff !important; 
    border: 1px solid #555555 !important;
    padding: 5px 10px !important; 
    border-radius: 4px !important;
    font-size: 14px !important;
}


/* Links de adentro de los endpoints */
div.opblock-description-wrapper ul li p a {
    text-decoration: none !important;
    color: #4d7a99 !important; 
}
div.opblock-description-wrapper ul li p a:hover {
    color: #346180 !important; 
}

.swagger-ui .responses-table,
.swagger-ui .responses-table th,
.swagger-ui .responses-table td {
    font-size: 11px !important; 
}



 /* Footer */

 footer {
    padding: 15px 0  !important;
    text-align: center  !important;
    font-family: 'Montserrat', sans-serif !important;
}
footer p {
    margin: 0  !important;
    font-size: 11px  !important;
    font-weight: 400  !important;
    font-family: 'Montserrat', sans-serif !important;
}
footer a {
    font-size: 11px  !important;
    color: #666666;
    text-decoration: none;
    transition: color 0.3s ease;
}
footer .separator {
    font-size: 11px  !important;
    color: #666666;
    text-decoration: none;
    transition: color 0.3s ease;
}
footer a:hover {
    font-size: 11px  !important;
    color: #999999;
    text-decoration: underline;
}
footer.footer {
    border-top: 1px solid #333; /* Línea divisora sutil */
    background-color: #111; /* Opcional: fondo del footer */
    padding: 10px 20px;
    color: #fff; /* Color del texto */
    text-align: center;
}
#swagger-ui {
    flex: 1;
}
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
}
