body
{
	margin:0px;
	padding:0px;
	font-family: "Poppins", sans-serif;
	background:#05244d;
	color:#fff;
}

h1,h2,h3,h4,h5,h6
{
	font-weight:bold;
}

img 
{
	max-width:100%;
}

.contenedorcentral
{
	width:500px;
	max-width:100%;
	margin:0 auto;
	height:100vh;
	overflow-y:auto;
	padding:100px 20px;
	position:relative;
}

/* Estilos para navegadores basados en WebKit (Chrome, Edge, Safari) */
.contenedorcentral::-webkit-scrollbar {
  width: 10px;              /* ancho de la barra vertical */
}

.contenedorcentral::-webkit-scrollbar-track {
  background: #415380;       /* color de la pista */
  border-radius: 5px;
}

.contenedorcentral::-webkit-scrollbar-thumb {
  background: #f8f8f8;          /* color del "pulgar" */
  border-radius: 5px;
}

.contenedorcentral::-webkit-scrollbar-thumb:hover {
  background: #fff;          /* color al pasar el mouse */
}

/* Estilos para Firefox */
.contenedorcentral {
  scrollbar-width: thin;             /* auto | thin | none */
  scrollbar-color: #f8f8f8 #415380;     /* thumb | track */
}

.login-card
{
	background:#6d7b9d;
	border-radius:4px;
}

.cabecerafixed
{
	background:#05244d;
}

.text-blue
{
	color:#05244d !important;
}

.form-label
{
	font-weight:bold;
}

.btn-primary
{
	background-color:#05244d !important;
	border:0px !important;
	font-weight:bold;
	text-transform:uppercase;
	box-shadow:none !important;
}

.btn-primary:hover,.btn-primary:focus,.btn-primary:active
{
	background-color:#f4a97b !important;
	color:#05244d !important;
}

.loginlogo
{
	margin-bottom: -50px;
    z-index: 11111;
    position: relative;
}

.perfil
{
	color:#f4a97b !important;
	text-align:right;
	line-height:16px;
	text-decoration:none !important;
}

.perfil:hover
{
	font-weight:bold;
	color:#fff !important;
}

.perfil span
{
	color:#fff !important;
	font-weight:bold;
}

.perfil:hover span
{
	color:#f4a97b !important;
}

.imgperfil
{
	border-radius:100%;
	border:solid 2px #f4a97b;
	padding:3px;
	transition:all 0.2s;
	text-align:center;

}

.imgperfil:hover
{
	transform: scale(1.05); 
}

.imgperfil img 
{
	border-radius:100%;
}

.titulo
{
	background:#f4a97b;
	border-radius:4px;
	padding:15px 20px;
}

.titulo h1
{
	color:#05244d;
	font-size:30px;
	margin-bottom:0px;
}

.botonmas
{
	text-decoration:none !important;
	border-radius:100%;
	background:#05244d;
	color:#fff !important;
	font-weight:bold;
	width:60px;
	height:60px;
	text-align:center;
	line-height:60px;
	display:block;
	font-size:30px;
}

.botonmas:hover
{
	color:#05244d !important;
	background:#fff;
}

.filaestado .fila2
{
	background:#415380;
	-webkit-border-top-left-radius: 4px;
	-webkit-border-bottom-left-radius: 4px;
	-moz-border-radius-topleft: 4px;
	-moz-border-radius-bottomleft: 4px;
	border-top-left-radius: 4px;
	border-bottom-left-radius: 4px;
	border-right:solid 2px #05244d;
	padding-left:45px !important;
}

.filaestado .fila3
{
	background:#415380;
	-webkit-border-top-right-radius: 4px;
	-webkit-border-bottom-right-radius: 4px;
	-moz-border-radius-topright: 4px;
	-moz-border-radius-bottomright: 4px;
	border-top-right-radius: 4px;
	border-bottom-right-radius: 4px;
	border-left:solid 2px #05244d;
}

.filaestado
{
	margin-bottom:15px;
}

.labelestado
{
	background:#6d7b9d;
	border-radius:4px;
	font-size:13px;
	padding:0px 5px;
}

.labelestado.sinestado
{
	opacity:0;
}

.iconoestado
{
	border:solid 6px #05244d;
	border-radius:100%;
	position:absolute;
	left:-30px;
	top:9px;
}

footer
{
	background:#05244d;
	position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 500px;
    box-sizing: border-box;
    padding:0px;
    z-index:1111;
}

footer a 
{
	display:block;
	text-align:center;
	padding:20px 0px;
}

footer a:hover img 
{
	opacity:0.7;
}

.cabecerafixed
{
	position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 500px;
    box-sizing: border-box;
    padding:15px;
    z-index:11111;
}

.flechaatras
{
	position:absolute;
	top:20px;
	left:20px;
}

.userlogo
{
	border-radius:100%;
	border:solid 5px #f4a97b;
	padding:3px;
}

.form-control[disabled]
{
	background:rgba(255,255,255,0.2);
	border-color:transparent;
}

.radio-group {
        display: flex;
        gap: 10px;
    }

    /* Ocultar el radio original */
    .radio-group input[type="radio"] {
        display: none;
    }

    /* Estilo de los "botones" */
    .radio-group label {
        padding: 10px;
        border-radius: 4px;
        cursor: pointer;
        background-color: white;
        color: #000;
        font-family: sans-serif;
        transition: all 0.2s ease;
    }

    /* Efecto hover */
    .radio-group label:hover {
        background-color: #faac7c;
        color: white;
    }

    /* Cuando está seleccionado */
    .radio-group input[type="radio"]:checked + label {
        background-color: #faac7c;
        color: white;
        
    }


.emocioneswrapper
{
	padding:60px 20px;
	border-radius:4px;
	background:#415380;
	text-align:center;
}

.emocioneswrapper a 
{
	text-decoration:none;
	color:#fff;
	transition:all 0.2s;
}

.emocioneswrapper a:hover
{
	transform: scale(1.05); 
}

.emocioneswrapper h3
{
	font-size:16px;
	margin-top:10px;
	margin-bottom:0px;
}

.emocioneswrapperinside
{
	position:relative;
	padding-top:80px;
}

.textoestado
{
	font-size:15px;
	line-height:17px;
	margin-top:10px;
}

.estadocara
{
	border:solid 8px #05244d;
	border-radius:100%;
}

/*formulario estado*/

.emocioneswrapperform
{
	padding:20px;
}

:root {
        --rojo: #f87680;
        --amarillo: #ffefc2;
        --azul: #b6ecff;
        --verde: #a2facc;
      
 }


    .slider-wrapper {
        position: relative;
        padding-top: 1rem;
    }

    .slider-labels {
        display: flex;
        justify-content: space-between;
        font-size: 0.9rem;
        margin-top:5px;
        user-select: none;
        position:relative;
    }

    .slider-labels:before
    {
    	width:100%;
    	height:1px;
    	content:'';
    	position:absolute;
    	top:50%;
    	left:0px;
    	background:#fff;
    }

    .slider-labels span 
    {
    	background:#415380;
    	position:relative;
    }

    .energy-display {
        display: inline-block;
        padding: 6px 14px;
        font-weight: 600;
        font-size: 0.9rem;
        color: #05244d;
        min-width: 60px;
        text-align: center;
        position:absolute;
        top:0px;
        right:0px;
        border-radius:4px;
    }

    input[type="range"] {
        -webkit-appearance: none;
        width: 100%;
        height: 14px;
        background: linear-gradient(
            to right,
            var(--rojo) 0%,
            var(--rojo) 25%,
            var(--amarillo) 25%,
            var(--amarillo) 50%,
            var(--azul) 50%,
            var(--azul) 75%,
            var(--verde) 75%,
            var(--verde) 100%
        );
        outline: none;
        margin: 0;
        padding: 0;
        border-radius:4px;
    }

    input[type="range"]::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 25px;
        height: 25px;
        border: 4px solid white;
        background: #ffffff;
        cursor: pointer;
        transition: transform .15s ease;
        border-radius:4px;
    }

    input[type="range"]::-webkit-slider-thumb:active {
        transform: scale(0.95);
    }

    input[type="range"]::-moz-range-thumb {
        width: 25px;
        height: 25px;
        border: 4px solid white;
        background: #ffffff;
        box-shadow: 0 4px 18px rgba(0,0,0,0.15);
        cursor: pointer;
        transition: transform .15s ease;
        border-radius:4px;
    }

    .checkbox-buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .checkbox-buttons input[type="checkbox"] {
        display: none;
    }

    .checkbox-buttons label {
        padding: 10px;
        border-radius: 4px;
        cursor: pointer;
        user-select: none;
        background: #fff;
        transition: all .2s ease;
        text-align: center;
        color:#000;
        font-size:14px;
    }

    .checkbox-buttons input[type="checkbox"]:checked + label,.checkbox-buttons input[type="checkbox"]:hover + label {
        background: #f4a97b;
        color: white;
    }

.emocioneswrapperform textarea
{
	resize:none;
	height:100px;
}

.leyendapeq
{
	font-size:13px;
	text-align:center;
	margin-top:20px;
	padding-top:20px;
	border-top:solid 2px #05244d;
}

.analisiswrapper
{
	padding:20px;
	border-radius:4px;
	background:#415380;
	position:relative;
}

.desplegableanalisis
{
	position:absolute;
	top:20px;
	right:20px;
}

.botondesplegableanalisis
{
	font-weight:bold;
	width:40px;
	height:40px;
	text-align:center;
	line-height:40px;
	background:#f4a97b;
	color:#fff;
	cursor:pointer;
	border-radius:4px;
	font-size:20px;
}

.botondesplegableanalisis:hover
{
	background: #05244d;
}

.desplegableanalisiswrapper
{
	display:none;
	position:absolute;
	right:0px;
	top:50px;
	background:#05244d;
	border-radius:4px;
	padding:10px;
	color:#fff;
	font-weight:bold;

}

.desplegableanalisiswrapper a 
{
	display:block;
	color:#fff;
	text-decoration:none;
	border:solid 3px transparent;
	padding:5px 15px;
	border-radius:4px;
}

.desplegableanalisiswrapper a:hover
{
	border-color:#f4a97b;
}

.fechafiltro
{
	border:0px;
	border-radius:4px;
	padding:10px;
}

.nav-pills .nav-link
{
	color:#fff;
	border-radius:4px;
	border:solid 3px #f4a97b;
	font-weight:bold;
	padding:5px;
}

.nav-pills .nav-link.active, .nav-pills .show>.nav-link,.nav-pills .nav-link:hover
{
	background:#f4a97b;
	color:#05244d;
}

.nav-fill .nav-item
{
	margin-left:10px;
}

.nav-fill .nav-item:first-child
{
	margin-left:0px;
}

.bgamarillo
{
	background:#ffefc2;
}

.bgazulclaro
{
	background:#b6ecff;
}

.bgrojo
{
	background:#f87680;
}


.numvalor
{
	border-radius:100%;
	width:30px;
	height:30px;
	line-height:30px;
	display:inline-block;
	vertical-align:middle;
	color:#05244d;
	text-align:center;
}

.textovalor
{
	display:inline-block;
	vertical-align:middle;
	width:150px;
}

.valor 
{
	margin-bottom:10px;
}

.textotendencia
{
	  font-size: 15px;
    font-weight: 600;
    line-height: 18px;
}

.accordion-button
{
	background:#6d7b9d !important;
	color:#fff !important;
	font-weight:bold;
	border-radius:4px !important;
}

.accordion-item {
    border: 0px;
    margin-bottom: 10px;
    border-radius: 0px !important;
    overflow:hidden;
}

.accordion-button:not(.collapsed)::after
{
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-size: 1.25rem;
}

.accordion-button:focus
{
	box-shadow:none;
}

.accordion-item
{
	background-color:transparent;
}


.modal
{
	z-index: 111111;
}

.modal-title
{
	color:#05244d;
}

/* -----------------------------------
    XAVI TUNING BITS
-------------------------------------*/

/* Emotions → theme palette */

.badge-alegria { background-color: #ffefc2; color: #1f2940;}
.badge-miedo { background-color: #b484f6; }
.badge-ira { background-color: #f87680; }
.badge-tristeza { background-color: #b6ecff; color: #1f2940; }
.badge-asco { background-color: #a2facc; color: #1f2940; }
.badge-sorpresa { background-color: #fdb27b; }


/* -----------------------------------
    XAVI TUNING Resaltar los titulos de los avisos
-------------------------------------*/

.resaltartitulos ul li{
	list-style: disc;
	margin: 15px;
}

.resaltartitulos ul {
  height: auto;
}

.resaltartitulos h1, .resaltartitulos h2, .resaltartitulos h3, .resaltartitulos h4, .resaltartitulos h5, .resaltartitulos h6{
  margin-top: 1.5rem;
  margin-bottom:1.5rem ;
}

/* -----------------------------------
    XAVI TUNING Resaltar los titulos de los avisos legales
-------------------------------------*/
    
/*XAVI TUNING*/
/* Ocultar el caret del botón dropdown del menú */
.dropdown-toggle::after {
    display: none;
}

/*XAVI TUNING*/
/* Botón con fondo acorde al diseño (#f4a97b) */ 
.btn-terabitia {
    background-color: #f4a97b;
    border-color: #f4a97b;
    color: #05244d;
	font-weight: bold;
	text-transform: uppercase;
}
.btn-terabitia:hover,
.btn-terabitia:focus {
    background-color: #f09a67;
    border-color: #f09a67;
    color: #05244d;
	font-weight: bold;
	text-transform: uppercase;
}
.btn-terabitia:active {
    background-color: #e98659;
    border-color: #e98659;
    color: #05244d;
	font-weight: bold;
	text-transform: uppercase;
}


/* -----------------------------------
    XAVI TUNING App-like header and menus
-------------------------------------*/
/*XAVI TUNING*/
.app-header {
  backdrop-filter: saturate(120%) blur(8px);
  background: rgba(5, 36, 77, 0.55);
  border: 1px solid rgba(244, 169, 123, 0.35);
  box-shadow: 0 8px 24px rgba(5, 36, 77, 0.35);
  border-radius: 18px;
  padding: 8px 12px;
  margin: 8px 8px 0 8px;
}

/*XAVI TUNING*/
.app-header .perfil {
  color: #f4a97b;
  font-weight: 600;
  line-height: 1.2;
}
.app-header .perfil span {
  color: #ffffff;
  opacity: 0.9;
  font-weight: 700;
}

/*XAVI TUNING*/
.menu-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(180deg, #063060 0%, #05244d 100%);
  border: 1px solid rgba(244, 169, 123, 0.5);
  box-shadow: 0 6px 18px rgba(5, 36, 77, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
  text-decoration: none;
}
.menu-trigger img { width: 34px; height: auto; }
.menu-trigger:hover { 
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(5, 36, 77, 0.5);
  background: linear-gradient(180deg, #093b73 0%, #063060 100%);
}
.menu-trigger:active { transform: translateY(0); }

/*XAVI TUNING*/
.app-dropdown {
  background: rgba(6, 48, 96, 0.95);
  border: 1px solid rgba(244, 169, 123, 0.35);
  border-radius: 16px;
  padding: 8px;
  box-shadow: 0 12px 34px rgba(5, 36, 77, 0.45);
}
.app-dropdown .dropdown-item {
  color: #ffffff;
  border-radius: 10px;
  padding: 0.6rem 0.85rem;
}
.app-dropdown .dropdown-item:hover,
.app-dropdown .dropdown-item:focus {
  background: rgba(244, 169, 123, 0.2);
  color: #f4a97b;
}

/*XAVI TUNING*/
.imgperfil {
  border-radius: 50%;
  background-color: #05244d;
  padding: 6px;
  border: 1px solid rgba(244, 169, 123, 0.5);
  box-shadow: 0 6px 18px rgba(5, 36, 77, 0.35);
}
.imgperfil:hover { box-shadow: 0 10px 26px rgba(5, 36, 77, 0.5); }

/* -----------------------------------
    XAVI TUNING Empresa: fondo y tarjeta en analisiswrapper
-------------------------------------*/
/*XAVI TUNING*/
.analisiswrapper {
  position: relative;
  border-radius: 4px;
  padding: 18px;
  background: #05244d url('/assets/img/empresa.jpg') center / cover no-repeat;
  box-shadow: 0 12px 34px rgba(5, 36, 77, 0.35);
  overflow: hidden;
}

/*XAVI TUNING EMPRESA*/
.analisiswrapper .textotendencia {
  background: rgba(83, 130, 178, 0.95); /* #5382b2 con opacidad */
  /*backdrop-filter: blur(4px);*/
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  padding: 18px 24px;
  color: #ffffff; /* letra blanca */
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.12);
  box-shadow: 0 6px 18px rgba(5, 36, 77, 0.25);
}

/*XAVI TUNING BITS TEXTO EMPRESA*/
@media (max-width: 576px) {
  .analisiswrapper { padding: 14px; border-radius: 18px; }
  .analisiswrapper .textotendencia { padding: 14px 16px; border-radius: 14px; }
}


/* -----------------------------------
    XAVI TUNING Ocultar scrollbars en login y perfil
    - Mantener scroll táctil en móviles
    - Oculta visualmente el scrollbar en WebKit/Chromium, Firefox y Edge/IE
-------------------------------------*/
.page-signin .contenedorcentral,
.page-perfil .contenedorcentral {
  /* Mantener scroll y suavidad en iOS */
  -webkit-overflow-scrolling: touch;
  overflow-y: auto;

  /* Firefox */
  scrollbar-width: none;
  
  /* IE/Edge Legacy */
  -ms-overflow-style: none;
}

.page-signin .contenedorcentral::-webkit-scrollbar,
.page-perfil .contenedorcentral::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
}



