/* =====================================================================
   organizacion.php - instrumentos de gestion de la DRTC Ancash
   Mismo lenguaje visual que direccion.css: azul #0182c6, acento dorado
   #D3B339 y texto #4f4f4f.
   ===================================================================== */

/* ---------------------------------------------------------------- */
/* Menu lateral: pestanas sobre el fondo azul de .col_area_3         */
/* ---------------------------------------------------------------- */

.organizacion__menu {
	border: 0;
	margin-bottom: 0;
}

.organizacion__tab {
	display: flex;
	align-items: center;
	gap: 10px;
	background: rgba(255, 255, 255, 0.10);
	border: 1px solid rgba(255, 255, 255, 0.22) !important;
	border-left: 4px solid transparent !important;
	border-radius: 6px;
	color: #fff;
	margin-bottom: 8px;
	padding: 11px 12px;
	font-size: 13px;
	line-height: 1.35;
	transition: background-color .2s, border-color .2s, transform .2s;
}

.organizacion__tab:hover {
	background: rgba(255, 255, 255, 0.22);
	color: #fff;
	transform: translateX(3px);
}

.organizacion__tab:focus {
	outline: 0;
	box-shadow: 0 0 0 2px rgba(211, 179, 57, .75);
}

.organizacion__tab h6 {
	margin: 0;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
}

.organizacion__tab .fa {
	width: 18px;
	flex: 0 0 18px;
	text-align: center;
	font-size: 14px;
	opacity: .9;
}

/* La seccion abierta queda en blanco, con filete dorado a la izquierda. */
.organizacion__tab.active,
.organizacion__tab.active:hover {
	background: #fff;
	color: #0182c6;
	border-left-color: #D3B339 !important;
	box-shadow: 0 2px 6px rgba(0, 0, 0, .18);
	transform: none;
}

.organizacion__tab.active h6 {
	font-weight: 700;
}

/* Contador de documentos de cada seccion, alineado a la derecha. */
.organizacion__badge {
	margin-left: auto;
	flex: 0 0 auto;
	min-width: 22px;
	text-align: center;
	background: rgba(255, 255, 255, 0.18);
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 10px;
	padding: 1px 6px;
	font-size: 10.5px;
	font-weight: 700;
	line-height: 1.6;
}

.organizacion__tab.active .organizacion__badge {
	background: #0182c6;
	border-color: #0182c6;
	color: #fff;
}

.organizacion__marca {
	text-align: center;
	padding-bottom: 5px;
}

.organizacion__marca img {
	padding-top: 10px;
	padding-bottom: 10px;
}

@media (min-width: 992px) {
	.organizacion__sticky {
		position: sticky;
		top: 15px;
	}
}

/* ---------------------------------------------------------------- */
/* Panel de la seccion                                              */
/* ---------------------------------------------------------------- */

.organizacion__panel {
	padding: 0 4px;
}

.organizacion__contenido {
	padding-bottom: 50px;
}

.organizacion__titulo {
	margin: 0 0 26px;
	padding-left: 15px;
	border-left: 5px solid #D3B339;
	color: #0182c6;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.25;
}

/* ---------------------------------------------------------------- */
/* Tabla de documentos                                              */
/* ---------------------------------------------------------------- */

.organizacion__tabla {
	border: 1px solid #e3e8ee;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 3px 10px rgba(2, 32, 55, .06);
}

.organizacion__table {
	margin-bottom: 0;
}

.organizacion__table thead th {
	background: linear-gradient(135deg, #0182c6 0%, #0e6da8 100%);
	color: #fff;
	border: 0;
	padding: 13px 15px;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: .5px;
	text-transform: uppercase;
	vertical-align: middle;
}

.organizacion__table tbody td {
	padding: 13px 15px;
	border-color: #eef2f6;
	color: #4f4f4f;
	font-size: 14.5px;
	line-height: 1.6;
	vertical-align: middle;
}

.organizacion__table tbody tr:nth-child(even) {
	background: #fafcfe;
}

.organizacion__table tbody tr:hover {
	background: #eef7fd;
}

.organizacion__table .num {
	width: 5%;
	text-align: center;
	color: #0182c6;
	font-weight: 700;
}

.organizacion__table .desc {
	width: 10%;
	text-align: center;
}

/* Boton circular de descarga que envuelve el icono PDF. */
.organizacion__descarga {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: #f1f6fa;
	border: 1px solid #dde7ef;
	transition: background-color .2s, border-color .2s, transform .2s, box-shadow .2s;
}

.organizacion__descarga:hover {
	background: #0182c6;
	border-color: #0182c6;
	transform: translateY(-2px);
	box-shadow: 0 6px 14px rgba(1, 130, 198, .3);
}

.organizacion__descarga img {
	width: 26px;
	height: 26px;
}

/* Etiqueta verde para los documentos vigentes. */
.organizacion__vigente {
	display: inline-block;
	margin-left: 6px;
	padding: 2px 8px;
	background: #e3f4e6;
	border: 1px solid #b9e2c0;
	border-radius: 10px;
	color: #2f7d3c;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .3px;
	text-transform: uppercase;
	vertical-align: middle;
}

/* Estado vacio para secciones sin documentos publicados. */
.organizacion__vacio {
	display: block;
	padding: 26px;
	background: #f7f9fb;
	border: 1px dashed #d5dde6;
	border-radius: 10px;
	color: #8a939c;
	font-size: 14px;
	text-align: center;
}

.organizacion__vacio .fa {
	margin-right: 6px;
}

@media (max-width: 991px) {
	.organizacion__titulo {
		font-size: 20px;
		margin-bottom: 20px;
	}

	.organizacion__tab {
		font-size: 12.5px;
	}
}
