
@import url('https://fonts.googleapis.com/css2?family=Lobster&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300&display=swap');
/* ----------------------------------------------------------------------------- */
/* === Variables === */
:root {
  --padding-principal: 10px;
  --radio-borde: 5px;
  --tamano-fuente: 16px;
  --tamano-fuente-small: 12px;
  --color-texto: black;
  --fuente-principal: 'Quicksand', sans-serif;  
  --border-width: 1px;
  --border-color: rgba(128, 128, 128, 0.56);
}


/* ----------------------------------------------------------------------------- */
/* === Estilo General === */
html, body {
  width: 100%;
  padding: 0;
  margin: 0;
}

html {
  border-radius: 0;
  font-size: var(--tamano-fuente);
  font-family: var(--fuente-principal);;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
div{
  box-sizing: border-box;
}
form{
  width: 100%;
  margin: 0;
}

/* ----------------------------------------------------------------------------- */
/* === Utilidades === */
.tx-center {
  text-align: center;
}
.tx-left {
  text-align: left;
}
.tx-right {
  text-align: right;
}

.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }

.p-1 { padding: 10px; }
.p-2 { padding: 20px; }

.rounded { border-radius: 5px; }

.shadow {
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* ----------------------------------------------------------------------------- */
/* === Enlaces === */
a:link, a:visited {
  text-decoration: none;
}

/* ----------------------------------------------------------------------------- */
/* === Inputs, Selects y Botones === */
input, select, button {
  font-size: var(--tamano-fuente);
  max-width: 100%;
}

input {
  border-style: solid;
  border-width: 0px;
  width: 95%;
}

.input_border {
  border-style: solid;
  border-width: var(--border-width);
  border-color: var(--gris-medio-mas);
  border-radius: 5px;
}

input[type="checkbox"] {
  padding: 0;
  margin: 0;
  width: 20px;
}

input[type="radio"] {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  width: auto !important;
  height: auto !important;
  appearance: auto !important;
  padding: 0;
  margin: 0;
  box-sizing: unset;
}
input[type="text"] {
  background-color: #fff8dc;
}

/* ----------------------------------------------------------------------------- */
/* === Botones === */
button {
  padding: 0;
  margin: 0;
  border-style: solid;
  border-width: 0px;
  font-family: var(--fuente-principal);
  font-weight: bold;
  cursor: pointer;
  background-color: transparent;
  display: flex;
  justify-content: center;
  align-items: center; 
}

.contenedor-botones {
  clear: both;
  padding-top: 0px;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: end;
  justify-content: center;
  margin: auto;
}

.fa-solid {
  font-size: 36px;
}

.button, .button_grey, .button_del,.close_button_100x, .button_grey_100x, .button_100x, .grupo_button, input[type="button"], input[type="submit"] {
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  border-radius: 5px;
  font-size: var(--tamano-fuente);
}

.button, .button_grey, .button_del, input[type="button"], input[type="submit"] {
  width: 100px;
  height: 36px !important;
  margin: 10px auto 0px auto;
}

input[type="button"], input[type="submit"] {
  font-weight: normal;
}

.close_button_100x, .button_grey_100x, .button_100x, .grupo_button {
  width: 80%;
  height: 36px;
  margin: 10px auto 0px 0px;
  margin-left: 10%;
  text-align: center;
  font-weight: bold;
}

.button_home, .button_group{
  width: 200px;
  height: auto;
  padding: 20px;
  cursor: pointer;
}

.button_home {
  margin: 20px 10px 20px 10px;
  border-radius: 5px;
  border-width: 0px;
  border-style: solid;
}

.button_group {
  margin: 10px;
  border-radius: 2px;
}

.button_event_info {
  height: 100px;
  margin: 0px 10px 20px 10px;
  padding: 5px;
  cursor: pointer;
  
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

/* ----------------------------------------------------------------------------- */
/* === Botones de Navegación (Next y Back) === */
.btn-back, .btn-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 0px;
  width: 40px;
  height: 30px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.btn-back {
  left: 0px;
}

.btn-next {
  right: 0px;
}

.arrow-left, .arrow-right {
  width: 0;
  height: 0;
  border-style: solid;
  font-size: 0;
  line-height: 0;
  cursor: pointer;
}

.arrow-left {
  border-width: 10px 15px 10px 0;
  border-color: transparent white transparent transparent;
}

.arrow-right {
  border-width: 10px 0 10px 15px;
  border-color: transparent transparent transparent white;
}


/* ----------------------------------------------------------------------------- */
/* === Switch Button === */
.switch-button {
  display: inline-block;
}

.switch-button .switch-button_checkbox {
  display: none;
}

/* Estilo base del switch */
.switch-button .switch-button_label {
  width: 45px;
  height: 25px;
  border-radius: 30px;
  display: inline-block;
  position: relative;
}

/* Estilo del círculo dentro del switch */
.switch-button .switch-button_label:before {
  transition: .2s;
  display: block;
  position: absolute;
  cursor: pointer;
  width: 25px;
  height: 25px;
  content: '';
  border-radius: 50%;
}

/* Cuando se pulsa el botón */
.switch-button .switch-button_checkbox:checked + .switch-button_label:before {
  transform: translateX(20px);
}

/* ----------------------------------------------------------------------------- */
/* === Botón Scroll Up === */
.scrollup {
  position: fixed;
  width: 50px;
  height: 50px;
  right: 2%;
  bottom: 80px;
  cursor: pointer;
  border-radius: 25px;
  font-size: 12px;
  font-weight: bold;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}
.scrolldown {
  position: fixed;
  width: 50px;
  height: 50px;
  right: 2%;
  top: 20px;
  cursor: pointer;
  border-radius: 25px;
  font-size: 12px;
  font-weight: bold;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

/* ----------------------------------------------------------------------------- */
/* === Tabla === */
table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.base_calendar th {
  border: var(--border-width) solid transparent;
  border-bottom: var(--border-width) solid var(--border-color);
}
.base_calendar td {
  border: var(--border-width) solid var(--border-color);
}
.base_calendar td {
  max-width: 14.28% !important;
  vertical-align: top;
  text-align: right;
}

th {
  font-size: var(--tamano-fuente-small);
  border-bottom: var(--border-width) solid var(--border-color);
  max-width: 14.28% !important;
}

.texto-cortado {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ----------------------------------------------------------------------------- */
/* === Contenedor Base === */
.main {
  position: relative;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  width: 100%;
  max-width: 800px;
  /* max-height: calc(100vh - 70px); */
  margin: 0 auto;
  margin-top: env(safe-area-inset-top, 0);
  text-align: center;
}

/* .base {
  position: relative;
  color: var(--color-texto);
  z-index: 2;
} */

.titulo-elementos {
  font-weight: bold;
  font-size: 18px;
  margin: 0 0 0 10px;
}

.intro {
  position: relative;
  margin: 50px auto 80px;
  padding: 30px 10%;
  text-align: left;
}

.intro h3 {
  text-align: center;
}

.texto {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.texto div {
  flex: 1 1 150px;
  padding: 10px;
  text-align: left;
}
.adyp-txt{
  flex:2;
  position: relative;
  padding:5px;
  font-family: 'lobster', sans-serif;
  font-size: 40px;
}
.adyp-txt .small{
  position: relative;
  font-size: 18px;
  margin:5px auto 30px auto;
}

/* ----------------------------------------------------------------------------- */
/* === Fondo === */
/* .fondo {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-image: url("../../assets/img/logo_devices/logo_fondo.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: env(safe-area-inset-top);
  z-index: -1;
}

.fondo::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  background: rgba(255, 255, 255, 0.8);
} */

  .fondo-ondas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: -1;
  }


/* ----------------------------------------------------------------------------- */
/* === Header === */
.logo_index {
  position: relative;
  top: 0;
  margin: auto;
  width: 150px;
  height: 150px;
  border-radius: 0%;
  background-image: url("../../assets/img/logo_devices/logo.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.menu {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: center;
  top: 5px;
  right: 5px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  z-index: 2;
}

.menu .menu-btn, .menu-btn-index {
  width: 30px;
  height: 7px;
  margin: 3px auto 3px auto;
  border-radius: 3px;
}

.menu .alert {
  position: absolute;
  top: -2px;
  right: 30px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: bold;
  line-height: 22px;
}

.fecha {
  position: relative;
  width: 100%;
  height: 20px;
  text-align: center;
  padding: 5px 0;
  margin-bottom: 20px;
}

.icono-menu {
  font-size: 20px !important;
  margin: 0 8px 0 0;
}

/* ----------------------------------------------------------------------------- */
/* === Redes Sociales === */
.instagram, .facebook {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 35px;
  height: 35px;
  border-radius: 4px;
  line-height: 30px;
  padding: 0;
  margin: 0;
  font-size: 26px;
}
.instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}
.facebook {
  background: #646cc5;
}

/* ----------------------------------------------------------------------------- */
/* --------------------------------------contenedores para login---------------- */
.contenido-login{
  width:70%;
  margin-left: 15%;
  padding: 50px 0 100px 0;
  flex: 1;
}
.contenido-login .label{
  width:30%;
  margin-left: 15%;  
  text-align:left;
  float:left;
}
.contenido-login .input{
  width:50%;
  text-align:left;
  float:left;
}
.contenido-login input{
  width:70%;
}
.recordar{
  display: flex;
  flex-direction: row;
  justify-content: center;
  width: 100%;
  text-align: center;
  padding-bottom: 30px;
}
.recordar input[type="checkbox"]{
  width:auto;
  margin-right:10px;
}
/* ----------------------------------------------------------------------------- */
/* --------------------------------------contenedores varios---------------- */
.bloqueada {
  pointer-events: none;
}

.contenedor-intro{
  overflow-y: auto;
}
.contenedor-intro::-webkit-scrollbar {
  width: 0px; /* Oculta la barra de desplazamiento */
  height: 0px;
}

.contenedor-intro-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px;
}
.contenedor-intro-item:nth-child(odd) {
  background-color: #ffffff;
  opacity: 0.8;
}
.contenedor-intro-item:last-child {
  min-height: auto;
  height: auto;
}

.contenido-index{
  width: 100%;
  max-width: 800px;
  min-height: 100vh;
  margin: auto;
  text-align: left;
   /* Incluye el padding dentro del ancho */

}
.intro::before {
  content: ''; /* Necesario para que el pseudo-elemento se muestre */
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1; /* Asegura que el pseudo-elemento esté detrás del contenido */
  width: 100%; /* Asegura que cubra todo el ancho */
  height: 100%; /* Asegura que cubra todo el alto del contenedor */
}
.contenido-index .texto{
  margin: auto auto 80px auto;
  padding: 0px 10% 20px 10%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}
.contenido-home{
    position: relative;
    width:90%;
    margin:0px auto 0 auto;
    flex:1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
.contenido-grupos{
  position: relative;
  width:100%;
  margin:80px auto 0 auto;
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}
.contenido-calendario{
  position: relative;
  width:95%;
  margin: 0px auto 0px auto;
}
.contenido-moreevents{
  position: relative;
  width:95%;
  margin: 40px auto 0 auto;
}
.contenido-registro{
  position: relative;
  width: 100%;
  text-align: center;
  padding-top: env(safe-area-inset-top, 0); /* Usa la zona segura del notch en iOS */
}
.contenido-menu { /* menu oculto de opciones */
    height: 0;
    width: 100%;
    position: absolute;
    z-index: 1;
    /* margin-top: calc(0px - env(safe-area-inset-top, 0)); resta la zona segura del notch a top */
    left: 0;
    overflow: auto;
    transition: 0.5s;
    margin-top: 0px;
    padding: 0px; /* Restablece otros rellenos */
    padding-top: env(safe-area-inset-top, 0); /* Usa la zona segura del notch en iOS */
    padding-bottom: 30px;
    text-align: left;
    z-index:2; /*3*/
    box-sizing: unset;
}
  
/* .contenido-menu-home {
  width: 100%;
  position: relative;
  text-align:left;
} */
/* ----------------------------------------------------------------------------- */
/* ----------------------------------mensaje----------------------- */
.contenedor-mensajes{
	position: relative;
	width:95%;
  max-width: 800px;
	height:auto;
	top:10px;
	left:50%;
  transform: translate(-50%, 0%);
	margin: 0 0 20px 0;
	padding: 5px;
   /* Incluye el padding dentro del ancho */
  border-radius: 5px;
  overflow: hidden;
  text-overflow: ellipsis;
  
}

/* ----------------------------------mensaje emergente----------------------- */
/* .mensaje{
	position: absolute;
  flex: 1;
	text-align:center;
	width:95%;
  max-width: 800px;
	top:10%;
  left:50%;
  transform: translateX(-50%);
  z-index: 3;
  margin-top: env(safe-area-inset-top, 0); /* Usa la zona segura del notch en iOS 
  border-radius: 10px;
}
.mensaje .closebtn {
  position: absolute;
  top: -4px;
  right: 8px;
  font-size: 36px !important;
  z-index:1;
  color:black;
}

/*esta regla se aplica dentro de los contenedores inbox o mensaje*
.mensaje .titulo{
  padding: 10px 0px 10px 0px;
  width: 100%;
  min-height: 25px;
  margin: 0px auto 20px auto;
  text-align: center;
  font-weight: bold;
  border-radius: 10px 10px 0px 0px;
}
.mensaje .info{
  padding: 0px 0px 15px;
  margin: 10px;
  border-bottom: solid 1px grey;
  text-align:left;
}

.mensaje .info:last-child{
  border-bottom: solid 0px grey;
} */


.mensaje {
    display: none;
    position: fixed;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 380px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    font-family: 'Poppins', sans-serif;
    color: #333;
    padding: 1.2em;
    animation: fadeIn 0.3s ease-in-out;
}

.mensaje .titulo {
    font-size: 1.1em;
    font-weight: 700;
    background: transparent;
    color: #e57f20;
    text-align: center;
    /* border-radius: 8px; */
    padding: 0.4em;
    margin: -0.9em -1.0em 1em -1.0em;
    border-bottom: 0px solid #fff3c1;
}

.mensaje .info {
    background-color: #f9f9f9;
    border-left: 4px solid #e57f20;
    padding: 0.8em 1em;
    border-radius: 12px;
    margin-bottom: 1em;
    position: relative;
    overflow-wrap: break-word;
}

.mensaje .info p {
    margin: 0;
    font-size: 0.95em;
    line-height: 1.5em;
}

.mensaje small {
    display: block;
    margin-top: 0.4em;
    color: #999;
}

.mensaje .closebtn {
    position: absolute;
    top: 5px;
    right: 11px;
    font-size: 1.4em;
    color: #bbb;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.mensaje .closebtn:hover {
    color: #e57f20;
    cursor: pointer;
}

.mensaje i.fa-eye-slash {
    background: #f1f1f1;
    border-radius: 50%;
    padding: 6px;
    font-size: 20px;
    transition: background 0.3s ease;
    margin: -30px -7px 0px;
}

.mensaje i.fa-eye-slash:hover {
    background: #e7e7e7;
    cursor: pointer;
}


@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-10%);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}


/* ----------------------------------------------------------------------------- */
/* ------------------------------------soporte SAT------------------------------ */
.chat-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px 10px 150px;
    max-width: 600px;
    margin: auto;
}
.message {
    padding: 10px;
    border-radius: 10px;
    max-width: 80%;
    position: relative;
    font-size: 14px;
    word-wrap: break-word;
}
.sent {
    background-color: #DCF8C6; /* Color de WhatsApp */
    align-self: flex-end;
    text-align: right;
}
.received {
    background-color: #EAEAEA;
    align-self: flex-start;
    text-align: left;
}
.message strong {
    display: block;
    font-size: 12px;
    color: #555;
}
.message p {
    margin: 5px 0;
}
.message time {
    font-size: 12px;
    color: gray;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
}
/* Estilos para la marca de mensaje leído */
.read-status {
    font-size: 12px;
    color: #34B7F1 !important; /* Azul de WhatsApp */
    margin-left: 5px;
}
.read-status::after {
  content: "✔"; /* Unicode del check */
  color: #34B7F1;
  font-size: 16px;
  font-weight: bold;
  margin-left: 5px;
}

/* Estilo para la entrada de texto */
.chat-input-container {
    position: fixed;
    width: 100%;
    max-width: 800px;
    display: flex;
    padding: 10px;
    border-top: 0px solid rgba(0, 0, 0, 0.327); /* Define el borde superior */
    box-shadow: 0 -5px 5px rgba(0, 0, 0, 0.2);    
    background: #fff;
    bottom: 70px;
    z-index: 3;
}
.chat-input {
    flex: 1;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    height:30px;
    margin-top:5px;
}
.send-button {
  /* background: #dcf8c6; */
  color: white;
  border: none;
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 10px;
}
.send-button:hover {
    background: #dcf8c6;
}
.share-button {
  position: relative;
  width: 50px;
  height: 50px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.share-button::before {
  content: "";
  position: absolute;
  width: 30px;
  height: 15px;
  border: 3px solid black;
  border-color: black transparent transparent black;
  border-radius: 50px 0 0 50px;
  transform: rotate(-45deg);
  top: 10px;
  left: 5px;
}

.share-button::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border-top: 3px solid black;
  border-right: 3px solid black;
  transform: rotate(45deg);
  top: 8px;
  right: 8px;
}
.close-chat-button {
    position: relative;
    background-color: #ff4d4d;
    color: white;
    border: none;
    padding: 8px 15px;
    margin: 10px;
    float: right;
    right: 0px;
    top: -40px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}
.close-chat-button:hover {
    background-color: #cc0000;
}

/* ----------------------------------------------------------------------------- */
/* === swiper === */
.swiper {
  top: 0px;
  width: 95%;
  height: 30vh;
  background: #000;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--gris-trans);
}  
.swiper-slide {
  width: 100%;
  height: 25vh;
  font-size: 18px;
  color: #fff;
  background-size: cover;  /* Hace que la imagen cubra todo el div */
  background-position: center;
  background-repeat: no-repeat;
  /* padding: 20px 10px 20px 10px; */
  display: flex;
  align-items: center;
  justify-content: center;
}
.swiper-slide a{
  color: var(--negro-claro) !important;
}
.swiper-slide .title {
  font-size: 18px;
  font-weight: 300;
  text-transform:uppercase;

}
.swiper-slide .subtitle {
  font-size: 18px;
}
.swiper-slide .text {
  font-size: 14px;
  max-width: 400px;
  line-height: 1.3;
}
.swiper-slide .translucent {
  position: absolute;
  width: 95%;
  height: 20vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 6px;
}
.swiper-slide .translucent{
  background-color:var(--gris-trans);
}

/* ----------------------------------------------------------------------------- */
/* === Calendario === */
.base_calendar{
	width:90%;
  max-width: 300px;
  margin: auto;
  padding: 15px;
   /* Incluye el padding dentro del ancho */
  box-shadow: 0px 0px 0px var(--color-tema-base);
  border-radius: 2px;
}
.calendar_event{
  max-width: 96% !important;	
  margin-left: 2%;
  padding-left: 2px;
  margin-bottom: 3px; 
  font-size: 11px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
   /* Incluye el padding dentro del ancho */

}
.boton-evento-base{
  max-width: 400px;
  margin: auto;
  background-position: center;
  background-repeat: no-repeat;
}
.boton-grupo-base{
  width: 330px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.boton_evento{
  position:relative;
  width: 90%;
  max-width: 300px;
  height:80px;
   /* Incluye el padding dentro del ancho */
  padding: 3px;
  margin: 0 auto 20px auto;
  display: grid;
  place-items: center;
  color: black;
  background:#ffffffb3;
  text-transform:uppercase;
  font-weight:700;
  border:none;
  font-size:15px;
  outline:none;
  cursor: pointer;
  text-overflow: ellipsis;
}
/* ----------------------------------------------------------------------------- */
/* ----------------------------------contenido popup---------------------------- */
.popup{
	position: absolute;
  flex: 1;
	text-align:center;
	width:95%;
  max-width: 800px;
	height:auto;
	top:10px;
	left:50%;
  transform: translate(-50%, 0%);
	margin: 0 0 20px 0;
	padding: 0 0 10px 0;
  z-index: 3;
   /* Incluye el padding dentro del ancho */
  margin-top: env(safe-area-inset-top, 0); /* Usa la zona segura del notch en iOS */
  border-radius: 10px;
}
.popup-user{
	position: relative;
	width:100%;
	top:20px;
	left:50%;
  transform: translate(-50%, 0%);
	text-align:center;
  max-width: 800px;
	height:auto;
	margin: 0px 0 50px 0;
	padding: 10px 0 10px 0;
  z-index: 1;
   /* Incluye el padding dentro del ancho */
  border-radius: 10px;
}
.popup_title{
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px 0 10px 0;
  width: 100%;
  min-height: 40px;
  align-items: center;
}
.radius_top{
  border-radius: 10px 10px 0px 0px;
}
.popup_title b{
  padding: 0;
  font-size: 18px;
  /* font-family: 'lobster', sans-serif; */
}
.popup input,.popup-user input {
  height: 25px;
  border-style: solid;
  border-width: 0px;
}
.popup .searchBox{
  width:50%; 
  max-width:200px;
  border: solid 1px var(--gris-medio-mas);
  border-radius: 5px;
}
.popup select, .popup-user select{
  width:100%;
  max-width: 130px !important;
  height: 25px;
}
.popup textarea{
  width: 95%;
  border-style: solid;
  border-width: 0px;
  font-size:16px;
}
.popup .popup_base {
  padding-top: 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
   /* Incluye el padding dentro del ancho */
}

.popup_base form {
  width: 100%;
  display: flex;
  flex-direction: column; /* Asegura que los elementos estén en columna */
  align-items: center;
  gap: 10px; /* Espaciado entre elementos */
  margin-bottom: 30px;
}
.popup .popup_info{
  text-align: left;
  height: 100%;
  
  padding: 5px;
}
.list_event{
  max-width: 96% !important;	
  margin-left: 2%;
  margin-bottom: 10px; 
  padding: 4px 0 4px 0;
  text-align: center;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  font-size: 14px;
}
.contenedor_eventos_today {
    width: 100%;
    display: flex;
    flex-wrap: wrap; /* Permite que los elementos pasen a una nueva línea */
    justify-content: center; /* Centra los elementos en el contenedor */
    gap: 10px; /* Espaciado entre elementos */
}

.list_event_today_base {
  width: 102px;
  height: 102px;
  
  margin-bottom: 10px;
  border-radius: 51px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.list_event_today, .capa_translucent {
  
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.capa_translucent{
  position: absolute;
  padding: 6px;
  width: 100px;
  height: 100px;
  border-radius: 50px;
}
.list_event_today{
  position: absolute;
  font-size: 12px; /* Ajuste para que quepa mejor */
  font-weight: bold;
  width: 96px;
  height: 96px;
  border-radius: 48px;
  background-size: cover;
  background-position: center;

}










  

/* ----------------------------------------------------------------------------- */
/* === formulario === */

.form{
  text-align: center;
}

.form_row {
  display: flex; /* Hace que los elementos se alineen en una fila */
  justify-content: space-between; /* Espaciado uniforme entre los elementos */
  width: 100%;
  margin: 0px 1px 0 1px;
}
.form_elements_base {
  position: relative; /* Necesario para que .form_title funcione con position: absolute */  
  min-width: 20%; /* Para evitar que se hagan muy pequeños */
  max-width: 100%;
  flex: 1;
  padding: 10px;
  margin: 10px;
  border-style: solid;
  border-width: 1px;
  border-radius: 5px;
  text-align: left;
}
.form_elements_base input {
  width: 95%;
}
.form_title{
  position: absolute;
  left: 5px;
  top: -10px;
  font-size: small;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  max-width: 90%;  
}










.image-event{
  padding: 0;
  margin: 0 0 -3px 0;

}
.image-event img{
  width:100%; 
  max-width:800px;
  border-radius: 10px 10px 0px 0px;

}

.titulo-imagen{
  text-align: left;
  width: auto;
  font-size: 12px;
  padding-left: 3px;
  border-left-width: 1px;
  border-left-style: solid;
}





/* ----------------------------------------------------------------------------- */
/* === pestaña amigos === */
.amigo-inscrito{
  position: relative;
}

.nombre-amigo{
  position: absolute;
  width: 65px;
  top:-10px;
  font-size: 10px;
  text-align: left;
}
.imagenes-amigos {
  position: relative;
  flex: 0 0 80px;
  height:auto;
  min-height:70px;
  text-align:center;
  padding: 5px;
  margin: 10px 5px;
  border-style: solid;
  border-width: 1px;
  border-radius: 5px;
}
.imagenes-amigos img{
  object-fit: cover;
  position: relative;
  top: 5px;
  width:50px;
  height:50px;
}
.imagenes-amigos i{
  font-size: 10px;
  margin-right: 2px;
  color: white !important; 
}
.imagenes-amigos .complemento{
  position:absolute;
  top:10px; /*40px*/
  right:2px;
  width: 30px; 
  height: 16px; 
  border-radius: 11px; 
  /* padding: 3px 2px;  */
  font-size: 12px; 
  text-align: center;
  align-items: center; /* Centra verticalmente */
}
.imagenes-amigos .complemento-h{
  /*left:32px; */
  top: 25px;
}
/* ----------------------------------------------------------------------------- */
/* === pestañas === */
/* Estilo para los inputs de radio, se ocultan */
.popup input[type="radio"] {
  display: none;
}
/* Contenedor de las pestañas */
.tabs-header {
  display: flex;

}
/* Estilo de las etiquetas (pestañas) */
.tabs-header label {
    padding: 15px;
    flex: 1;
    text-align: center;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    border-style: solid;
    border-width: 2px;    
}
/* Mostrar el contenido de la pestaña activa */
#tab_info:checked ~ .tabs-content .tab_info {
  display: block;
}
#tab_users:checked ~ .tabs-content .tab_users {
  display: block;
}
#tab_cart:checked ~ .tabs-content .tab_cart {
  display: block;
}
#tab_check:checked ~ .tabs-content .tab_check {
  display: block;
}
#tab_taxi:checked ~ .tabs-content .tab_taxi {
  display: block;
}
/* Estilo del contenido de cada pestaña */
.tab_info, .tab_users, .tab_cart, .tab_check, .tab_taxi {
    font-size: 16px;
}
/* Estilo del contenido de las pestañas */
.tabs-content {
  padding: 0px;
  min-height:350px;
}
.tabs-content > div {
  display: none;
}
/*-----------------*/
.texto_estado_evento{
  top: 50%;
  justify-content: center; /* Centra horizontalmente */
  align-items: center; /* Centra verticalmente */
  position: absolute;  
  display: flex;
  width: 100%;
  height: 30px;
  opacity: 0.6;
  left: -50%;
  transform: translateX(46%);
}
.estado_evento{
  transform: rotate(-45deg);
  font-size: 72px;
  font-weight: bold;
}

/* ----------------------------------------------------------------------------- */
/* === Formulario registro === */
.registro{
	text-align:center;
	margin: 0%;
	padding: 0 0 20px 0;
}
.registro input{
  height: 25px;
  border-style: solid;
  border-width: 0px;
}
.registro:hover{
  border-width: 0px;
}
.registro select{
  max-width: 140px;
  height: 27px;
}
.registro textarea{
  width: 95%;
  border-style: solid;
  border-width: 0px;
  font-size:16px;
}
.registro .popup_base{
  top:0;
  padding-top: 20px;
  width: 100%;
}
.registro .popup_info{
  text-align: left;
  height: 100%;
  padding: 5px;
}
.registro .list_event{
  max-width: 96% !important;	
  margin-left: 2%;
  margin-bottom: 10px; 
  padding: 4px 0 4px 0;
  text-align: center;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  font-size: 14px;
}
.registro .form_elements_base{
  position: relative;
  min-width: 10%;
  padding: 10px 5px;
  margin: 10px;
  float: left;
  display: inline;
  border-style: solid;
  border-width: 1px;
  border-radius: 5px;
}
.texto_error{
  margin:0px 0px 0px 0px;
  font-weight: bold;
}
.success{
  width: 90%;
  margin: auto;
}
.check-terminos {
  position: absolute;
  width: 25px;
  margin: 0px 10px 0px 2px !important; /* Espacio entre el checkbox y el texto */
  border: 0;
  z-index: 1;
}

.check-terminos-container {
  display: flex;
  align-items: flex-start; /* Alinea verticalmente */  
  cursor: pointer;
  user-select: none;
  margin-top: 10px;
}

.checkmark {
  position: absolute;
  width: 25px;
  height: 25px;
  display: inline-block;
  vertical-align: middle;
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
}
.check-terminos-container .text {
  margin: 2px 0 0 30px;
}

/* Cuando el checkbox está habilitado */
.check-terminos:not(:disabled) + .checkmark {
  box-shadow: 0 0 5px 2px #66f066;
  background-color: #66f066;
  border-radius: 6px;
}
/* ----------------------------------------------------------------------------- */
/* === menú lateral === */
.sidenav {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  overflow-x: hidden;
  transition: 0.5s;
  padding: 0px 0px 0px 0px;
  padding-top: env(safe-area-inset-top, 0); /* Usa la zona segura del notch en iOS */
  text-align:left;
  z-index: 999;
}
.sidenav .contenedor_sidenav{
  padding: 0 0 20px 0;
  min-height: 97vh;
}
.sidenav  a:link{
  padding: 8px 8px 8px 15px;
  text-decoration: none;
  font-size: 20px;
  display: block;
  transition: 0.3s;
}
.sidenav .closebtn {

  font-size: 36px !important;
  margin-left: auto;
}
.sidenav .user {
  display: flex;
  flex-direction: row;
  align-items: center; /* Centra verticalmente */
  width:90%;
  height:40px;
  top: 20px;
  font-size: 16px;
  margin: 0px 0px 0px 10px;
  padding: 10px 0;
  border-bottom-width: 1px;
  border-bottom-style: solid;
}
.sidenav .user img{
  width:30px;
  height:30px;
}

.sidenav .search{
  margin: 20px 10px 10px 10px;
}
.sidenav .titulo {
  width:100%;
  height:30px;
  font-size: 16px;
  padding: 5px 0px 0px 10px;
}
/* ----------------------------------------------------------------------------- */
/* === menú bottom === */
.bottom-menu {
  position: fixed;
  left:50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 100%;
  max-width: 800px;
  background: white;
  display: flex;
  height: 70px;
  justify-content: space-around;
  padding: 15px 0 0;
  box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
  z-index: 2;
}
.bottom-menu .element {
  flex: 1;
  text-align: center;
  font-size: 12px;
  padding: 0px 5px 0px 5px;
  color: gray;
}
.bottom-menu i {
  font-size: 12px !important;
}        
.bottom-menu .item-activo {
  width:80%;
  height: 40px;
  display: flex;
  justify-content: center;
  border-bottom-width: 5px;
  border-bottom-style: solid;
  border-bottom-color: var(--color-tema-oscuro);
}
.bottom-menu .alert{
  position: absolute;
  top: -12px;
  left: -18px;
  width:22px;
  height:22px;
  border-radius: 11px;
  font-size: 12px;
  font-weight: bold;
  line-height: 22px;  /* Igual a height */
  color: white !important;
}
.menu-item, .input-item {
  position: relative;
  width: 80%;
  max-width: 400px;
  margin: 10px auto 0px auto;
  background: white;
  padding: 15px;
  display: flex;
  border-radius: 10px;
}
.menu-item {
  align-items: center;
  justify-content: space-between;
}
.input-item {
  flex-direction: column;
  justify-content: center;
}
.search_b {
  position: absolute;
  float: right;
  right: 5px;
}
.menu-item img {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}
.menu-item .titulo-menu {
    flex: 1;
    text-align: left;
}
.menu-item .arrow {
    color: orange;
    font-size: 20px;
    text-align: right;
    font-weight: bold;
}
.arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}

/* ----------------------------------------------------------------------------- */
/* === footer === */
.footer{
  position: relative;
  width: 100%;
  max-width: 800px;
  text-align: center;
  z-index:0;
  margin: auto; /* Hace que el footer quede al final */
  /* top:30px */

}
  .footer-ondas {
    position: relative;
    text-align: center;
    max-width: 800px;
    max-height: 100px;
    left:50%;
    transform: translateX(-50%);
  }

  .footer-ondas svg {
    display: block;
    transform: rotate(-180deg); /* invierte la onda */
    margin-bottom: -1px; /* quita el espacio por defecto */
  }
/* ----------------------------------------------------------------------------- */
/* === cookie === */
.cookie_alert{
	position: fixed;
	width:90%;
  max-width: 700px;
	height: auto;
	min-height:80px;
	bottom:10px;
	padding:0px;
  left: 50%;
  transform: translate(-50%, 0%) ;
  z-index:3;
}
.cookie_alert .closebtn {
  position: absolute;
  top: -12px;
  right: 4px;
  font-size: 36px !important;
  z-index:1;
}
.cookie_popup{
	padding:10px;
  text-align: left;
}
/* ----------------------------------------------------------------------------- */
/* === documentos === */
.separador-seccion{
  padding: 10px 0px 10px 5px;
  transform: translateX(-2.5px);
  width: 100%;
  min-height: 25px;
  margin: 20px auto 20px auto;
  text-align: center;
  font-weight: bold;
}
/* ----------------------------------------------------------------------------- */
/* === paginacion === */
.paginacion {
	text-align:center;
	width:100%;/*640*/
	height:50px;
	margin: 30px auto;
  padding-bottom: 10px;
}
.tot_page,.b_pag_inicio_des,.b_pag_ant_des,.pag_activa,.pag_last,.b_pag_sig_des,.pag_sig_des,.b_pag_ultima_des,.pag_inicio,.b_pag_ant,.pag_ant,.pag_sig,.b_pag_sig,.b_pag_ultima{
	float:left;
	padding: 12px 10px 12px 10px;
	margin: 0px auto 0px 5px;
}
.b_pag_ant,.b_pag_ant_des{
	margin-left: 0px;
}
.pag_inicio{
	margin-right: 5px;
}
.pag_inicio,.b_pag_ant,.pag_ant,.pag_sig,.b_pag_sig,.b_pag_ultima{
	cursor:pointer;
}
/* .tot_page{
    width:140px;
    margin-right: 10px
} */
.pag_inicio,.b_pag_inicio_des,.b_pag_ant_des,.b_pag_sig_des,.b_pag_ant,.b_pag_sig{
	width:30px;
}
.pag_activa,.pag_sig_des,.pag_last,.b_pag_ultima_des,.pag_ant,.pag_sig,.b_pag_ultima{
	width:20px;
}
.b_pag_ant,.b_pag_sig,.b_pag_ultima,.b_pag_inicio_des,.b_pag_ant_des,.pag_last,.b_pag_sig_des,.b_pag_ultima_des, .pag_inicio,.pag_ant,.pag_activa,.pag_sig {
	border-style:solid;
	border-width:1px;
	/*border-radius: 3px 3px 3px 3px;*/
}
/* ----------------------------------------------------------------------------- */
/* === loader === */
/* Fondo oscuro que cubre todo */

  body.loading {
    overflow: hidden;
  }
  #loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
  }
  #loader.hidden {
    opacity: 0;
    pointer-events: none;
  }

  /* Spinner circular */
  .spinner {
    width: 50px;
    height: 50px;
    border: 6px solid #ffffff30;
    border-top: 6px solid #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
  }

  @keyframes spin {
    to {
      transform: rotate(360deg);
    }
  }
/* ----------------------------------------------------------------------------- */
/* === puntos, página usuario === */

.contenedor {
  position: relative;

  background-color: var(--blanco);
  transform: translateX(-50%);
  left:50%;
  width: 99%;
  border: 0px solid #ffc107;
  border-radius: 12px;
  padding: 20px 5px 20px;
  margin: 10px 0px;
  text-align: center;
  box-shadow: 0px 0px 5px 0px rgba(0,0,0,33%);
}

.header-puntos {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.cantidad-puntos {
  font-size: 1.5rem;
  color: #ff6f00;
  font-weight: bold;
  margin-left: 0.5rem;
}

.contenedor-sanciones{
	position: relative;
	width:95%;
  max-width: 800px;
	height:auto;
	top:10px;
	/* left:50%;
  transform: translate(-50%, 0%); */
	margin: 0 auto 20px auto;
	padding: 5px;
  border-radius: 0px;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0px 2px 0px 0px rgba(0, 0, 0, 0.1), 0px -2px 0px 0px rgba(0, 0, 0, 0.1);
  background-color: var(--blanco-trans);

}

.contenido-expandible {
  overflow: hidden;
  transition: height 0.3s ease;
  height: 0px;
  display: none;
}

.contenedor-imagen-usuario{
    position: absolute;
    top: 10px;
    right: 20px;
    width: 60px;
    float: right;
}
.contenedor-imagen-usuario img{
  border-radius: 50%;
}
.add_image {
  position: absolute;
  cursor: pointer;
  top: 40px;
  left: 40px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
}
/* ----------------------------------------------------------------------------- */
/* === menu contextual === */

  #miMenuContextual {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    border: 1px solid #dcdcdc;
    padding: 5px 0;
    min-width: 150px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }

  #miMenuContextual ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  #miMenuContextual li a {
    display: block;
    padding: 8px 15px;
    text-decoration: none;
    color: #333;
  }

  #miMenuContextual li a:hover {
    background-color: #eee;
  }
  
/* ----------------------------------------------------------------------------- */
/* === responsive === */

@media screen and (max-height: 450px) {
  .sidenav {padding-top: 15px;}
  .sidenav a {font-size: 18px;}
}
  /* Para pantallas pequeñas: cada elemento ocupará el 100% */

@media (max-width: 800px) {
  .logo {
    background-image: unset;
    background-color: transparent;
  }
  header{
    background-color: transparent;
    color: transparent;
    margin-bottom: 0px;
    position: absolute;

  }
  .menu-btn{
    background-color: var(--blanco);
  }
  .contenido-home {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 0px;      
  }
  .contenido-calendario {
    margin: 0px auto 0 auto;
  }
  .base_calendar {
    width: 95%;
    max-width: 100%;
    margin-top: 20px;
  }  
}