/* ================================
   BASE
================================ */

html, body{
	height:100%;
	margin:0;
	overflow:hidden;
	font-family: 'Inter', sans-serif;
}

.tituloView{
	font-size:24px;
	font-weight:bold;
	margin-bottom:25px;
	width:100%;
	text-align:Left;
}

.tac{
	text-align:center;
}

.tal{
	text-align:left;
}

.tar{
	text-align:right;
}

/* ================================
   HEADER
================================ */

.headerBar{

	display:flex;
	align-items:center;
	justify-content:space-between;

	height:50px;
	width:100%;

	background:#003366;
	color:white;

	padding:0 12px;

	box-shadow:0 2px 6px rgba(0,0,0,0.2);

	position:relative;
	z-index:10;

}

/* columnas header */

.headerLeft,
.headerRight{
	display:flex;
	align-items:center;
}

.headerCenter{
	position:absolute;
	left:50%;
	transform:translateX(-50%);
}

/* logos */

.logoObs{
	height:32px;
}

.logoCentro{
	height:34px;
}

/* logout */

.logoutIcon{
	font-size:22px;
	cursor:pointer;
	padding:5px;
}

.logoutIcon:hover{
	color:#ffcc66;
}



/* ================================
   LAYOUT
================================ */

.adminLayout{
	height:calc(100vh - 50px);
}

.layoutContainer{
	display:flex;
	height:100%;
	width:100%;
}



/* ================================
   MENU LATERAL
================================ */

.menuLateral{
	width:180px;
	min-width:180px;
	border-right:1px solid #ddd;
	background:#fafafa;
	transition:width .2s ease;
    display:flex;
    flex-direction:column;
}

.menuScroll{
    overflow-y:auto;
    flex:1;
}

.menuCollapsed{
	width:60px;
	min-width:60px;
}


/* titulo menú */
.menuTitulo{
	padding:10px 12px;
	font-weight:bold;
	cursor:pointer;
	border-bottom:1px solid #eee;
}


/* items */
.menuItem{
	padding:6px 10px;
    font-size:12px;  
	border-bottom:1px solid #eee;
	cursor:pointer;
	display:flex;
	align-items:center;
}

.menuItem i{
	width:16px;
	text-align:center;
	margin-right:6px;
}

.menuItem:hover{
	background:#f2f2f2;
}

.menuItemSel{
	background:#e8f1ff;
	font-weight:bold;
}


/* separadores */

.menuSeparador{
	height:8px;
	background:#eee;
}

.menuSubtitulo{
    font-size:11px;
    padding:6px 10px;
    color:#888;
    cursor:pointer;                 /* 👈 nuevo */
    display:flex;                   /* 👈 nuevo */
    align-items:center;
    gap:6px;
    user-select:none;
}

.menuSubtitulo:hover{
    background:#f2f2f2;            /* 👈 feedback */
}



/* ================================
   VIEW
================================ */

.viewContainer{
	flex:1;
	display:flex;
	flex-direction:column;
}

.viewScroll{

	flex:1;
	overflow-y:auto;
	background:#e9e9e9;
	padding:20px;

}



/* ================================
   INICIO / DASHBOARD
================================ */

.adminInicio{
	text-align:center;
	padding:0 180px 10px 0;
}

.inicioLogo img{
	height:80px;
	margin-bottom:5px;
}

.inicioTitulo{
	font-size:24px;
	margin-bottom:5px;
}

.inicioSubtitulo{
	color:#888;
	margin-bottom:40px;
}

.inicioGrid{

	display:flex;
	flex-wrap:wrap;
	justify-content:center;
	gap:20px;
	padding:15px 0;

}

.inicioCard{

	width:160px;
	height:100px;

	border:1px solid #ddd;
	border-radius:6px;

	display:flex;
	flex-direction:column;
	align-items:center;
	justify-content:center;

	cursor:pointer;
	background:#fff;

	transition:all .2s;

}

.inicioCard i{

	font-size:28px;
	margin-bottom:8px;
	color:#003366;

}

.inicioCard:hover{

	background:#f5f7fb;
	transform:translateY(-2px);
	box-shadow:0 4px 10px rgba(0,0,0,0.1);

}

.cv_preview{
	font-family: 'Montserrat';
	margin:0 auto; 
	font-size:12px; 
	color:#666
}


.cv_preview p{
	margin: 5px 3px;
	line-height: 1.4;
	white-space: normal;
	color: #666;
	text-align:justify;
}

.cv_preview h1,
.cv_preview h2,
.cv_preview h3{
	margin-top:8px;
	margin-bottom:4px;
	font-weight:600;
	font-size:14px;
}

.cv_preview ul{
	list-style-type:disc;
	list-style-position:outside;
	padding-left:18px;
	margin:4px 0 6px 0;
}

.cv_preview li{
	display:list-item;
	list-style-type:disc;
	margin-bottom:3px;
	line-height:1.4;
	color:#666;
	font-size:12px;
}


.cv_preview p,
.cv_preview ul,
.cv_preview li,
.cv_preview h1,
.cv_preview h2,
.cv_preview h3{
	display:block;
}

.cv_preview ul{
	list-style:disc !important;
}
.cv_preview li{
	list-style:disc !important;
	display:list-item;
	text-align: justify;
}

.cv_toggle{
	cursor:pointer;
	font-size:16px;
	color:#aaa;
	transition:0.2s;
}

.cv_toggle:hover{
	color:#666;
}

.cv_toggle.activo{
	color:#6a5acd;   /* mismo tono violeta del observatorio */
}



td span:hover{
	background:#f2f2f2;
	padding:2px 4px;
	border-radius:3px;
}

.table-chica{
	font-size:12px;
}

.table-chica td{
	padding:8px;
}

/* =========================
   TABLA BASE
========================= */
.gcListadoTabla tbody tr {
	transition: all 0.2s ease;
}

/* =========================
   HOVER (no rompe color dinámico)
========================= */
.gcListadoTabla tbody tr:hover {
	filter: brightness(0.96);
	transform: scale(1.002);
}

/* =========================
   SELECCIÓN
========================= */
.gcListadoTabla tbody tr.sel {
	background-color: #e0f2fe !important;
}

/* =========================
   BORDE IZQUIERDO (mejora visual)
========================= */
.gcListadoTabla tbody tr td:first-child {
	padding-left: 10px;
}

/* =========================
   SOMBRA SUTIL EN HOVER (opcional PRO)
========================= */
.gcListadoTabla tbody tr:hover {
	box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* =========================
   BADGES (por si usás sigla)
========================= */
.gcListadoTabla span {
	display: inline-block;
	line-height: 1;
}

/* =========================
   ICONOS ESTADO
========================= */
.gcListadoTabla .fa-check-circle {
	color: #16a34a;
}

.gcListadoTabla .fa-times-circle {
	color: #dc2626;
}



/* GRID 4-5 columnas automático */
.gcColorGrid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: 2px;
	margin-top: 2px;
}

/* Item */
.gcColorItem {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 4px 6px;
	border-radius: 6px;
	cursor: pointer;
	border: 1px solid #e5e7eb;
	transition: all 0.15s ease;
	background: #fff;
}

/* Hover */
.gcColorItem:hover {
	background: #f3f4f6;
}

/* Selección */
.gcColorItem.sel {
	border: 1px solid #2563eb;
	background: #eff6ff;
}

/* Cuadrado color */
.gcColorBox {
	width: 14px;
	height: 14px;
	border-radius: 3px;
	border: 1px solid #ccc;
	flex-shrink: 0;
}

/* Nombre */
.gcColorName {
	font-size: 12px;
	color: #374151;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Texto seleccionado */
.gcColorSel {
	margin-top: 8px;
	font-size: 12px;
}