@charset "utf-8";
/*==========================================================================
   SECTION 1: SETTINGS & BRANDING (Variables, Fonts)
========================================================================== */
:root {
	--color-principal: #039fff;
	--color-azul-oscuro: #091639;
	--color-gris-oscuro: #352e30;
	--color-gris-claro: #787878;
	--fuente-regular: 'Lato', sans-serif;
	--fuente-bold: 'Lato', sans-serif;
}
/* --- Fuentes (Fonts) --- */
@font-face {
	font-display: swap;
	font-family: 'sourcesans-regular';
	font-style: normal;
	font-weight: normal;
	src: url('../fuentes/sourcesanspro-regular.woff2') format('woff2');
}
@font-face {
	font-display: swap;
	font-family: 'sourcesans-bold';
	font-style: normal;
	font-weight: normal;
	src: url('../fuentes/sourcesanspro-bold.woff2') format('woff2');
}
@font-face {
	font-display: swap;
	font-family: 'Lato';
	font-style: normal;
	font-weight: 100;
	src: url('../fuentes/Lato-Thin.woff2') format('woff2');
}
@font-face {
	font-display: swap;
	font-family: 'Lato';
	font-style: normal;
	font-weight: 300;
	src: url('../fuentes/Lato-Light.woff2') format('woff2');
}
@font-face {
	font-display: swap;
	font-family: 'Lato';
	font-style: normal;
	font-weight: 400;
	src: url('../fuentes/Lato-Regular.woff2') format('woff2');
}
@font-face {
	font-display: swap;
	font-family: 'Lato';
	font-style: normal;
	font-weight: 700;
	src: url('../fuentes/Lato-Bold.woff2') format('woff2');
}
@font-face {
	font-display: swap;
	font-family: 'Lato';
	font-style: normal;
	font-weight: 900;
	src: url('../fuentes/Lato-Black.woff2') format('woff2');
}
/*==========================================================================
   SECTION 2: CSS RESET & NORMALIZE
========================================================================== */
@view-transition { navigation: auto; }
html{font-size:62.5%;font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent;}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{font-size:2em;margin:0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 4rem}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0}input[type="number"]::-webkit-inner-spin-button,input[type="number"]::-webkit-outer-spin-button{height:auto}input[type="search"]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid silver;margin:0 0.2rem;padding:.35em .625em .75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}
* {
	margin: 0;
	padding: 0;
	border-collapse:collapse;
	font-family: var(--fuente-regular);
	font-weight:normal;
	font-size:1em;
	line-height: 1em;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
/*==========================================================================
   SECTION 3: BASE ELEMENTS
========================================================================== */
b,
strong,
.bold,
.medium,
.regular,
.light{
	font-weight:normal;
	font-size:1em;
}
b,
strong,.bold{font-family: var(--fuente-bold); font-weight: 700;}
html,
body{
	width:100%;
	height:100%;
}
a{cursor:pointer;}
a img{border:none;}
ul{list-style-type:none}
body.noscroll{overflow:hidden}
hr{
	width:100%;
	height:1px;
	background-color:#CCC;
	border:none;
	display:inline-block;
	margin-bottom:1rem;
}
.disabled,
.disabled:hover {
    opacity: 0.5 !important;
    cursor: pointer !important;
    pointer-events: none !important;
}
/* --- Formularios Base (Form Element Defaults) --- */
form,
form div,
form label,
form input,
form select,
form option,
form textarea{
	display:inline-block
}
form{
	width:100%;
}
@media screen and (max-width: 979px) {
	form div{padding-bottom:0}
}
form label,
form input,
form select,
form option,
form textarea{
	font-size:1.7rem;
	color:#000;
	text-align:left;
}
form label{
	display:inline-block;	
	width:100%;	
	padding-bottom:0.5rem;
	color:#666;
	font-size:1.5rem;
}
form input,
form select,
form textarea{
	background-color:#FFF;
	border:solid 1px #CCC;
	width:100%;
	padding:0.8rem;
}
form input,
form select{
	height:4rem;
}
form textarea{
	min-height:6rem;
}
form select {
	background-image: url(../images/ico-select-down.svg);
	background-repeat: no-repeat;
	background-position: right 0.5rem center;
	background-size:1rem;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}
form select option{
	font-size:inherit;
	color:inherit;
	line-height:inherit;
}
form input::placeholder,
form textarea::placeholder{
	color:#999;	
}
form input[type="checkbox"],
form input[type="radio"]{
	width:2.3rem;
	height:2.3rem;
}
form input:disabled,
form input:disabled:hover,
form select:disabled,
form select:disabled:hover,
form textarea:disabled,
form textarea:disabled:hover {
	opacity:0.3;
	pointer-events:none;
	cursor: default !important;
}
form input.calendar{
	background-image: url(../images/ico-calendario.svg);
	background-repeat: no-repeat;
	background-position: right 0.8rem center;	
	background-size:1.8rem;
}
/*==========================================================================
   SECTION 4: UTILITIES (Grids, Spacings, Alignment)
========================================================================== */
/* --- Contenedores y Anchos (Containers & Widths) --- */
.grid-container {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
}
.content-980,
.content-1180,
.content-1380,
.content-full {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 2rem;
    padding-right: 2rem;
}
.content-980  { max-width: 102rem; }
.content-1180 { max-width: 122rem; }
.content-1380 { max-width: 142rem; }
.content-full { max-width: 100%; }
/* --- CSS Grid Columns --- */
.grid-1,
.grid-2,
.grid-3,
.grid-4,
.grid-5,
.grid-6,
.grid-7,
.grid-8,
.grid-9,
.grid-10,
.grid-11,
.grid-12 {
    display: grid;
}
.grid-1  { grid-template-columns: repeat(1, 1fr); }
.grid-2  { grid-template-columns: repeat(2, 1fr); }
.grid-3  { grid-template-columns: repeat(3, 1fr); }
.grid-4  { grid-template-columns: repeat(4, 1fr); }
.grid-5  { grid-template-columns: repeat(5, 1fr); }
.grid-6  { grid-template-columns: repeat(6, 1fr); }
.grid-7  { grid-template-columns: repeat(7, 1fr); }
.grid-8  { grid-template-columns: repeat(8, 1fr); }
.grid-9  { grid-template-columns: repeat(9, 1fr); }
.grid-10 { grid-template-columns: repeat(10, 1fr); }
.grid-11 { grid-template-columns: repeat(11, 1fr); }
.grid-12 { grid-template-columns: repeat(12, 1fr); }
/* --- Column Spans --- */
.col-span-1  { grid-column: span 1; }
.col-span-2  { grid-column: span 2; }
.col-span-3  { grid-column: span 3; }
.col-span-4  { grid-column: span 4; }
.col-span-5  { grid-column: span 5; }
.col-span-6  { grid-column: span 6; }
.col-span-7  { grid-column: span 7; }
.col-span-8  { grid-column: span 8; }
.col-span-9  { grid-column: span 9; }
.col-span-10 { grid-column: span 10; }
.col-span-11 { grid-column: span 11; }
.col-span-12 { grid-column: span 12; }
/* --- Gap Utilities --- */
.gap-0  { gap: 0; }
.gap-5  { gap: 0.5rem; }
.gap-10 { gap: 1rem; }
.gap-15 { gap: 1.5rem; }
.gap-20 { gap: 2rem; }
.gap-25 { gap: 2.5rem; }
.gap-30 { gap: 3rem; }
.gap-40 { gap: 4rem; }
.gap-50 { gap: 5rem; }
.gap-60 { gap: 6rem; }
.row-gap-5  { row-gap: 0.5rem; }
.row-gap-10 { row-gap: 1rem; }
.row-gap-15 { row-gap: 1.5rem; }
.row-gap-20 { row-gap: 2rem; }
.row-gap-25 { row-gap: 2.5rem; }
.row-gap-30 { row-gap: 3rem; }
.col-gap-5  { column-gap: 0.5rem; }
.col-gap-10 { column-gap: 1rem; }
.col-gap-15 { column-gap: 1.5rem; }
.col-gap-20 { column-gap: 2rem; }
.col-gap-30 { column-gap: 3rem; }
.col-gap-35 { column-gap: 3.5rem; }
/* --- Responsive Grid Adapters --- */
@media screen and (max-width: 979px) {
    .grid-3, .grid-4, .grid-5, .grid-6, .grid-7, .grid-8, .grid-9, .grid-10, .grid-11, .grid-12 {
        grid-template-columns: repeat(1, 1fr);
    }
    .col-span-1, .col-span-2, .col-span-3, .col-span-4, .col-span-5, .col-span-6, .col-span-7, .col-span-8, .col-span-9, .col-span-10, .col-span-11, .col-span-12 {
        grid-column: span 2;
    }
}
@media screen and (max-width: 640px) {
    .grid-2, .grid-3, .grid-4, .grid-5, .grid-6, .grid-7, .grid-8, .grid-9, .grid-10, .grid-11, .grid-12 {
        grid-template-columns: 1fr;
    }
    .col-span-1, .col-span-2, .col-span-3, .col-span-4, .col-span-5, .col-span-6, .col-span-7, .col-span-8, .col-span-9, .col-span-10, .col-span-11, .col-span-12 {
        grid-column: span 1;
    }
}
/* --- Margenes Top/Bottom / Paddings & Alignment --- */
.invisible{display:none !important}
.left{text-align:left !important;}
.center{text-align:center !important}
.right{text-align:right !important;}
.float-right{float:right !important;}
.float-left{float:left !important;}
.float-none{float:none !important;}
.disabled,
.disabled:hover{
	opacity:0.3;
	cursor: default !important;
	pointer-events:none !important;
}
.bg-cover{
	background-repeat:no-repeat;
	background-position:center center;
	background-size:cover;
}
.mt_0{margin-top:0 !important;}
.mt_5{margin-top:0.5rem !important;}
.mt_10{margin-top:1rem !important;}
.mt_15{margin-top:1.5rem !important;}
.mt_20{margin-top:2rem !important;}
.mt_25{margin-top:2.5rem !important;}
.mt_30{margin-top:3rem !important;}
.mt_35{margin-top:3.5rem !important;}
.mt_40{margin-top:4rem !important;}
.mt_45{margin-top:4.5rem !important;}
.mt_50{margin-top:5rem !important;}
.mt_60{margin-top:6rem !important;}
.mt_70{margin-top:7rem !important;}
.mt_80{margin-top:8rem !important;}
.mt_90{margin-top:9rem !important;}
.mt_100{margin-top:10rem !important;}
@media screen and (max-width: 979px) {
	.mt_40{margin-top:3rem !important;}
	.mt_45{margin-top:3rem !important;}
	.mt_50{margin-top:3rem !important;}
	.mt_60{margin-top:3rem !important;}
	.mt_70{margin-top:3rem !important;}
	.mt_80{margin-top:3rem !important;}
	.mt_90{margin-top:3rem !important;}
	.mt_100{margin-top:3rem !important;}	
}
.mb_0{margin-bottom:0 !important;}
.mb_5{margin-bottom:0.5rem !important;}
.mb_10{margin-bottom:1rem !important;}
.mb_15{margin-bottom:1.5rem !important;}
.mb_20{margin-bottom:2rem !important;}
.mb_25{margin-bottom:2.5rem !important;}
.mb_30{margin-bottom:3rem !important;}
.mb_35{margin-bottom:3.5rem !important;}
.mb_40{margin-bottom:4rem !important;}
.mb_45{margin-bottom:4.5rem !important;}
.mb_50{margin-bottom:5rem !important;}
.mb_60{margin-bottom:6rem !important;}
.mb_70{margin-bottom:7rem !important;}
.mb_80{margin-bottom:8rem !important;}
.mb_90{margin-bottom:9rem !important;}
.mb_100{margin-bottom:10rem !important;}
@media screen and (max-width: 979px) {
	.mb_40{margin-bottom:3rem !important;}
	.mb_45{margin-bottom:3rem !important;}
	.mb_50{margin-bottom:3rem !important;}
	.mb_60{margin-bottom:3rem !important;}
	.mb_70{margin-bottom:3rem !important;}
	.mb_80{margin-bottom:3rem !important;}
	.mb_90{margin-bottom:3rem !important;}
	.mb_100{margin-bottom:3rem !important;}	
}
.pt_0{padding-top:0 !important;}
.pt_5{padding-top:0.5rem !important;}
.pt_10{padding-top:1rem !important;}
.pt_15{padding-top:1.5rem !important;}
.pt_20{padding-top:2rem !important;}
.pt_25{padding-top:2.5rem !important;}
.pt_30{padding-top:3rem !important;}
.pt_35{padding-top:3.5rem !important;}
.pt_40{padding-top:4rem !important;}
.pt_45{padding-top:4.5rem !important;}
.pt_50{padding-top:5rem !important;}
.pt_60{padding-top:6rem !important;}
.pt_70{padding-top:7rem !important;}
.pt_80{padding-top:8rem !important;}
.pt_90{padding-top:9rem !important;}
.pt_100{padding-top:10rem !important;}
@media screen and (max-width: 979px) {
	.pt_40{padding-top:3rem !important;}
	.pt_45{padding-top:3rem !important;}
	.pt_50{padding-top:3rem !important;}
	.pt_60{padding-top:3rem !important;}
	.pt_70{padding-top:3rem !important;}
	.pt_80{padding-top:3rem !important;}
	.pt_90{padding-top:3rem !important;}
	.pt_100{padding-top:3rem !important;}	
}
.pb_0{padding-bottom:0 !important;}
.pb_5{padding-bottom:0.5rem !important;}
.pb_10{padding-bottom:1rem !important;}
.pb_15{padding-bottom:1.5rem !important;}
.pb_20{padding-bottom:2rem !important;}
.pb_25{padding-bottom:2.5rem !important;}
.pb_30{padding-bottom:3rem !important;}
.pb_35{padding-bottom:3.5rem !important;}
.pb_40{padding-bottom:4rem !important;}
.pb_45{padding-bottom:4.5rem !important;}
.pb_50{padding-bottom:5rem !important;}
.pb_60{padding-bottom:6rem !important;}
.pb_70{padding-bottom:7rem !important;}
.pb_80{padding-bottom:8rem !important;}
.pb_90{padding-bottom:9rem !important;}
.pb_100{padding-bottom:10rem !important;}
@media screen and (max-width: 979px) {
	.pb_40{padding-bottom:3rem !important;}
	.pb_45{padding-bottom:3rem !important;}
	.pb_50{padding-bottom:3rem !important;}
	.pb_60{padding-bottom:3rem !important;}
	.pb_70{padding-bottom:3rem !important;}
	.pb_80{padding-bottom:3rem !important;}
	.pb_90{padding-bottom:3rem !important;}
	.pb_100{padding-bottom:3rem !important;}
}
/*==========================================================================
   SECTION 5: COMPONENTS
========================================================================== */
a.btn,
form .btn{
	display:inline-block;
	padding:1.5rem;
	font-size:1.9rem;
	text-decoration:none;
	border:none;
	border-radius:0.8rem;
	background-color:#000;
	color:#FFF;
}
a.btn:hover,
form .btn:hover{
	background-color:#999;
}
a.btn.big,
form .btn.big{
	font-size:2.5rem;
}
.con-check{
	padding-right:1.2rem;
}
.con-check *{
	float:left;
}
.con-check label,
.con-check p{
	width:calc(100% - 2.5rem);
	padding:0.3rem 0.7rem;
	color:#000;
	font-size:1.7rem;
	text-align:left;
}
.con-check p{
	font-size:1.6rem;
	text-align:justify;
}
.con-check label a,
.con-check p a{
	display:inline-block;
	float:none;
	color:inherit;
	font-size:inherit;
}
#fant,
#fant2,
#accept {
	position: absolute;
	top: -9999.9rem;
	left: -9999.9rem;
}
/*--------------------------------------------------------------*/
/* Subir / Pull */
/*--------------------------------------------------------------*/
#subir {
	position: fixed;
	background-image: url(../images/subir.svg);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 1.8rem;
	width: 5rem;
	height: 5rem;
	text-indent: -999.9rem;
	bottom: 1rem;
	right: 1rem;
	margin:auto;
	z-index: 10;
	display: none;
	border-radius: 50%;
	border: solid 0.3rem #fff;
	box-shadow: 0 0 0.7rem rgba(0, 0, 0, 0.5);
	background-color: var(--color-principal);
}
#subir:hover {
	background-color: #000;
}
/*--------------------------------------------------------------*/
/* Video Responsive */
/*--------------------------------------------------------------*/
.contiene_video {
	float: none;
	display: inline-block;
	width: 100%;
	max-width: 118rem;
	margin-bottom: 2rem;
}
.contiene_video p {
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 0;
	height: 0;
	margin: 0 0 0 0;
	overflow: hidden;
}
.contiene_video p iframe,
.contiene_video p object,
.contiene_video p embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}
/*--------------------------------------------------------------*/
/* Hamb Rspnsv*/
/*--------------------------------------------------------------*/
#header-hamb{
	display:none;
	text-decoration:none;
	cursor: pointer;
	width: 4rem;
	height: 4rem;
	padding:0.6rem;
	position:relative;
}
#header-hamb div{
	text-indent:-999.9rem;
	width:100%;
	height:100%;
	display:block;
	position:relative;
}
#header-hamb div:before,
#header-hamb div:after {
	content: "";
	display: block;
	width: 100%;
	position: absolute;
	left: 0;	
	transition: transform 0.5s ease-in-out;
}
#header-hamb div,
#header-hamb div:before,
#header-hamb div:after {
	border-bottom: 0.4rem solid var(--color-principal);	
}
#header-hamb div:after {
	top: 1.2rem;
}
#header-hamb.activo div{
	border-bottom:none;
}
#header-hamb.activo div:before,
#header-hamb.activo div:after {
	top: 1rem;
}
#header-hamb.activo div:before {
	transform: rotateZ(45deg);
}
#header-hamb.activo div:after {
	transform: rotateZ(-45deg);
}
/*--------------------------------------------------------------*/
/* Sweet Alert Overrides */
/*--------------------------------------------------------------*/
.swal2-popup {
    border-radius: 2rem !important;
    padding: 3rem 2.5rem !important;
    box-shadow: 0 1.5rem 3.5rem rgba(0, 0, 0, 0.25) !important;
    font-family: var(--fuente-regular) !important;
	width:100%;
	max-width:450px;
}
.swal2-popup .swal2-title {
    font-size: 3rem !important;
    font-weight: 700 !important;
    color: var(--color-azul-oscuro) !important;
    font-family: var(--fuente-bold) !important;
    margin-top: 1.5rem !important;
    margin-bottom: 1rem !important;
    line-height: 1.3em !important;
}
.swal2-popup .swal2-content{
	font-size:1.8rem;
}
/* Iconos de SweetAlert */
.swal2-popup .swal2-icon {
    margin: 1.5rem auto 1rem auto !important;
    transform: scale(1.1);
}
.swal2-popup .swal2-icon.swal2-success {
    border-color: #28a745 !important;
}
.swal2-popup .swal2-icon.swal2-success [class^='swal2-success-line'] {
    background-color: #28a745 !important;
}
.swal2-popup .swal2-icon.swal2-success .swal2-success-ring {
    border: 4px solid rgba(40, 167, 69, 0.2) !important;
}
.swal2-popup .swal2-icon.swal2-error {
    border-color: #dc3545 !important;
}
.swal2-popup .swal2-icon.swal2-error [class^='swal2-x-mark-line'] {
    background-color: #dc3545 !important;
}
.swal2-popup .swal2-icon.swal2-warning {
    border-color: #ffc107 !important;
    color: #ffc107 !important;
}
/* Botones de acción en SweetAlert */
.swal2-popup .swal2-actions {
    margin-top: 1.5rem !important;
}
.swal2-popup .swal2-actions button.swal2-confirm {
    background-color: var(--color-principal) !important;
    color: #ffffff !important;
    font-family: var(--fuente-bold) !important;
    font-weight: 700 !important;
    border-radius: 0.8rem !important;
    font-size: 1.8rem !important;
    padding: 1.4rem 3.5rem !important;
    box-shadow: 0 0.4rem 1rem rgba(3, 159, 255, 0.2) !important;
    transition: background-color 0.3s ease, transform 0.2s ease !important;
    margin: 0.8rem !important;
    border: none !important;
    outline: none !important;
    cursor: pointer !important;
}
.swal2-popup .swal2-actions button.swal2-confirm:hover {
    background-color: var(--color-azul-oscuro) !important;
    transform: translateY(-1px);
}
.swal2-popup .swal2-actions button.swal2-confirm:active {
    transform: translateY(0);
}
.swal2-popup .swal2-actions button.swal2-cancel {
    background-color: var(--color-gris-claro) !important;
    color: #ffffff !important;
    font-family: var(--fuente-regular) !important;
    font-weight: 400 !important;
    border-radius: 0.8rem !important;
    font-size: 1.8rem !important;
    padding: 1.4rem 3.5rem !important;
    box-shadow: 0 0.4rem 1rem rgba(0, 0, 0, 0.1) !important;
    transition: background-color 0.3s ease, transform 0.2s ease !important;
    margin: 0.8rem !important;
    border: none !important;
    outline: none !important;
    cursor: pointer !important;
}
.swal2-popup .swal2-actions button.swal2-cancel:hover {
    background-color: var(--color-gris-oscuro) !important;
    transform: translateY(-1px);
}
.swal2-popup .swal2-actions button.swal2-cancel:active {
    transform: translateY(0);
}
/*--------------------------------------------------------------*/
/* Estilos Específicos Keystone */
/*--------------------------------------------------------------*/
/* --- Layout Generales --- */
body.keystone-bg-login {
    background: url('../images/background.jpg') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
	height:auto;
    padding: 3rem;
    overflow-y: auto;
}
body.keystone-bg-dashboard {
    background: linear-gradient(rgba(9, 22, 57, 0.85), rgba(9, 22, 57, 0.85)), url('../images/background.jpg') no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
    color: #fff;
    padding-bottom: 5rem;
}
/* --- Cabecera (Header) --- */
header.keystone-header {
    background-image: url('../images/diagonal-blanco.svg');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-color: transparent;
    width: 100%;
    position: relative;
    z-index: 100;
    height: 13rem;
    padding: 1.5rem 4rem 0 4rem;
    box-shadow: 0 0.4rem 1rem rgba(0,0,0,0.05);
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 138rem;
    margin: 0 auto;
    height: 8rem;
}
.header-left {
    display: flex;
    align-items: center;
}
.header-left .logo {
	width:15rem;
}
.header-left .divider {
    width: 1px;
    height: 4.5rem;
    background-color: #d1d1d1;
    margin: 0 2.4rem;
}
.header-left .user-info {
	color: var(--color-principal);
    font-size: 1.8rem;
	font-weight: 700;
    line-height: 1.4em;
}
.header-left .user-info span {
    font-weight: 400;
    color: var(--color-azul-oscuro);
}
.header-right {
    display: flex;
    align-items: center;
}
.header-nav {
    display: flex;
    list-style: none;
    align-items: center;
	gap:2.5rem;
}
.header-nav a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--color-gris-claro);
    font-size: 1.7rem;
    font-weight: 400;
    transition: color 0.3s ease;
}
.header-nav a img {
    height: 3rem;
	max-width:2.8rem;
    margin-right: 1rem;
    transition: transform 0.3s ease;
}
.header-nav a:hover {
    color: var(--color-principal);
    font-weight: 700;
}
.header-nav a:hover img,
.header-nav li.activo a img {
    transform: scale(1.1);
    filter: invert(47%) sepia(91%) saturate(1633%) hue-rotate(181deg) brightness(101%) contrast(101%);
}
/* --- Card Contenedora Login --- */
.login-card {
    background: #ffffff;
    width: 100%;
    max-width: 48rem;
    margin: auto;
    border-radius: 2rem;
    padding: 4rem 3rem;
    box-shadow: 0 1.5rem 3.5rem rgba(0, 0, 0, 0.2);
    text-align: center;
}
.login-card .logo {
	width:100%;
	max-width:24rem;
    margin-bottom: 2rem;
}
.login-card .divider {
    width: 9rem;
    height: 1px;
    background-color: var(--color-azul-oscuro);
    margin: 1.5rem auto 2.5rem auto;
}
.login-card h2 {
    color: var(--color-principal);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
}
.login-form input {
    background-color: #f2f2f2;
    border: solid 1px #DDD;
    border-radius: 0.8rem;
    height: 5rem;
    padding: 1.2rem 1.8rem;
    margin-bottom: 1rem;
    font-size: 1.7rem;
    color: var(--color-gris-oscuro);
}
.login-form input::placeholder {
    color: #a0a0a0;
}
.login-form .btn-submit {
    background-color: var(--color-principal);
    color: #ffffff;
    font-weight: 700;
    border: none;
    border-radius: 0.8rem;
    width: auto;
	padding:1.7rem 2.5rem;   
    font-size: 2.3rem;
    margin-top: 1rem;
    margin-bottom: 2rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
	box-shadow: 0 0 0.6rem rgba(0,0,0,0.2);
}
.login-form .btn-submit:hover {
    background-color: var(--color-azul-oscuro);
}
.login-card .forgot-pass {
    color: var(--color-gris-claro);
    font-size: 1.4rem;
    text-decoration: underline;
}
.login-card .forgot-pass:hover {
    color: var(--color-principal);
}
/* --- Dashboard / Welcome Content --- */
.dashboard-container {
    width: 100%;
    max-width: 138rem;
    padding: 4rem 4rem 6rem 4rem;
	margin: 0 auto;
}
/* --- Titulo Dashboard --- */
.dashboard-title-section {
    padding: 2rem 0;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    row-gap: 1rem;
}
.dashboard-title-section.center{
	justify-content: center
}
.dashboard-title-section.con-linea-top {
	border-top:solid 1px rgba(255,255,255,0.5);
}
.dashboard-title-section h1 {
    font-size: 3.3rem;
    font-weight: 700;
    color: #ffffff;
    margin-right: 1.6rem;
}
.dashboard-title-section span {
    font-size: 2rem;
    font-weight: 300;
    color: var(--color-principal);
}
/* Grid layout for folders */
.folder-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
	margin-top:2.5rem;
}
.folder-grid.x4 {
    grid-template-columns: repeat(4, 1fr);
}
.folder-card {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(0.8rem);
    -webkit-backdrop-filter: blur(0.8rem);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.2rem;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.folder-card:hover {
    transform: translateY(-0.5rem);
    background: rgba(255, 255, 255, 0.35);
    box-shadow: 0 1rem 2rem rgba(0,0,0,0.15);
}
.folder-icon-circle {
    width: 7.5rem;
    height: 7.5rem;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
	box-shadow: 0 1rem 2rem rgba(0,0,0,0.15);
}
.folder-icon-circle img {
    height: 3.2rem;
}
.folder-name {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.1em;
}
/* --- Breadcrumb --- */
.back-breadcrumb {
    margin-bottom: 2rem;
}
.back-breadcrumb a {
    display: inline-flex;
    align-items: center;
    color: var(--color-principal);
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: 400;
}
.back-breadcrumb a:hover {
    color: #FFF;
}
.back-breadcrumb a img {
    height: 2.5rem;
    margin-right: 1rem;
	opacity:0.8;
}
.back-breadcrumb a:hover img {
    opacity:1;
}
/* --- Titulo bloque docs --- */
.docs-section-title {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-top: 4.5rem;
    margin-bottom: 2rem;
}
/* --- Listado documentos--- */
.docs-container {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(0.8rem);
    -webkit-backdrop-filter: blur(0.8rem);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.2rem;
    padding: 1.5rem;
}
.doc-row {
    display: flex;
    align-items: center;
    padding: 1rem 2rem 1rem 0.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    text-decoration: none;
    transition: background 0.2s ease;
}
.doc-row:last-child {
    border-bottom: none;
}
.doc-row:hover {
    background: rgba(255, 255, 255, 0.60);
}
.doc-icon {
    width: 3.2rem;
    margin-right: 1.5rem;
    flex-shrink: 0;
}
.doc-text {
    color: var(--color-azul-oscuro);
    font-size: 1.7rem;
    font-weight: 400;
    line-height: 1.4em;
}
/* --- White Central Form Card (Solicitudes / Nuevo Usuario) --- */
.white-form-card {
    background: #ffffff;
    border-radius: 1.6rem;
    padding: 3rem;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.15);
    color: var(--color-gris-oscuro);
    max-width: 66rem;
    margin: 0 auto;
}
.white-form-card.large {
    max-width: 138rem;
}
.form-group {
    display: flex;
    flex-direction: column;
}
.form-grupo-tipo {
    display: block;
    width: 100%;
}
.form-group label {
    font-size: 1.6rem;
    color: var(--color-gris-claro);
    font-weight: 400;
    margin-bottom: 0.5rem;
}
.form-group input,
.form-group select,
.form-group textarea {
    background-color: #f2f2f2;
    border: 1px solid #e0e0e0;
    border-radius: 0.6rem;
    height: 4.5rem;
    padding: 1rem;
    font-size: 1.7rem;
    color: var(--color-gris-oscuro);
    width: 100%;
}
.form-group textarea {
    height: 14rem;
    resize: none;
	line-height:1.2em;
}
.form-group select {
    background-image: url(../images/ico-select-down.svg);
    background-repeat: no-repeat;
    background-position: right 1.2rem center;
    background-size: 1rem;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-right: 3rem;
	line-height:1.2em;
}
.form-divider {
    height: 1px;
    background-color: #e0e0e0;
    border: none;
}
.form-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-azul-oscuro);
}
/* Button styled inside form */
.btn-blue {
    background-color: var(--color-principal);
    color: #ffffff;
    font-weight: 700;
    border: none;
    border-radius: 0.6rem;
    padding: 1.4rem 4.5rem;
    font-size: 2rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: inline-block;
}
.btn-blue:hover {
    background-color: var(--color-azul-oscuro);
}
/* Custom grid for checkboxes in nuevo-usuario */
.checkbox-matrix {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem 3rem;
    margin-bottom: 2.5rem;
}
.checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    font-size: 1.6rem;
    color: var(--color-gris-oscuro);
    user-select: none;
}
/* --- Admin Usuarios Table Page --- */
.table-card {
    background: #ffffff;
    border-radius: 1.6rem;
    padding: 3rem 3rem 5rem 3rem;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.15);
    color: var(--color-gris-oscuro);
    max-width: 138rem;
    margin: 0 auto;
}
.table-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.btn-new-user {
    display: inline-flex;
    align-items: center;
    background-color: var(--color-principal);
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    border-radius: 0.6rem;
    padding: 1.2rem 2.5rem 1.2rem 1.5rem;
    font-size: 2rem;
    transition: background-color 0.2s ease;
}
.btn-new-user:hover {
    background-color: var(--color-azul-oscuro);
}
.btn-new-user img {
    height: 2.5rem;
    margin-right: 0.7rem;
}
/* Custom styling for table and fancyTable */
.keystone-table-wrapper {
    width: 100%;
    overflow-x: auto;
}
.keystone-table {
    width: 100%;
    border-collapse: collapse;
}
.keystone-table th {
    text-align: left;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-gris-claro);
    padding: 1rem;
    border-bottom: none;
    text-transform: uppercase;
}
/* Row for filters */
.keystone-table tr.filters th {
    border-bottom: none;
    padding: 1rem 1rem 4rem 1rem;
}
.keystone-table .filter-input {
    background-color: #EEE;
    border: solid 1px #DDD;
    border-radius: 0.4rem;
    height: 3.5rem;
    padding: 0.8rem 1.2rem;
    font-size: 1.5rem;
    width: 100%;
    color: var(--color-azul-oscuro);
    font-weight: 400;
}
/* Hide ACCIONES column title and its search input, keeping column cells */
.keystone-table thead tr:first-child th:last-child a {
    visibility: hidden;
}
.keystone-table tr.filters th:last-child input {
    display: none;
}
.keystone-table td {
    padding: 1rem;
    font-size: 1.6rem;
    border-bottom: 1px solid #e0e0e0;
    color: var(--color-gris-oscuro);
}
.keystone-table tr:hover td {
    background-color: #f9f9f9;
}
/* Action button circle containers */
.action-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 1.2rem;
}
.action-btn-circle {
    width: 4rem;
    height: 4rem;
    background-color: var(--color-principal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, transform 0.2s ease;
}
.action-btn-circle:hover {
    background-color: var(--color-azul-oscuro);
    transform: scale(1.08);
}
.action-btn-circle img {
    height: 2rem;
}
/* fancyTable pagination styling */
.keystone-table tfoot td.pag {
    display: table-cell !important;
    text-align: center !important;
    border-bottom: none !important;
    background: transparent !important;
    padding: 2rem 0 0.5rem 0!important;
}
.keystone-table tfoot tr:hover td.pag {
    background-color: transparent !important;
}
.keystone-table tfoot td.pag a.pag {
    display: inline-block !important;
    padding: 1rem 1.6rem !important;
    background: transparent !important;
    color: var(--color-gris-oscuro) !important;
    border-radius: 0.4rem !important;
    text-decoration: none !important;
    font-size: 1.5rem !important;
    margin: 0 0.4rem !important;
    transition: background-color 0.2s, color 0.2s !important;
}
.keystone-table tfoot td.pag a.pag:hover {
    background-color: var(--color-principal) !important;
    color: #fff !important;
}
.keystone-table tfoot td.pag a.pag.active {
    background-color: var(--color-azul-oscuro) !important;
    color: #fff !important;
    font-weight: 700 !important;
}
/* --- Breakpoints / Responsive Adjustments --- */
@media screen and (max-width: 1420px) {
    .dashboard-container {
        padding: 4rem 2rem;
    }
}
@media screen and (max-width: 1100px) {
	.header-left .user-info,
	.header-left .divider {
        display: none;
    }
    .folder-grid,
	.folder-grid.x4{
        grid-template-columns: repeat(2, 1fr);
    }
    .checkbox-matrix {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media screen and (max-width: 979px) {
    /* Responsive Header & Menu */
    header.keystone-header {
        height: auto;
        padding: 2rem 2rem 4rem 2rem;
        clip-path: none;
        box-shadow: 0 0.4rem 1rem rgba(0,0,0,0.08);
    }
    .header-container {
        height: auto;
    }
    .header-left .logo {
        width:12rem;
    }
    .header-left .divider {
        height: 3rem;
        margin: 0 1.5rem;
    }
    #header-hamb {
        display: block;
        margin-left: 2rem;
        z-index: 110;
    }
    .header-right {
        position: relative;
    }
    .header-nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 5rem;
        right: 0;
        background: #ffffff;
        box-shadow: 0 0.8rem 2rem rgba(0,0,0,0.15);
        border-radius: 0.8rem;
        width: 22rem;
        padding: 1.5rem 0;
        z-index: 105;
        border: 1px solid #e0e0e0;
    }
    .header-nav.activo {
        display: flex;
    }
    .header-nav li {
        margin-left: 0;
        width: 100%;
    }
    .header-nav a {
        padding: 1.2rem 2.5rem;
        width: 100%;
        color: var(--color-azul-oscuro);
    }
    .header-nav a:hover,
    .header-nav li.activo a {
        background-color: #f2f2f2;
    }
    .checkbox-matrix {
        grid-template-columns: repeat(2, 1fr);
    }
    .table-card {
        padding: 2rem;
    }
}
@media screen and (max-width: 640px) {
    .folder-grid,
	.folder-grid.x4{
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .checkbox-matrix {
        grid-template-columns: 1fr;
    }
    .dashboard-container {
		margin:0;
        padding: 2.5rem 2rem;
    }
    .dashboard-title-section h1 {
        font-size: 2.6rem;
    }
}
/* --- Capa Modal (Restaurar Contraseña) --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(9, 22, 57, 0.85); /* Coincide con el color azul oscuro de Keystone */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(5px);
}
.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
.modal-overlay .modal-card {
    background: #ffffff;
    width: 100%;
    max-width: 48rem; /* Mismo tamaño de login-card */
    border-radius: 2rem;
    padding: 4rem 3rem;
    box-shadow: 0 1.5rem 3.5rem rgba(0, 0, 0, 0.3);
    text-align: center;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}
.modal-overlay.active .modal-card {
    transform: scale(1);
}
.modal-overlay .modal-card h2 {
    color: var(--color-principal);
    font-size: 2.2rem;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-family: var(--fuente-bold);
}
.modal-overlay .modal-card p {
    color: var(--color-gris-claro);
    font-size: 1.6rem;
    line-height: 1.5em;
    margin-bottom: 2.5rem;
    font-family: var(--fuente-regular);
}
.modal-overlay .modal-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.modal-overlay .modal-form input {
    width: 100%;
    background-color: #f2f2f2;
    border: solid 1px #DDD;
    border-radius: 0.8rem;
    height: 5rem;
    padding: 1.2rem 1.8rem;
    margin-bottom: 1.5rem;
    font-size: 1.7rem;
    color: var(--color-gris-oscuro);
    font-family: var(--fuente-regular);
}
.modal-overlay .modal-form input::placeholder {
    color: #a0a0a0;
}
.modal-overlay .modal-form .btn-submit {
    background-color: var(--color-principal);
    color: #ffffff;
    font-weight: 700;
    font-family: var(--fuente-bold);
    border: none;
    border-radius: 0.8rem;
    width: auto;
    padding: 1.5rem 3.5rem;   
    font-size: 2rem;
    margin-top: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    box-shadow: 0 0 0.6rem rgba(0,0,0,0.2);
}
.modal-overlay .modal-form .btn-submit:hover {
    background-color: var(--color-azul-oscuro);
}
.modal-overlay .modal-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    color: var(--color-gris-claro);
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease, transform 0.3s ease;
}
.modal-overlay .modal-close:hover {
    color: var(--color-principal);
    transform: scale(1.1);
}

/*==========================================================================
   DRAG AND DROP FILE UPLOADER SYSTEM
========================================================================== */
.drag-drop-zone {
    border: 2px dashed var(--color-principal);
    border-radius: 1rem;
    padding: 3rem 2rem;
    background-color: #f7fcff;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    position: relative;
    margin-top: 0.8rem;
}
.drag-drop-zone.dragover {
    background-color: #e6f6ff;
    border-color: var(--color-azul-oscuro);
}
.drag-drop-inner {
    pointer-events: none;
}
.drag-drop-icon {
    margin-bottom: 1.5rem;
    display: inline-block;
}
.drag-drop-text {
    font-size: 1.6rem;
    color: var(--color-gris-oscuro);
    margin-bottom: 0.8rem;
    line-height: 1.4em;
    font-family: var(--fuente-regular);
}
.drag-drop-text span {
    color: var(--color-principal);
    font-weight: 700;
    text-decoration: underline;
}
.drag-drop-subtext {
    font-size: 1.3rem;
    color: var(--color-gris-claro);
    display: block;
    line-height: 1.3em;
}
.drag-drop-file-list {
    margin-top: 1.5rem;
    text-align: left;
}
.drag-drop-file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 0.6rem;
    padding: 1rem 1.5rem;
    margin-bottom: 0.8rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}
.drag-drop-file-name {
    font-size: 1.4rem;
    color: var(--color-gris-oscuro);
    font-family: var(--fuente-regular);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 80%;
}
.drag-drop-file-remove {
    background: none;
    border: none;
    color: #ff3b30;
    cursor: pointer;
    font-size: 1.8rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 0.4rem;
    line-height: 1;
    transition: background-color 0.2s ease;
}
.drag-drop-file-remove:hover {
    background-color: #ffe5e5;
}
/*--------------------------------------------------------
CARPETA DOCUMENTOS (GOOGLE DRIVE)
--------------------------------------------------------*/
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.loading-icon {
    animation: spin 1.2s linear infinite;
}
.back-breadcrumb {
    font-size: 1.4rem;
    color: #ffffff;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem 0.2rem;
    line-height: 1.8rem;
}
.back-breadcrumb a {
    color: #ffffff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s ease;
    vertical-align: middle;
}
.back-breadcrumb a img {
    width: 2.5rem;
    height: 2.5rem;
    vertical-align: middle;
}
.back-breadcrumb a:hover {
    color: #e1e8ed;
    text-decoration: underline;
}
.back-breadcrumb span {
    color: #ffffff;
    vertical-align: middle;
}
.back-breadcrumb .active-crumb {
    color: #ffffff;
    opacity: 0.6;
    vertical-align: middle;
	font-size:1.8rem;
}
.crumb-separator {
    width: 1.2rem;
    height: 1.2rem;
    margin: 0 1.2rem;
    display: inline-block;
    vertical-align: middle;
}
#loading-spinner {
    text-align: center;
    padding: 6rem 0;
}
#loading-spinner img {
    width: 6rem;
    height: 6rem;
    display: inline-block;
}
#loading-spinner p {
    margin-top: 1.5rem;
    font-size: 2rem;
    color: #ffffff;
    font-weight: 300;
}
#breadcrumbs-container,
#drives-content-container {
    display: none;
}
#docs-wrapper {
    display: none;
    margin-top: 4rem;
}
.drives-empty-msg {
    color: var(--color-azul-oscuro);
    font-size: 1.8rem;
    padding: 1.5rem 0;
    font-family: var(--fuente-regular);
}
.drives-empty-msg-grid {
    grid-column: 1 / -1;
    color: #ffffff;
    font-size: 1.8rem;
    padding: 1.5rem 0;
    font-family: var(--fuente-regular);
}

@media (max-width: 768px) {
    .back-breadcrumb {
        font-size: 1.2rem;
        gap: 0.5rem 0.1rem;
    }
    .back-breadcrumb a img {
        width: 1.4rem;
        height: 1.4rem;
    }
    .crumb-separator {
        width: 0.5rem;
        height: 0.8rem;
        margin: 0 0.6rem;
    }
}
