/**
	Estilos del proyecto Hermes - Identidad UNLaR
*/
@import url('bootstrap.min.css');

/* ---- Variables de color UNLaR ---- */
/*
  Azul principal: #1a6ab0
  Azul oscuro:   #0d4f8c
  Azul claro:    #e8f0f8
  Gris UNLaR:    #6d6d6d
*/

/* ---- Base ---- */
body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    background-color: #f0f4f8;
}

/* ---- Encabezado / Cabecera ---- */
.encabezado {
    background-color: #0d4f8c !important;
    border-bottom: 4px solid #1a6ab0 !important;
}

#barra_superior {
    background: #0d4f8c !important;
    background-image: none !important;
    border-bottom: 3px solid #1a6ab0 !important;
    min-height: 50px;
    display: flex !important;
    align-items: center;
}

/* Logo */
#enc-logo {
    min-height: 44px;
}

/* Usuario en cabecera - sobre fondo blanco del encabezado */
.enc-usuario {
    color: #0d4f8c;
    padding: 5px 10px;
}

.enc-usuario-nom {
    font-weight: bold;
    font-size: 14px;
    color: #0d4f8c;
}

.enc-usuario-id {
    font-size: 11px;
    color: #1a6ab0;
    display: block;
}

/* ---- Menu ---- */
.zona-items {
    background: linear-gradient(180deg, #1a6ab0 0%, #0d4f8c 100%) !important;
    background-image: none !important;
}

.menu-nivel-0 a,
.menu-nivel-1 a,
.menu-nodo a {
    color: #ffffff !important;
}

.menu-nivel-0 a:hover,
.menu-nivel-1 a:hover,
.menu-nodo a:hover {
    background-color: rgba(255,255,255,0.15) !important;
    color: #ffffff !important;
    text-decoration: none;
}

/* ---- Cuadros (listados) ---- */
.ei-cuadro-col-tit,
.ei-ml-columna {
    background: #1a6ab0 !important;
    background-image: none !important;
    color: #fff !important;
    padding: 8px 10px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none !important;
}

.ei-cuadro tr:nth-child(even) td {
    background-color: #f0f4f8;
}

.ei-cuadro tr:hover td {
    background-color: #d6e8f7;
    cursor: pointer;
}

.ei-cuadro td {
    padding: 7px 10px;
    border-bottom: 1px solid #dee2e6;
    vertical-align: middle;
}

/* ---- Botonera ---- */
.ci-botonera,
.ei-barra-sup {
    background: #e8f0f8 !important;
    background-image: none !important;
    border-top: 1px solid #b8d4ed;
    border-bottom: 1px solid #b8d4ed;
    padding: 7px 10px;
}

/* ---- Botones ---- */
input[type="submit"],
input[type="button"],
button,
a.ef-boton,
.ef-boton,
.ef-boton-peligro,
.ef-boton-ok {
    display: inline-block;
    padding: 5px 14px;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: 4px;
    transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
    margin: 2px;
    text-decoration: none;
}

input[type="submit"],
.ef-boton-ok {
    background-color: #1a6ab0;
    color: #fff !important;
    border-color: #1a6ab0;
}

input[type="submit"]:hover,
.ef-boton-ok:hover {
    background-color: #0d4f8c;
    border-color: #0d4f8c;
    color: #fff !important;
}

.ef-boton {
    background-color: #6d6d6d;
    color: #fff !important;
    border-color: #6d6d6d;
}

.ef-boton:hover {
    background-color: #555555;
    color: #fff !important;
}

.ef-boton-peligro {
    background-color: #dc3545;
    color: #fff !important;
    border-color: #dc3545;
}

.ef-boton-peligro:hover {
    background-color: #bb2d3b;
    color: #fff !important;
}

/* ---- Campos de formulario ---- */
.ei-formulario label,
.ef-label {
    font-weight: 600;
    font-size: 12px;
    color: #0d4f8c;
    margin-bottom: 3px;
}

input[type="text"],
input[type="password"],
input[type="email"],
select,
textarea {
    border: 1px solid #b8d4ed;
    border-radius: 4px;
    padding: 5px 8px;
    font-size: 13px;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

input[type="text"]:focus,
input[type="password"]:focus,
select:focus,
textarea:focus {
    border-color: #1a6ab0;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(26, 106, 176, 0.25);
}

/* ---- Filtro ---- */
.ei-filtro-columna {
    background: #1a6ab0 !important;
    background-image: none !important;
    color: #fff !important;
    padding: 8px 10px;
    font-weight: bold;
    font-size: 13px;
    border: none !important;
}

/* ---- Paneles / Tabs ---- */
.ci-panel-titulo {
    background: #1a6ab0 !important;
    background-image: none !important;
    color: #fff !important;
    padding: 8px 12px;
    font-weight: bold;
    font-size: 13px;
}

.ci-tabs-h-lista {
    background: #e8f0f8 !important;
    background-image: none !important;
    border-bottom: 2px solid #1a6ab0 !important;
}

.ci-tabs-h-solapa a {
    color: #0d4f8c;
    padding: 8px 14px;
    display: inline-block;
    background-image: none !important;
}

.ci-tabs-h-solapa-sel {
    background-image: none !important;
}

.ci-tabs-h-solapa-sel a {
    color: #1a6ab0 !important;
    font-weight: bold;
    background-image: none !important;
    border-bottom: 2px solid #1a6ab0;
}

/* ---- Notificaciones ---- */
.apex-notificacion-error {
    background-color: #f8d7da;
    border-left: 4px solid #dc3545;
    color: #842029;
    padding: 10px 15px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.apex-notificacion-ok {
    background-color: #d1e7dd;
    border-left: 4px solid #198754;
    color: #0f5132;
    padding: 10px 15px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.apex-notificacion-info {
    background-color: #e8f0f8;
    border-left: 4px solid #1a6ab0;
    color: #0d4f8c;
    padding: 10px 15px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.apex-notificacion-warning {
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
    color: #664d03;
    padding: 10px 15px;
    border-radius: 4px;
    margin-bottom: 10px;
}

/* ---- Override skin cubos - colores calidos/naranja ---- */
/* El skin "cubos" usa algunos tonos calidos que reemplazamos */
.encabezado {
    background-color: #0d4f8c !important;
}

/* Fila seleccionada en cuadros */
.ei-cuadro-fila-sel td,
tr.seleccionada td {
    background-color: #b8d4ed !important;
}

/* Links generales */
a {
    color: #1a6ab0;
}

a:hover {
    color: #0d4f8c;
}

/* Zona de contenido */
.zona-contenido,
.ci-zona-items {
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 10px;
    margin: 5px;
}

/* Titulo de item/pantalla */
.ci-titulo {
    color: #0d4f8c;
    font-size: 16px;
    font-weight: bold;
    border-bottom: 2px solid #1a6ab0;
    padding-bottom: 5px;
    margin-bottom: 10px;
}

/* Paginacion */
.ei-cuadro-paginacion a {
    color: #1a6ab0;
}

.ei-cuadro-paginacion a:hover {
    color: #0d4f8c;
}

/* Cambio proyecto/perfil */
.enc-cambio-proy select {
    border-radius: 4px;
    border: 1px solid #b8d4ed;
    padding: 3px 6px;
    font-size: 12px;
}

/* ---- Logos naranja → azul UNLaR ---- */
/* hue-rotate(180deg): naranja ~30° → azul ~210° */
img.logo-azul {
    filter: hue-rotate(180deg) saturate(1.1);
    transition: filter 0.2s;
}

img.logo-azul:hover {
    filter: hue-rotate(180deg) saturate(1.4) brightness(1.1);
}
