html,
body {
  height: 100%;
  margin: 0;
}
body,
html {
  margin: 0;
}
canvas {
  display: block;
}

body {
  height: 100vh;
  overflow: hidden;
  background-color: #fafafa;
}

body,
input,
textarea,
button {
  /*font-family: "Inter Tight", sans-serif !important;*/
  font-family: "Lato", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  /*padding: 0;*/
}

a.claim {
  color: #000;
  text-decoration: none !important;
  transition: all 0.3s ease;
  position: relative;
}

a.claim:hover {
  color: #000;
  text-decoration: none !important;
}

/* HEADER */
header {
  display: none /*flex*/;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 60px;
  background-color: #efefef;
  color: white;
  padding: 0 1rem;
}

.header-col {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.header-left {
  width: 10%;
  justify-content: flex-start;
}

.header-center {
  width: 80%;
  justify-content: center;
  text-align: center;
}

.header-right {
  width: 10%;
  justify-content: flex-end;
}

/* CONTENEDOR PRINCIPAL */
.main {
  display: flex;
  flex: 1;
  /*height: calc(100vh - 60px);*/
  height: 100vh;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  /* opcional, evita scroll doble */
}

.col-izquierda {
  z-index: 2;
  flex-shrink: 0;
  overflow: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  position: relative;
  width: 15%;
  min-width: 245px;
  background: linear-gradient(315deg, #d4d4d4 0%, #fff 50%, #e8e8e8 100%);

  /*background: linear-gradient(to bottom right,#d4d4d4, #e8e8e8);*/
  border-right: 4px solid #fff;
  padding: 3rem 1.5rem 3rem 1.5rem;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
  transform: translateX(0);
  opacity: 1;
  /* overflow: hidden; */
  display: flex;
  flex-direction: column;
  align-content: stretch;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  /*	box-shadow: 2px 0 12px rgba(0, 0, 0, 0.05);*/
  box-shadow: rgba(0, 0, 0, 0.15) 15px 0px 25px,
    rgba(0, 0, 0, 0.05) 5px 0px 10px;

  /*animation: slideInLeft 0.6s ease-out forwards;*/
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Pseudo-elemento para el gradiente */
/*.col-izquierda::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(to bottom right, #d9d9d9, #e8e8e8);

	opacity: 1;
	transition: opacity 1s ease;

	pointer-events: none;

	z-index: 0;

}*/

/* Asegurar que el contenido quede encima */
.col-izquierda > * {
  position: relative;
  z-index: 1;
}

/* Hover: mostrar el gradiente */
/*.col-izquierda:hover::before {
	opacity: 1;
}*/

.col-derecha {
  flex: 1;
  min-height: 0;
  overflow-y: scroll;
  scrollbar-width: none;
  /* oculta scrollbar en Firefox */
  -ms-overflow-style: none;
  /* oculta scrollbar en IE/Edge antiguos */
  width: 80%;

  /*background: #f9f9f9;*/

  /*background: linear-gradient(180deg, rgba(239, 239, 239, 1) 0%, rgba(229, 228, 226, 1) 50%, rgba(211, 211, 211, 1) 100%);*/
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 1.5rem 2rem 1.5rem 2rem;
}

.fade-in {
  opacity: 0;
  /* empieza invisible */
  animation: fadeIn 1s ease-in forwards;
  /* 1s de duración */
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Estado retraído */
.collapsed .col-izquierda {
  width: 100px;
  min-width: 100px;
  gap: 1rem;
  /*border-right: 2px solid #fff;*/
  /*transform: translateX(-30px);*/
  padding: 3rem 0rem 1rem;
  /*opacity: 0;*/
}

.collapsed .col-derecha {
  width: 100%;
}

.toggle-btn {
  width: 100%;
  max-width: 80px;
  position: absolute;
  left: 0px;
  right: 0px;
  margin: auto;
  bottom: 0px;
  /* background: #fff;
    box-shadow: -10px -10px 30px 0 #fff, 10px 10px 30px 0 #1d0dca17;
    box-sizing: border-box;
    color: #2a1f62;*/
  cursor: pointer;
  /*   border: 1px solid #ccc;
    padding: 6px 6px 6px 0px;
    border-radius: 14px 14px 0px 0px;*/
  transition: background 0.3s;
  z-index: 10;
  font-size: 14px;

  line-height: 1;
  font-weight: 300;
  display: flex;
  padding: 0.5rem;
  background: linear-gradient(to bottom right, #ffffff, #f9f9f9);
  border: 2px solid #ffffff;
  border-bottom: none;
  border-radius: 8px 8px 0px 0px;
  flex-direction: row;
  align-content: center;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px,
    rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}

.toggle-btn:hover {
  background: #f8f8ff;
  box-shadow: -15px -15px 30px 0 #fff, 15px 15px 30px 0 #1d0dca17;
}

body.collapsed .toggle-btn {
  max-width: 80px;
  font-size: 0;
  /* oculta el texto sin quitar el icono */
}

body.collapsed .toggle-btn::after {
  content: "☰ Show";
  /* texto alternativo cuando está colapsado */
  font-size: 14px;
  /* restaura tamaño del texto */
}

.botuser {
  padding: 0rem 0rem 2rem;
  display: flex;
  flex: 0 0 10%;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: flex-start;
  align-items: center;
  /* min-height: 90px;*/
  width: 100%;
  gap: 0.4rem;
}

.botuser .col-btn {
  margin: 0;
}

.toppanel {
  width: 100%;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: flex-start;
  align-items: center;
  gap: 0rem;
  flex: 1;
}
/*
.claim {
	display: flex;
	flex: 0 0 10%;
	flex-direction: row;
	flex-wrap: nowrap;
	align-content: center;
	justify-content: center;
	align-items: center;
	width: 100%;

}

.logo {
	cursor: pointer;
	max-width: 64px;
	transition: transform .3s ease-in-out;
}

.logo:hover {
	transform: translateY(-2px)
}

.claim h1 {
	font-weight: 300;
	margin-left: 1rem;
}*/

/* ==========================================
   BOTÓN GLASS
   ========================================== */
.glass {
  display: flex;
  width: 75px;
  height: 75px;
  min-height: 75px;
  border-radius: 50%;
  border: none;
  padding: 0;
  cursor: pointer;
  position: relative;
  background: radial-gradient(
    circle at 50% 50%,
    #ffffff 0%,
    #f7f7f7 30%,
    #e4e4e4 60%,
    #c7c7c7 100%
  );
  flex-direction: column;
  align-content: center;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.8),
    inset 0 0 12px rgba(255, 255, 255, 0.9),
    inset 0 0 10px rgba(255, 255, 255, 0.6);
  transition: all 0.3s ease;
  z-index: 1;
}

/* ==========================================
   DOBLE BORDE INTERNO + GRADIENTE ANIMADO EN GRIS
   ========================================== */
.glass::before {
  content: "";
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.5),
    0 0 12px rgba(0, 0, 0, 0.18);
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 2;
  background: transparent;
}

/* Hover — activamos gradiente animado solo en gris/blanco */
.glass:hover::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    270deg,
    #ffffff,
    /* blanco inicial */ #befbff,
    /* cian neón */ #9be5ff,
    /* punto oscuro intenso */ #32ffff,
    /* cian neón */ #ffffff /* blanco final */
  );
  background-size: 600% 600%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: lightFlash 65s linear infinite;
}
@keyframes lightFlash {
  0% {
    background-position: -100% 0;
  } /* inicio fuera */
  5% {
    background-position: 100% 0;
  } /* primer flash rápido */
  10% {
    background-position: -100% 0;
  } /* vuelve rápido */
  15% {
    background-position: 100% 0;
  } /* segundo flash rápido */
  25% {
    background-position: -100% 0;
  } /* regresa rápido */
  100% {
    background-position: -100% 0;
  } /* vuelta lenta al inicio */
}

.glass h1 {
  font-size: 0.9em;
  font-weight: 700;
  text-decoration: none !important;
  position: absolute;
  top: -1.3rem;
  z-index: 10;
  letter-spacing: 0.2px;
  color: #151515;
  background: linear-gradient(
    120deg,
    #151515 0%,
    #151515 45%,
    #ffffff 48%,
    #a8fff7 50%,
    #3dfce0 52%,
    #151515 55%,
    #151515 100%
  );
  background-size: 300% 300%;
  background-position: 150% 150%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Hover: destello inicial + ciclo posterior */
.glass:hover h1 {
  animation: shine-initial 0.4s ease-out forwards,
    /* destello llamativo al inicio */ shine-cycle 3s ease-in-out 0.4s infinite; /* ciclo posterior */
}

/* Destello inicial rápido */
@keyframes shine-initial {
  0% {
    background-position: 150% 150%;
  }
  100% {
    background-position: -150% -150%;
  }
}

/* Ciclo posterior: destello fugaz dentro del ciclo */
@keyframes shine-cycle {
  0%,
  80% {
    background-position: 150% 150%; /* pausa larga */
  }
  82% {
    background-position: -150% -150%; /* destello rápido */
  }
  100% {
    background-position: 150% 150%; /* vuelve al inicio */
  }
}

/* ==========================================
   Pseudo-elemento interno extra (sombra interna)
   ========================================== */
.glass::after {
  content: "";
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  box-shadow: inset 0 0 14px rgba(255, 255, 255, 0.7),
    inset 0 0 6px rgba(144, 144, 144, 0.25);
  pointer-events: none;
  z-index: 1;
}

/* ==========================================
   LOGO
   ========================================== */
.glass .btn-logo {
  width: 50%;
  z-index: 5;
  position: relative;
}

/* ==========================================
   HOVER — MÁS ILUMINADO
   ========================================== */
.glass:hover {
  background: radial-gradient(
    circle at 50% 50%,
    #ffffff 0%,
    #f2f2f2 30%,
    #f6f6f6 60%,
    #ffffff 100%
  );
  /*  box-shadow: 
    0 0 50px 25px rgba(255, 252, 61, 0.9),   
    inset 0 3px 9px rgba(255, 255, 220, 1),  
    inset 0 -3px 10px rgba(255, 255, 220, 0.75);  */
  animation: shadowFlash 0.7s ease-in-out infinite;
}
.glass.contip .tooltip {
  bottom: 80% !important;
  display: none;
}

/* ==========================================
   ACTIVE + FOCUS — HUNDIDO
   ========================================== */
.glass:active,
.glass:focus {
  outline: none;
  transform: translateY(2px);
  background: radial-gradient(
    circle at 50% 55%,
    #e9e9e9 0%,
    #d7d7d7 40%,
    #b6b6b6 100%
  );
  box-shadow: inset 0 6px 14px rgba(0, 0, 0, 0.38),
    inset 0 -6px 16px rgba(255, 255, 255, 0.45),
    inset 0 0 22px rgba(255, 255, 255, 0.55), inset 0 0 10px rgba(0, 0, 0, 0.28);
}

/* ==========================================
   ANIMACIÓN DEL GRADIENTE
   ========================================== */

@keyframes shadowFlash {
  0% {
    box-shadow: 0 0 10px rgba(50, 255, 255, 0.6),
      0 0 20px rgba(255, 255, 255, 0.4), 0 0 30px rgba(232, 232, 232, 0.3),
      inset 0 3px 9px rgba(255, 255, 220, 1),
      inset 0 -3px 10px rgba(255, 255, 220, 0.75);
  }
  20% {
    box-shadow: 0 0 15px rgba(50, 255, 255, 0.7),
      0 0 25px rgba(255, 255, 255, 0.45), 0 0 35px rgba(232, 232, 232, 0.35),
      inset 0 3px 9px rgba(255, 255, 220, 1),
      inset 0 -3px 10px rgba(255, 255, 220, 0.75);
  }
  50% {
    box-shadow: 0 0 20px rgba(50, 255, 255, 0.8),
      0 0 30px rgba(255, 255, 255, 0.5), 0 0 40px rgba(232, 232, 232, 0.4),
      inset 0 3px 9px rgba(255, 255, 220, 1),
      inset 0 -3px 10px rgba(255, 255, 220, 0.75);
  }
  80% {
    box-shadow: 0 0 15px rgba(50, 255, 255, 0.7),
      0 0 25px rgba(255, 255, 255, 0.45), 0 0 35px rgba(232, 232, 232, 0.35),
      inset 0 3px 9px rgba(255, 255, 220, 1),
      inset 0 -3px 10px rgba(255, 255, 220, 0.75);
  }
  100% {
    box-shadow: 0 0 10px rgba(50, 255, 255, 0.6),
      0 0 20px rgba(255, 255, 255, 0.4), 0 0 30px rgba(232, 232, 232, 0.3),
      inset 0 3px 9px rgba(255, 255, 220, 1),
      inset 0 -3px 10px rgba(255, 255, 220, 0.75);
  }
}

.col-izquierda .col-btn {
  opacity: 0;
  transform: translateX(50px);
  animation: slideInRightChain 0.35s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.botonera button:nth-child(1) {
  animation-delay: 0s;
}

.botonera button:nth-child(2) {
  animation-delay: 0.05s;
}

.botonera button:nth-child(3) {
  animation-delay: 0.1s;
}

.botonera button:nth-child(4) {
  animation-delay: 0.15s;
}

.botonera button:nth-child(5) {
  animation-delay: 0.2s;
}

.botonera button:nth-child(6) {
  animation-delay: 0.25s;
}

.botonera button:nth-child(7) {
  animation-delay: 0.3s;
}

@keyframes slideInRightChain {
  0% {
    opacity: 0;
    transform: translateX(50px);
  }

  70% {
    transform: translateX(-5px);
    /* rebote ligero */
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.col-btn {
  position: relative;
  cursor: pointer;
  font-weight: 400;
  transition: all 0.2s;
  padding: 0.4em 2em;
  border-radius: 100px;
  border: 4px solid #fff;
  background: white;
  background: linear-gradient(to top left, #e8e8e8, #fff);

  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  margin: 0rem;
  width: 100%;
}

.col-btn:hover {
  background: linear-gradient(to top left, #f9f9f9, #e8e8e8);
  border: 4px solid #e3e3e3;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.col-btn:focus {
  background: linear-gradient(to top left, #f9f9f9, #e8e8e8);
  border: 4px solid #e8e8e8;
}
/*
.collapsed .col-btn::after {
	content: "";
	display: inline-block;
	height: 100%;
	width: 100%;
	border-radius: 100px;
	position: absolute;
	top: 0;
	left: 0;
	z-index: -2;
	transition: all 0.4s;
}

.collapsed .col-btn::after {
	background-image: linear-gradient(to top left, #FFFFFF, #e8e8e8);
	opacity:0.5;

}

.collapsed .col-btn:hover::after {
	transform: scaleX(1.4) scaleY(1.6);
	opacity: 0;
}
*/
/* rosa */
.botonera button:nth-child(1):focus {
  border-color: #ffb3b8;
  /* rosa */
}

.botonera button:nth-child(1):focus img {
  opacity: 1;
  transform: translateY(0%) translateX(-100%) rotate(-180deg) !important;
}

.event {
  position: relative;
  border-radius: 100px /* 0 0 100px */ !important;
  border: 4px solid /*#ffb3b8*/ #ffe1e3;
  /*border: none !important; */
  /*border-right: 2px solid transparent !important;*/ /* si lo necesitas */
  /*margin-right: -3rem !important;*/
  background: linear-gradient(to top left, #ffe1e3, #fff);
  /*z-index: 1;*/
  /*min-height:52px;*/
  box-shadow: 0 4px 8px #ffacbf80, 0 0 20px 8px #ff9ea761 !important;
}
/*
.event::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 100px 0 0 100px; 
  padding: 4px; 
background: linear-gradient(
  270deg,
  #ffb3b8,   
  #ffc6ca,   
  #ffffff,   
  #ffc6ca,    
  #ffb3b8    
);

  background-size: 600% 600%;
  -webkit-mask: 
      linear-gradient(#fff 0 0) content-box, 
      linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude; 
  z-index: -1;
  animation: gradientAnim 10s ease infinite; 
}

@keyframes gradientAnim {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
*/

.event img {
  opacity: 1;
  transform: translateY(0%) translateX(-100%) rotate(-180deg) !important;
}

.collapsed .col-izquierda .event {
  border: 4px solid #ffe1e3 !important;
  border-radius: 100px !important;
  /*background: transparent !important;*/
  /* background: linear-gradient(to top left, #ffc6ca, #fff)!important;*/
  background: radial-gradient(circle, #fff 35%, #ffe1e3 100%) !important;
  /*overflow:visible;*/
  /*   box-shadow: 
        0 4px 8px rgba(255, 225, 227, 0.35),
        0 0 20px 8px rgba(255, 225, 227, 0.5)!important;*/
}

/*.collapsed .col-izquierda .event::before {

	border-radius: 100px !important;

}*/
.collapsed .col-izquierda .event img {
  opacity: 1;
  transform: translateY(0%) translateX(0%) rotate(0deg) !important;
}

.color-event:focus,
.color-event:active {
  border-color: #ffb3b8 !important;
}

/* rosa */

/* blue */
.botonera button:nth-child(2):focus {
  border-color: #5fd9e8;
}

.botonera button:nth-child(2):focus img {
  opacity: 1;
  transform: translateY(0%) translateX(-100%) rotate(-180deg) !important;
}

.collapsed .col-izquierda .email {
  border: 4px solid #a2f0f8 !important;
  border-radius: 100px !important;
  /*background: transparent !important;*/
  /* background: linear-gradient(to top left, #a2f0f8, #fff)!important;*/
  background: radial-gradient(circle, #fff 35%, #b9f4fa 100%) !important;
  /*overflow:visible;*/
}
/*
.collapsed .col-izquierda .email::before {

	border-radius: 100px !important;

}*/
.collapsed .col-izquierda .email img {
  opacity: 1;
  transform: translateY(0%) translateX(0%) rotate(0deg) !important;
}

.color-email:focus,
.color-email:active {
  border-color: #5fd9e8 !important;
}

.email {
  background: linear-gradient(to top left, #a2f0f8, #fff);

  /*background: white !important;*/
  border: 4px solid /*#ffb3b8*/ #a2f0f8;
  border-radius: 100px /*0px 0px 100px*/ !important;
  /*	border-right: 2px solid transparent !important;
	margin-right: -3rem !important; */
  /* z-index: 1;*/
  /*  overflow: hidden;*/
  /*min-height:52px;*/
  box-shadow: 0 4px 8px #00a4c980, 0 0 20px 8px #19e6ff61 !important;
}

/*
.email::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 100px 0 0 100px; 
  padding: 4px; 
background: linear-gradient(
  270deg,
  #5fd9e8,   
  #a2f0f8,   
  #ffffff,    
  #a2f0f8,   
  #5fd9e8     
);
  background-size: 600% 600%;
  -webkit-mask: 
      linear-gradient(#fff 0 0) content-box, 
      linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude; 
  z-index: -1;
  animation: gradientAnim 10s ease infinite;
}

@keyframes gradientAnim {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}*/

.email img {
  opacity: 1;
  transform: translateY(0%) translateX(-100%) rotate(-180deg) !important;
}
.naranja.info-message {
  background: #5fd9e8;
  color: #fff;
  padding: 0.2rem 1rem;
  border-radius: 8px;
  font-size: 0.9em;
  border: 1px solid #5fd9e8;
}

/* blue */

/* azul */
.botonera button:nth-child(3):focus {
  border-color: #a2cfee;
}

.botonera button:nth-child(3):focus img {
  opacity: 1;
  transform: translateY(0%) translateX(-100%) rotate(-180deg) !important;
}

.collapsed .col-izquierda .plan {
  border: 4px solid #d6eafd !important;
  border-radius: 100px !important;
  /*background: transparent !important;*/
  /* background: linear-gradient(to top left, #d6eafd, #fff)!important;*/
  /*overflow:visible;*/
  background: radial-gradient(circle, #fff 35%, #d6eafd 100%) !important;
}
/*
.collapsed .col-izquierda .plan::before {

	border-radius: 100px !important;

}*/
.collapsed .col-izquierda .plan img {
  opacity: 1 !important;
  transform: translateY(0%) translateX(0%) rotate(0deg) !important;
}

.color-plan:focus,
.color-plan:active {
  border-color: #a2cfee !important;
}

.plan {
  background: linear-gradient(to top left, #d6eafd, #fff);
  /*background: white !important;*/
  border: 4px solid /*#ffb3b8*/ #d6eafd;
  border-radius: 100px /* 0px 0px 100px*/ !important;
  /*	border-right: 2px solid transparent !important;
	margin-right: -3rem !important; */
  /* z-index: 1;*/
  /*  overflow: hidden;*/
  /*min-height:52px;*/
  box-shadow: 0 4px 8px #a0bee980, 0 0 20px 8px #48c2ff80 !important;
}
/*
.plan::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 100px 0 0 100px; 
  padding: 4px; 
background: linear-gradient(
  270deg,
  #a2cfee,   
  #d6eafd,   
  #ffffff,   
  #d6eafd,   
  #a2cfee    
);
  background-size: 600% 600%;
  -webkit-mask: 
      linear-gradient(#fff 0 0) content-box, 
      linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude; 
  z-index: -1;
  animation: gradientAnim 10s ease infinite; 
}

@keyframes gradientAnim {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}*/

.plan img {
  opacity: 1;
  transform: translateY(0%) translateX(-100%) rotate(-180deg) !important;
}

/* azul */

/* verde */
.botonera button:nth-child(4):focus {
  border-color: #aaf0d1;
}

.botonera button:nth-child(4):focus img {
  opacity: 1;
  transform: translateY(0%) translateX(-100%) rotate(-180deg) !important;
}

.collapsed .col-izquierda .spreadsheet {
  border: 4px solid #c9f6e2 !important;
  border-radius: 100px !important;
  /*background: transparent !important;*/
  /* background: linear-gradient(to top left, #c9f6e2, #fff)!important;*/
  background: radial-gradient(circle, #fff 35%, #c9f6e2 100%) !important;
  /*overflow:visible;*/
}

.collapsed .col-izquierda .spreadsheet::before {
  border-radius: 100px !important;
}

.collapsed .col-izquierda .spreadsheet img {
  opacity: 1;
  transform: translateY(0%) translateX(0%) rotate(0deg) !important;
}

.color-spreadsheet:focus,
.color-spreadsheet:active {
  border-color: #aaf0d1 !important;
}

.spreadsheet {
  background: linear-gradient(to top left, #c9f6e2, #fff);
  /*background: white !important;*/
  border: 4px solid /*#ffb3b8*/ #c9f6e2;
  border-radius: 100px /*0px 0px 100px*/ !important;
  /*	border-right: 2px solid transparent !important;
	margin-right: -3rem !important; */
  /* z-index: 1;*/
  /*  overflow: hidden;*/
  /*min-height:52px;*/
  box-shadow: 0 4px 8px #a0e9e080, 0 0 20px 8px #34e2a280 !important;
}
/*
.spreadsheet::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 100px 0 0 100px; 
  padding: 4px; 
background: linear-gradient(
  270deg,
  #aaf0d1,   
  #d7f9ea,   
  #ffffff,   
  #d7f9ea,   
  #aaf0d1    
);

  background-size: 600% 600%;
  -webkit-mask: 
      linear-gradient(#fff 0 0) content-box, 
      linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude; 
  z-index: -1;
  animation: gradientAnim 10s ease infinite; 
}

@keyframes gradientAnim {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
*/

.spreadsheet img {
  opacity: 1;
  transform: translateY(0%) translateX(-100%) rotate(-180deg) !important;
}

/* verde */

/* lila */
.botonera button:nth-child(5):focus {
  border-color: #dcd0ff;
}

.botonera button:nth-child(5):focus img {
  opacity: 1;
  transform: translateY(0%) translateX(-100%) rotate(-180deg) !important;
}

.collapsed .col-izquierda .code {
  border: 4px solid #edddff !important;
  border-radius: 100px !important;
  /*background: transparent !important;*/
  /* background: linear-gradient(to top left, #edddff, #fff)!important;*/
  background: radial-gradient(circle, #fff 35%, #edddff 100%) !important;
  /*overflow:visible;*/
}
/*
.collapsed .col-izquierda .code::before {

	border-radius: 100px !important;

}*/
.collapsed .col-izquierda .code img {
  opacity: 1;
  transform: translateY(0%) translateX(0%) rotate(0deg) !important;
}

.color-code:focus,
.color-code:active {
  border-color: #dcd0ff !important;
}

.code {
  background: linear-gradient(to top left, #edddff, #fff);
  /*background: white !important;*/
  border: 4px solid /*#ffb3b8*/ #edddff;
  border-radius: 100px /* 0px 0px 100px*/ !important;
  /*	border-right: 2px solid transparent !important;
	margin-right: -3rem !important; */
  /* z-index: 1;*/
  /*  overflow: hidden;*/
  /*min-height:52px;*/
  box-shadow: 0 4px 8px #a27dbe80, 0 0 20px 8px #c79bf180 !important;
}

/*
.code::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 100px 0 0 100px; 
  padding: 4px; 
background: linear-gradient(
  270deg,
  #dcd0ff,      
  #e6dbff,      
  #ffffff,      
  #e6dbff,      
  #dcd0ff       
);

  background-size: 600% 600%;
  -webkit-mask: 
      linear-gradient(#fff 0 0) content-box, 
      linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude; 
  z-index: -1;
  animation: gradientAnim 10s ease infinite; 
}

@keyframes gradientAnim {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}*/

.code img {
  opacity: 1;
  transform: translateY(0%) translateX(-100%) rotate(-180deg) !important;
}

/* lila */

/* amarillo */
.botonera button:nth-child(6):focus {
  border-color: #d7e868;
}

.botonera button:nth-child(6):focus img {
  opacity: 1;
  transform: translateY(0%) translateX(-100%) rotate(-180deg) !important;
}

.collapsed .col-izquierda .research {
  border: 4px solid #f0f7c8 !important;
  border-radius: 100px !important;
  /*background: transparent !important;*/
  /* background: linear-gradient(to top left, #f0f7c8, #fff)!important;*/
  background: radial-gradient(circle, #fff 35%, #f0f7c8 100%) !important;
  /*overflow:visible;*/
}
.collapsed .col-izquierda .research::before {
  border-radius: 100px !important;
}
.collapsed .col-izquierda .research img {
  opacity: 1;
  transform: translateY(0%) translateX(0%) rotate(0deg) !important;
}

.color-research:focus,
.color-research:active {
  border-color: #d7e868 !important;
}

.research {
  background: linear-gradient(to top left, #f0f7c8, #fff);
  /*background: white !important;*/
  border: 4px solid /*#ffb3b8*/ #f0f7c8;
  border-radius: 100px /* 0px 0px 100px*/ !important;
  /*border-right: 2px solid transparent !important;
	margin-right: -3rem !important; */
  /* z-index: 1;*/
  /*  overflow: hidden;*/
  /*min-height:52px;*/

  box-shadow: 0 4px 8px #c7ca4f80, 0 0 20px 8px #f6ec5b80 !important;
}
/*
.research::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 100px 0 0 100px; 
  padding: 4px; 
background: linear-gradient(
  270deg,
  #d7e868,   
  #e9f3a5,   
  #ffffff,   
  #e9f3a5,   
  #d7e868    
);


  background-size: 600% 600%;
  -webkit-mask: 
      linear-gradient(#fff 0 0) content-box, 
      linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude; 
  z-index: -1;
  animation: gradientAnim 10s ease infinite; 
}

@keyframes gradientAnim {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}*/

.research img {
  opacity: 1;
  transform: translateY(0%) translateX(-100%) rotate(-180deg) !important;
}

/* amarillo */

/* turquesa */
.botonera button:nth-child(7):focus {
  border-color: #b0e0d3;
}

.botonera button:nth-child(7):focus img {
  opacity: 1;
  transform: translateY(0%) translateX(-100%) rotate(-180deg) !important;
}

.collapsed .col-izquierda .browser {
  border: 4px solid #d4f4e8 !important;
  border-radius: 100px !important;
  /*background: transparent !important;*/
  /* background: linear-gradient(to top left, #d4f4e8, #fff)!important;*/
  background: radial-gradient(circle, #fff 35%, #d4f4e8 100%) !important;
  /*overflow:visible;*/
}
/*
.collapsed .col-izquierda .browser::before {

	border-radius: 100px !important;

}*/
.collapsed .col-izquierda .browser img {
  opacity: 1;
  transform: translateY(0%) translateX(0%) rotate(0deg) !important;
}

.color-browser:focus,
.color-browser:active {
  border-color: #b0e0d3 !important;
}

.browser {
  background: linear-gradient(to top left, #d4f4e8, #fff);
  /*background: white !important;*/
  border: 4px solid /*#ffb3b8*/ #d4f4e8;
  border-radius: 100px /*0px 0px 100px */ !important;
  /*border-right: 2px solid transparent !important;
	margin-right: -3rem !important; */
  /* z-index: 1;*/
  /*  overflow: hidden;*/
  /*min-height:52px;*/
  box-shadow: 0 4px 8px #4fca9c80, 0 0 20px 8px #5bf6bc80 !important;
}
/*
.browser::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 100px 0 0 100px; 
  padding: 4px; 
background: linear-gradient(
  270deg,
  #b0e0d3,   
  #d4f4e8,   
  #ffffff,  
  #d4f4e8,   
  #b0e0d3   
);



  background-size: 600% 600%;
  -webkit-mask: 
      linear-gradient(#fff 0 0) content-box, 
      linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude; 
  z-index: -1;
  animation: gradientAnim 10s ease infinite; 
}

@keyframes gradientAnim {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}*/

.browser img {
  opacity: 1;
  transform: translateY(0%) translateX(-100%) rotate(-180deg) !important;
}

/* turquesa */

/*
.botuser button:nth-child(1):focus, .botuser button:nth-child(1):active {
	border:4px solid #666;

}*/

.user {
  background: linear-gradient(135deg, #fff 0%, #e1e1e1 100%) !important;
  /*background: white !important;*/
  border: 4px solid /*#ffb3b8*/ #e1e1e1;
  border-radius: 100px /*0px 0px 100px*/ !important;
  /*	border-right: 2px solid transparent !important;
	margin-right: -3rem !important; */
  /* z-index: 1;*/
  /*  overflow: hidden;*/
  /*min-height:52px;*/
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 0 15px 6px rgba(255, 255, 255, 0.5) !important;
}
/*
.user::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 100px 0 0 100px; 
  padding: 4px; 
background: linear-gradient(
  270deg,
  #666666,
  #999999,
  #ffffff,
  #999999,
  #666666
);


  background-size: 600% 600%;
  -webkit-mask: 
      linear-gradient(#fff 0 0) content-box, 
      linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude; 
  z-index: -1;
  animation: gradientAnim 10s ease infinite; 
}

@keyframes gradientAnim {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}*/

.user img {
  opacity: 1;
  transform: translateY(0%) translateX(-100%) rotate(-180deg) !important;
}

.collapsed .col-izquierda .user {
  border: 4px solid #cecece !important;
  border-radius: 100px !important;
  /*background: transparent !important;*/
  /* background: linear-gradient(to top left, #cecece, #fff)!important;*/
  background: radial-gradient(circle, #fff 35%, #bcbcbc 100%) !important;
  overflow: visible;
}
.collapsed .col-izquierda .user::before {
  border-radius: 100px !important;
}
.collapsed .col-izquierda .user img {
  opacity: 1;
  transform: translateY(0%) translateX(0%) rotate(0deg) !important;
}

.color-user:focus,
.color-user:active {
  border-color: #cecece !important;
}

.botuser button:nth-child(1):focus img {
  opacity: 1;
  transform: translateY(0%) translateX(-100%) rotate(-180deg) !important;
}

.col-btn > img {
  width: 24px;
  margin-left: 0px;
  transform: translateY(0%) rotate(-50deg);
  transition: 0.2s ease-out;
  opacity: 0.7;
}

.col-btn:hover img {
  transform: translateY(0%) translateX(-50%) rotate(-180deg);
}

.col-btn:focus img {
  opacity: 1;
  transform: translate(2px, 2px);
}

.collapsed .col-izquierda .col-btn:hover img {
  transform: translateY(-2px);
}

.collapsed .col-izquierda .col-btn p/*,
.collapsed .col-izquierda h1 */ {
  display: none;
}

.col-btn p {
  margin-bottom: 0px;
}

.col-btn .simbol {
  display: none;
}

.collapsed .col-izquierda .col-btn .simbol {
  display: block;
}

.collapsed .col-izquierda .col-btn {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;
  text-align: center;
}
/*
.paper {

	margin: 0.2rem 0;
	padding: 0.6rem 2rem;

	
}*/
/*
.paper:hover {
	border-radius: 100px 0px 0px 100px;
	border-right: 2px solid transparent;
	margin-right: -3rem;
}

.paper:focus {
	border-radius: 100px 0px 0px 100px;
	border-right: 2px solid transparent;
	margin-right: -3rem;
}*/
/*
.collapsed .paper {
	margin: 0.1rem 0 !important;
}*/
/*
.collapsed .paper:focus {
	border-radius: 100px;
}*/

.collapsed .col-izquierda .col-btn {
  padding: 0rem 0.5rem;
  border: 4px solid #fff;
  border-radius: 50px;
  color: #5b627c;
  background: linear-gradient(to bottom, #ffffff, #e9e9e9);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: all 0.25s ease;
  box-shadow: none;
  margin: 0rem !important;
  width: 52px;
  height: 52px;
}

.collapsed .col-izquierda .col-btn:hover {
  padding: 0rem 0.5rem;
  background: transparent;
  background: linear-gradient(to bottom, #e9e9e9, #fff);
  border: 4px solid #e8e8e8;
  margin: 0rem !important;
  width: 52px;
  height: 52px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.collapsed .col-izquierda .col-btn img {
  /*display: flex;*/
  margin: 0.5rem 0rem;
  display: none;
}
.collapsed .col-izquierda .col-btn .simbol img {
  /*display: flex;*/
  margin: 0.5rem 0rem;
  display: block !important;
  width: 20px;
  height: 20px;
  opacity: 0.6;
  transition: opacity 0.2s ease-out;
}
.collapsed .col-izquierda .col-btn:hover .simbol img {
  opacity: 1 !important;
}
.collapsed .col-izquierda .col-btn.event .simbol img,
.collapsed .col-izquierda .col-btn.email .simbol img,
.collapsed .col-izquierda .col-btn.txtplan .simbol img,
.collapsed .col-izquierda .col-btn.spreadsheet .simbol img,
.collapsed .col-izquierda .col-btn.code .simbol img,
.collapsed .col-izquierda .col-btn.research .simbol img,
.collapsed .col-izquierda .col-btn.browser .simbol img,
.collapsed .col-izquierda .col-btn.user .simbol img {
  opacity: 1 !important;
}

.collapsed .col-izquierda .col-btn:focus .simbol img {
  transform: translateY(0%) translateX(0%) rotate(0deg) !important;
  opacity: 1;
}

.collapsed .col-izquierda .toggle-btn {
  /*border-radius: 0;*/
}

.collapsed .col-izquierda .weather-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0px;
}

.botonera {
  width: 100%;
  display: flex;
  flex: 0 0 69%;
  flex-direction: column;
  align-content: center;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.4rem;
}

.speech-bubble {
  min-height: 120px;
  position: relative;
  background: #ffffff;
  border: 2px solid #fff /*191c2b*/;
  border-radius: 20px;
  padding: 2rem;
  width: 100%;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.mute-btn {
  position: absolute;
  bottom: 0.1rem;
  left: 0.1rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  margin: 0;
  padding: 8px;
  border: 3px solid #fff;
  border-radius: 50px;
  color: #5b627c;
  background: linear-gradient(to bottom, #ffffff, #e9e9e9);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: all 0.25s ease;
  cursor: pointer;

  opacity: 0;
  /* oculto al inicio */
  animation: dropBounce 0.6s ease-out forwards;
  /* más rápida que 0.8s */
  animation-delay: 1s;
  font-weigth: 700;
}

.mute-btn:hover {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.mute-btn img {
  width: 18px;
  height: 18px;
  transform-origin: center center;
  transition: transform 120ms ease;
  backface-visibility: hidden;
}

/* Keyframe de presionar */
@keyframes press-in {
  0% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(2px) scale(0.92);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

/* Animación al focus */
.mute-btn:focus img,
.mute-btn:focus-visible img {
  animation: press-in 180ms ease;
  outline: none;
}

/* Efecto inmediato al click/tap */
.mute-btn:active img {
  transform: translateY(2px) scale(0.92);
  transition: transform 80ms ease;
}

.speech-bubble:after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 0;
  height: 0;
  border: 20px solid transparent;
  border-left-color: #ffffff;
  border-right: 0;
  border-top: 0;
  margin-top: -10px;
  margin-right: -20px;
}

.contenedor {
  display: flex;
  min-height: 0;
  flex-direction: column;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  flex-wrap: nowrap;
  align-content: space-around;
  justify-content: space-between;
  align-items: stretch;
  gap: 1rem;
}

/* Filas principales */

/* Primera fila: dos columnas */
.fila-1 {
  min-height: 120px;
  height: 120px;
  flex-shrink: 0;
  display: flex;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: space-between;
  align-items: center;
  flex-direction: row;
  flex: 0 0 10%;
  gap: 1rem;
}

.spiker {
  width: 5%;
  min-width: 100px;
  max-width: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  padding: 0rem 0rem 0rem 0rem;
}
/* clase para ocultar */
.spiker.hidden {
  display: none;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid white;
  border-right: 2px solid blue;
  margin: 16px;
}

.speaker {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 4px solid #f9f9f9;
  background: linear-gradient(145deg, #f0f0f0, #b0b0b0);
  box-shadow: inset -3px -3px 6px rgba(255, 255, 255, 0.6),
    inset 3px 3px 6px rgba(0, 0, 0, 0.2), 0 2px 4px rgba(0, 0, 0, 0.1);
}

.ring {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid #bcbcbc;

  /* Gradiente radial para efecto cóncavo */
  background: radial-gradient(circle at 30% 30%, #e0e0e0, #bdbdbd);

  /* Sombras internas más profundas para simular hundimiento */
  box-shadow: inset 4px 4px 8px rgba(0, 0, 0, 0.25),
    /* sombra inferior derecha */ inset -4px -4px 8px rgba(255, 255, 255, 0.8);
  /* luz superior izquierda */
}

.interior {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 35% 35%,
    #ffffff,
    #c0c0c0 40%,
    #ffffff 100%
  );
  box-shadow: inset 0 2px 2px rgba(255, 255, 255, 0.5),
    inset 0 -2px 3px rgb(255 255 255 / 40%), 0 1px 1px rgba(0, 0, 0, 0.2);
}

.circle2 {
  animation: subwooferBeat 2.5s infinite ease-in-out;
  transform-origin: center;
}

@keyframes subwooferBeat {
  0% {
    transform: scale(1);
  }

  5% {
    transform: scale(1.25);
  }

  /* inicio del latido rápido */
  10% {
    transform: scale(1.1);
  }

  15% {
    transform: scale(1.3);
  }

  /* pico del latido */
  20% {
    transform: scale(1.05);
  }

  25% {
    transform: scale(1.25);
  }

  30% {
    transform: scale(1.1);
  }

  35% {
    transform: scale(1.2);
  }

  40% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
  }

  /* pausa larga hasta reinicio */
}

.col-izq {
  width: 100%;
  display: flex;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: space-between;
  align-items: flex-start;
  flex-direction: row;
  padding: 0.2rem 1rem 0rem 0rem;
}

.col-der {
  width: 5%;
  min-width: 150px;
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
  flex-wrap: nowrap;
  padding: 0rem 0rem 0rem 0rem;
  position: relative;
}

.icono {
  width: 140px;
  height: 140px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: transform 0.3s ease-in-out;
  outline: none;
  background-image: url(../img/chat-bot.png);
  background-size: 100px;
  background-position: center;
  background-repeat: no-repeat;
  border: 0;
  background-color: transparent;
  position: relative;
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.6));
}

.icono:hover {
  transform: translateY(-2px);
}

.icono:focus {
  animation: bounce 1s infinite;
}

/* Animación tipo “bounce” */
@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-8px);
  }

  60% {
    transform: translateY(-4px);
  }
}

.ianame {
  position: absolute;
  bottom: 0px;
  right: 0;
  left: 0;
  margin: auto;
  font-size: 18px;
  font-weight: 700;
  display: block;
  text-align: center;
}

body.doc .ianame,
body.spread .ianame,
body#coding .ianame {
  bottom: -10px;
  right: 0;
  left: 0;
  margin: auto;
  font-size: 14px;
  font-weight: 700;
}

/*el tiempo*/
.tiempo {
  width: 100%;
  flex: 0 0 6%;
}
.collapsed .tiempo {
  display: none;
}
.collapsed .toppanel {
  gap: 2rem;
}
.weather-card {
  /*       border-radius: 100px;
    padding: 1rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);*/
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  width: 100%;
  margin: 1rem auto;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
}

.city {
  font-weight: 500;
  font-size: 0.7em;
}

.time {
  font-size: 0.7em;
  color: #000;
}

.icon {
  font-size: 0.7em;
  margin: 0px 0;
}

.temp {
  font-size: 0.7em;
  font-weight: 600;
  color: #000;
}

.state {
  font-size: 0.7em;
  color: #000;
}

/* Fila 2 y 3 */
.fila-2 {
  flex: 1;
  min-height: 150px;

  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  width: 100%;
  height: 100%;
}

/* Asegura que el contenedor interno crezca al máximo */
.fila-2 > [role="application"] {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  height: 100%;
}

/* El área de respuesta ocupa toda la altura y tiene scroll */
.chatresponse {
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  overflow-y: scroll;
  scroll-behavior: smooth;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  padding: 0rem 3rem;
  line-height: 1.4;
  font-size: 1em;
  position: relative;
  gap: 0.9rem;
  min-height: 0;
}
/* Scrollbar base */
.chatresponse::-webkit-scrollbar {
  width: 12px;
}

/* Track */
.chatresponse::-webkit-scrollbar-track {
  background-color: #f9f9f9;
  box-sizing: border-box; /* importante */
}

/* Thumb */
.chatresponse::-webkit-scrollbar-thumb {
  border-radius: 3px;
  background-color: #e8e8e8;
  cursor: pointer;
  box-sizing: border-box; /* fuerza a incluir botones en el cálculo */
  min-height: 20px; /* asegura que sea visible aunque el contenido sea pequeño */
}

/* Botones arriba/abajo */
.chatresponse::-webkit-scrollbar-button:single-button:vertical:decrement {
  height: 12px;
  background: url(../img/icono-arriba.svg) no-repeat center;
  background-size: 12px 12px;
}

.chatresponse::-webkit-scrollbar-button:single-button:vertical:increment {
  height: 12px;
  background: url(../img/icono-abajo.svg) no-repeat center;
  background-size: 12px 12px;
}

p {
  line-height: 1.4;
}

.fila-3 {
  height: 120px;
  flex-shrink: 0;
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  align-content: space-around;
  align-items: center;
  gap: 1rem;
  padding-bottom: 0rem;
  border: 2px solid white;
  border-radius: 100px;
  padding: 0rem 1rem;
  box-shadow: rgba(0, 0, 0, 0.15) 0px 15px 25px,
    rgba(0, 0, 0, 0.05) 0px 5px 10px;

  background: #e8e8e8;
  /* fallback for old browsers */
  background: linear-gradient(to bottom right, #ffffff, #e8e8e8);
}

.excu {
  font-size: 0.6em;
  margin: auto;
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: flex-end;
  align-items: center;
  justify-content: flex-end;
  padding: 0 3rem;
  margin: -0.7rem 0 -0.7rem;
  animation: slideUpBounce 1.2s forwards;
  animation-delay: 0.3s;
}

.fila-3 {
  transform: translateY(40px);
  /* parte desde abajo */
  animation: slideUpBounce 1.2s forwards;
  /* animación de rebote */
  animation-delay: 0.3s;
  /* opcional: retraso para escalonar */
}

/* Keyframes solo de transform, sin tocar opacity */
@keyframes slideUpBounce {
  0% {
    transform: translateY(40px);
  }

  60% {
    transform: translateY(-10px);
    /* overshoot hacia arriba */
  }

  80% {
    transform: translateY(5px);
    /* rebote hacia abajo */
  }

  100% {
    transform: translateY(0);
    /* posición final asentada */
  }
}

.instrucciones:focus {
  border-color: #5b627c !important;
}

.mw60 {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;
  position: relative;
  min-width: 60px;
  max-width: 60px;
  height: 60px;
  padding: 8px !important;
  margin: 0;
  border: 4px solid #fff;
  /*background: #EFEFEF;
background: radial-gradient(circle, rgba(239, 239, 239, 1) 0%, rgba(229, 228, 226, 1) 50%, rgba(211, 211, 211, 1) 100%);*/
  background-color: #f7f7f7;
  background-image: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#f7f7f7),
    to(#e7e7e7)
  );
  background-image: -webkit-linear-gradient(top, #f7f7f7, #e7e7e7);
  background-image: -moz-linear-gradient(top, #f7f7f7, #e7e7e7);
  background-image: -ms-linear-gradient(top, #f7f7f7, #e7e7e7);
  background-image: -o-linear-gradient(top, #f7f7f7, #e7e7e7);
  /*box-shadow: rgba(0, 0, 0, 0.15) 0px 15px 25px, rgba(0, 0, 0, 0.05) 0px 5px 10px;*/
  border-radius: 50px;
  cursor: pointer;
}

.mw60 img {
  width: 24px;
  margin: 0 auto !important;
}

.mw60:hover img {
  transform: translateY(-2px);
  animation: bellRing 0.9s both;
}

/* bell ringing animation keyframes*/
@keyframes bellRing {
  0%,
  100% {
    transform-origin: top;
  }

  15% {
    transform: rotateZ(10deg);
  }

  30% {
    transform: rotateZ(-10deg);
  }

  45% {
    transform: rotateZ(5deg);
  }

  60% {
    transform: rotateZ(-5deg);
  }

  75% {
    transform: rotateZ(2deg);
  }
}

.mw60:hover {
  background: linear-gradient(180deg, #ffffff 0%, #efefef 100%);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.mw60:focus,
.mw60:active {
  background: linear-gradient(180deg, #f3f3f3 0%, #e0e0e0 100%);
  box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.15),
    inset 0 1px 2px rgba(255, 255, 255, 0.5);
  border-color: #ccc;
  transform: scale(0.97);
}

.mw30 {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;
  position: relative;
  min-width: 30px;
  max-width: 30px;
  height: 30px;
  padding: 0px !important;
  margin: 0;
  border: 2px solid #fff;
  /*background: #EFEFEF;
background: radial-gradient(circle, rgba(239, 239, 239, 1) 0%, rgba(229, 228, 226, 1) 50%, rgba(211, 211, 211, 1) 100%);*/
  background-color: #f7f7f7;
  background-image: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#f7f7f7),
    to(#e7e7e7)
  );
  background-image: -webkit-linear-gradient(top, #f7f7f7, #e7e7e7);
  background-image: -moz-linear-gradient(top, #f7f7f7, #e7e7e7);
  background-image: -ms-linear-gradient(top, #f7f7f7, #e7e7e7);
  background-image: -o-linear-gradient(top, #f7f7f7, #e7e7e7);
  /*box-shadow: rgba(0, 0, 0, 0.15) 0px 15px 25px, rgba(0, 0, 0, 0.05) 0px 5px 10px;*/
  border-radius: 50px;
  cursor: pointer;
}

.mw30 img {
  width: 18px;
  margin: 0 auto !important;
}

.mw30:hover img {
  transform: translateY(-2px);
  animation: bellRing 0.9s both;
}

/* bell ringing animation keyframes*/
@keyframes bellRing {
  0%,
  100% {
    transform-origin: top;
  }

  15% {
    transform: rotateZ(10deg);
  }

  30% {
    transform: rotateZ(-10deg);
  }

  45% {
    transform: rotateZ(5deg);
  }

  60% {
    transform: rotateZ(-5deg);
  }

  75% {
    transform: rotateZ(2deg);
  }
}

.mw30:hover {
  background: linear-gradient(180deg, #ffffff 0%, #efefef 100%);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.mw30:focus,
.mw30:active {
  background: linear-gradient(180deg, #f3f3f3 0%, #e0e0e0 100%);
  box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.15),
    inset 0 1px 2px rgba(255, 255, 255, 0.5);
  border-color: #ccc;
  transform: scale(0.97);
}

.letter {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 8px;
  border: 3px solid #fff;
  border-radius: 50px;
  color: #5b627c;
  background: linear-gradient(to bottom, #ffffff, #e9e9e9);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: all 0.25s ease;
  cursor: pointer;

  opacity: 0;
  /* oculto al inicio */
  animation: dropBounce 0.6s ease-out forwards;
  /* más rápida que 0.8s */
  animation-delay: 1s;
  font-weight: 700;
}

/* Keyframes de “drop + rebote” acelerado */
@keyframes dropBounce {
  0% {
    transform: translateY(-100px);
    opacity: 0;
  }

  50% {
    /* caída más rápida, solo la primera mitad del ciclo */
    transform: translateY(10px);
    opacity: 1;
  }

  70% {
    transform: translateY(-5px);
  }

  85% {
    transform: translateY(3px);
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Imagen o ícono */
.letter img {
  width: 16px /*50px*/;
  margin: 0 auto;
  transition: transform 0.25s ease;
}

/* Hover: ligera elevación */
.letter:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.letter:hover img {
  transform: translateY(-3px);
}

/* Focus/Active: efecto "presionado" con luz superior */
/*rosa*/
.color-event.letter:focus,
.color-event.letter:active {
  color: #000;
  background: linear-gradient(to bottom, #ffe4ec, #ffb6c1);
  box-shadow: inset 0 3px 6px rgba(180, 180, 180, 0.5),
    inset 0 -1px 4px rgba(255, 255, 255, 0.7),
    0 2px 6px rgba(200, 200, 200, 0.5);

  transform: translateY(1px) scale(0.97);
}

/*blue*/
.color-email.letter:focus,
.color-email.letter:active {
  color: #000;
  background: linear-gradient(to bottom, #a8f0f8, #5fd9e8);

  box-shadow: inset 0 3px 6px rgba(180, 180, 180, 0.5),
    inset 0 -1px 4px rgba(255, 255, 255, 0.7),
    0 2px 6px rgba(200, 200, 200, 0.5);

  transform: translateY(1px) scale(0.97);
}

/*azul*/
.color-plan.letter:focus,
.color-plan.letter:active {
  color: #000;
  background: linear-gradient(to bottom, #d4ecff, #a2cfee);
  box-shadow: inset 0 3px 6px rgba(180, 180, 180, 0.5),
    inset 0 -1px 4px rgba(255, 255, 255, 0.7),
    0 2px 6px rgba(200, 200, 200, 0.5);

  transform: translateY(1px) scale(0.97);
}

/*verde*/
.color-spreadsheet.letter:focus,
.color-spreadsheet.letter:active {
  color: #000;
  background: linear-gradient(to bottom, #d7fbe8, #aaf0d1);
  box-shadow: inset 0 3px 6px rgba(180, 180, 180, 0.5),
    inset 0 -1px 4px rgba(255, 255, 255, 0.7),
    0 2px 6px rgba(200, 200, 200, 0.5);

  transform: translateY(1px) scale(0.97);
}

/*lila*/
.color-code.letter:focus,
.color-code.letter:active {
  color: #000;
  background: linear-gradient(to bottom, #f0e6ff, #dcd0ff);
  box-shadow: inset 0 3px 6px rgba(180, 180, 180, 0.5),
    inset 0 -1px 4px rgba(255, 255, 255, 0.7),
    0 2px 6px rgba(200, 200, 200, 0.5);

  transform: translateY(1px) scale(0.97);
}

/*amarillo*/
.color-research.letter:focus,
.color-research.letter:active {
  color: #000;
  background: linear-gradient(to bottom, #fff9cc, #d7e868);
  box-shadow: inset 0 3px 6px rgba(180, 180, 180, 0.5),
    inset 0 -1px 4px rgba(255, 255, 255, 0.7),
    0 2px 6px rgba(200, 200, 200, 0.5);

  transform: translateY(1px) scale(0.97);
}

/*turquesa*/
.color-browser.letter:focus,
.color-browser.letter:active {
  color: #fff;
  background: linear-gradient(to bottom, #d6f8ef, #b0e0d3);
  box-shadow: inset 0 3px 6px rgba(180, 180, 180, 0.5),
    inset 0 -1px 4px rgba(255, 255, 255, 0.7),
    0 2px 6px rgba(200, 200, 200, 0.5);

  transform: translateY(1px) scale(0.97);
}

/* Pequeña animación al soltar */
.letter:active img {
  transform: scale(0.94);
}

.private {
  position: absolute;
  right: 1.2rem;
  bottom: 0rem;
  z-index: 10;
}

.private {
  width: 30px !important;
  height: 30px;
  max-width: 30px !important;
  min-width: 30px !important;
  padding: 0px !important;
  border: 2px solid #fff;
  background: url(../img/eye-closed-svgrepo-com.svg) center center / 16px
      no-repeat,
    linear-gradient(
      180deg,
      rgba(239, 239, 239, 1) 0%,
      rgba(229, 228, 226, 1) 50%,
      rgba(211, 211, 211, 1) 100%
    );
}

.private:hover {
  background-image: url(../img/eye-svgrepo-com.svg);
  background-position: center center;
  background-size: 16px;
  background-repeat: no-repeat;
}

.private:focus {
  background-image: url(../img/eye-svgrepo-com.svg);
  background-position: center center;
  background-size: 16px;
  background-repeat: no-repeat;
}

/* Tooltips estilo Uiverse para .mw60 y .letter */
.mw60 .tooltip,
.letter .tooltip,
.mw30 .tooltip {
  position: absolute;
  bottom: 120%;
  /* o 100% según corresponda */
  left: 50%;
  transform: translateX(-50%) translateY(30px);
  /* empieza más abajo */
  background-color: #222;
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.8rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  z-index: 1000;
  animation: none;
  transition: none;
  /* la animación la manejamos con keyframes */
}

/* Flechita inferior */
.mw60 .tooltip::after,
.letter .tooltip::after,
.mw30 .tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: #222 transparent transparent transparent;
}

/* Mostrar tooltip con rebote */
.mw60:hover .tooltip,
.letter:hover .tooltip,
.mw30:hover .tooltip,
.tooltip {
  opacity: 1;
  pointer-events: auto;
  animation: bounceUpUiverse 0.35s cubic-bezier(0.25, 0.75, 0.5, 1.2) forwards;
}

/* Animación tipo “entra desde más abajo y rebota” */
@keyframes bounceUpUiverse {
  0% {
    transform: translateX(-50%) translateY(30px);
    opacity: 0;
  }

  60% {
    transform: translateX(-50%) translateY(-5px);
    /* rebote visible */
    opacity: 1;
  }

  100% {
    transform: translateX(-50%) translateY(0);
    /* posición final */
    opacity: 1;
  }
}

.contip .tooltip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(30px);
  /* empieza más abajo */
  background-color: #222;
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.8rem;
  white-space: normal;
  opacity: 0;
  pointer-events: none;
  z-index: 1000;
  animation: none;
}

.contip .tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: #222 transparent transparent transparent;
}

/* Mostrar tooltip con rebote estilo Uiverse */
body.collapsed .contip:hover .tooltip {
  opacity: 1;
  pointer-events: auto;
  animation: bounceUpUiverse 0.35s cubic-bezier(0.25, 0.75, 0.5, 1.2) forwards;
}

/* Animación tipo “entra desde más abajo y rebota” */
@keyframes bounceUpUiverse {
  0% {
    transform: translateX(-50%) translateY(30px);
    opacity: 0;
  }

  60% {
    transform: translateX(-50%) translateY(-5px);
    /* rebote más visible */
    opacity: 1;
  }

  100% {
    transform: translateX(-50%) translateY(0);
    /* posición final */
    opacity: 1;
  }
}

.claim:hover .tooltip {
  bottom: 90%;
}

/* Opcional: leve retraso al ocultarse para suavizar salida */
body.collapsed .contip .tooltip {
  transition-delay: 0s;
}

body.collapsed .contip:hover .tooltip {
  transition-delay: 0.1s; /*display:none;*/
}

.chat {
  position: relative;
  width: calc(100% + 4.5rem - 1px);
  margin-left: -3rem;
  min-height: 0;
}

.instrucciones {
  flex: 1 1 auto;
  width: 100%;
  height: 90px;
  overflow-y: scroll;
  scrollbar-width: none;
  -ms-overflow-style: none;
  box-sizing: border-box;
  padding: 0rem;
  background: transparent;
  border: 0px solid transparent;
  border-radius: 0px;
  line-height: 1.4;
  /*font-size: 1em;*/
  box-shadow: none !important;
  resize: none;
  padding-left: 1rem;
}

.instrucciones:focus {
  outline: none !important;
  /* border:2px solid #5b627c;*/
}
.botonesmain {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: flex-start;
  justify-content: center;
  align-items: center;
  max-width: 70px;
  gap: 0.2rem;
  margin-right: 1rem;
}

/*scrolls*/

.scrollbar1::-webkit-scrollbar {
  width: 12px;
}

/* Botones arriba y abajo */
.scrollbar1::-webkit-scrollbar-button {
  height: 12px;
  background-color: #f9f9f9;
  cursor: pointer;
}

/* Thumb */
.scrollbar1::-webkit-scrollbar-thumb {
  border-radius: 3px;
  background-color: #e8e8e8;
  cursor: pointer;
}

/* Track */
.scrollbar1::-webkit-scrollbar-track {
  background-color: #f9f9f9;
}
.scrollbar1::-webkit-scrollbar-button:single-button:vertical:decrement {
  background: url(../img/icono-arriba.svg) no-repeat center;
  background-size: 12px 12px;
  height: 12px;
}

.scrollbar1::-webkit-scrollbar-button:single-button:vertical:increment {
  background: url(../img/icono-abajo.svg) no-repeat center;
  background-size: 12px 12px;
  height: 12px;
  z-index: 1000;
}

.mensaje {
  width: 100%;
  max-width: 96%;
  padding: 1rem;
  border-radius: 20px;
  font-size: 1rem;
  line-height: 1.2;
  /* margin-bottom: 1rem;*/
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: flex-start;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 1rem;
  position: relative;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.mensajeia {
  width: 100%;
  max-width: 96%;
  padding: 1rem;
  border-radius: 20px;
  font-size: 1rem;
  line-height: 1.2;
  /* margin-bottom: 1rem;*/
  display: flex;
  flex-direction: row-reverse;
  flex-wrap: nowrap;
  align-content: flex-start;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 1rem;
  position: relative;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

/* Mensaje del usuario */
.usuario {
  align-self: flex-end;
  background: #f9f9f9;
  color: #000;
  background-attachment: fixed;
  position: relative;
}
.ia:before {
  content: "";
  position: absolute;
  z-index: 0;
  bottom: 0;
  right: -8px;
  height: 20px;
  width: 20px;
  background: #fff;
  background-attachment: fixed;
  border-bottom-left-radius: 15px;
}

.ia:after {
  content: "";
  position: absolute;
  z-index: 1;
  bottom: 0;
  right: -10px;
  width: 10px;
  height: 20px;
  background: #efefef;
  border-bottom-left-radius: 10px;
}

.usuario:before {
  content: "";
  position: absolute;
  z-index: 0;
  bottom: 0;
  left: -7px;
  height: 20px;
  width: 20px;
  background: #f9f9f9;
  border-bottom-right-radius: 15px;
}

.usuario:after {
  content: "";
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: -10px;
  width: 10px;
  height: 20px;
  background: #efefef;
  border-bottom-right-radius: 10px;
}

/* Mensaje de la IA */
.ia {
  align-self: flex-start;
  background: #fff;
  color: #000;
}

.usuario .avatar {
  width: 32px;
  height: 32px;
  min-width: 32px;
  background-image: url(../img/user-history-svgrepo-com.svg);
  background-size: 35px;
  background-repeat: no-repeat;
  background-position: -3px top;
}

.ia .avatar {
  width: 30px;
  height: 30px;
  min-width: 30px;
  background-image: url(../img/chat-bot.png);
  background-size: 30px;
  background-repeat: no-repeat;
}

.preguntas,
.resultados {
  width: 100%;
  padding: 0rem 1rem;
  min-height: 50px;
  display: flex;
  gap: 0.5rem;
  flex-direction: column;
  align-content: flex-start;
  justify-content: flex-start;
  align-items: flex-start;
}

.preguntas:has(> :only-child),
.resultados:has(> :only-child) {
  gap: 0 !important;
}
.mando {
  gap: 0.5rem;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: space-between;
  align-items: center;
  display: flex;
  height: 100%;
}
.mando .letter:hover,
.mando .letter:focus {
  background: linear-gradient(to top left, #ffffff, #e8e8e8);
  border: 2px solid #e8e8e8;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Hora */

.hora {
  /*position: absolute;
	bottom: 1.1rem;*/

  font-size: 12px;
  opacity: 1;
}

.mensajeia .hora {
  /*	position: absolute;
	bottom: 1.1rem;
	right: 1rem!important;*/
  font-size: 12px;
  opacity: 1;
}

/* Colores específicos para cada tipo */
.usuario .hora {
  color: #333;
}

.ia .hora {
  color: #333;
}

.input-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: space-around;
  justify-content: space-between;
  align-items: stretch;
}

.char-counter {
  position: absolute;
  z-index: 3;
  bottom: 1rem;
  right: 0.5rem;
  font-size: 12px;
  color: #333;
  pointer-events: none;
  /* evita interferir con clics en el input */
}

.char-counter#charCounterIzquierda {
  left: 1rem;
}

.char-counter#charCounterDerecha {
  right: 1.5rem;
}

.char-counter.masabajo {
  bottom: -0.5rem;
}

/*css event*/
.filapaneles {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  flex-wrap: nowrap;
  align-content: space-around;
  align-items: stretch;
  gap: 1rem;
}

.wraper-iz,
.wraper-de {
  /*width: 50%;
	height: 100%;
	min-height: 100%;
	position: relative;
	box-shadow: rgba(0, 0, 0, 0.15) 0px 15px 25px, rgba(0, 0, 0, 0.05) 0px 5px 10px;
	border-radius: 8px;
	overflow: hidden;*/
  width: 50%;
  height: 100%;
  min-height: 100%;
  position: relative;
  box-shadow: rgba(0, 0, 0, 0.15) 0px 15px 25px,
    rgba(0, 0, 0, 0.05) 0px 5px 10px;
  border-radius: 8px;
  overflow: visible;
  display: flex;
  gap: 0;
  flex-direction: column;
  flex: 1;
}

#paneles,
.paneles,
.emailpanel,
.event-izquierda,
.event-derecha,
.email-izquierda,
.email-derecha,
.txtplan-izquierda,
.txtplan-derecha,
.spreadsheet-izquierda,
.spreadsheet-derecha,
.code-izquierda,
.code-derecha,
.research-izquierda,
.research-derecha,
.browser-izquierda,
.browser-derecha {
  font-size: 0.92em !important;
}
.paneles {
  height: auto;
  flex-shrink: 0;
  width: 100%;
  box-sizing: border-box;
  overflow: visible;
  padding: 0.5rem 1rem 0rem 1rem;
  position: relative;
  background: linear-gradient(to top left, #f9f9f9, #f3f3f3);
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: flex-start;
  justify-content: flex-start;
  align-items: center;
  border: 2px solid white;
  border-bottom: 0px;
  border-radius: 8px 8px 0px 0px;
}
#searcher .paneles {
  display: none;
}
.panelestit {
  height: 50px;
  width: 100%;
  box-sizing: border-box;
  overflow: visible;
  padding: 0;
  background: #f8f8f8;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: flex-end;
  align-items: center;
  border: 2px solid white;
  border-bottom: 0px;
  border-top: 0px;
  border-radius: 0px;
  flex-shrink: 0;
}
/* Para pantallas grandes */
/*@media (max-width: 1600px) {
  .paneles, .emailpanel {
    max-height: 920px;   
overflow-y: scroll;
overflow-x:hidden;
  }
}*/

/* Para pantallas medianas */
/*@media (max-width: 1200px) {
  .paneles, .emailpanel {
    max-height: 70vh;    
overflow: visible;
  }
}/*

/* Para pantallas pequeñas */
/*@media (max-width: 800px) {
  .paneles, .emailpanel {
    max-height: 60vh;    
overflow-y: scroll; 
 }
}*/

.emailpanel {
  height: auto;
  width: 100%;
  box-sizing: border-box;
  overflow: visible;
  padding: 1rem 1rem 0rem 1rem;
  position: relative;
  background: linear-gradient(to top left, #f9f9f9, #f3f3f3);
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-content: flex-start;
  justify-content: flex-start;
  align-items: center;
  border: 2px solid white;
  border-bottom: 0px;
  border-radius: 8px 8px 0px 0px;
}

.wraper-iz::after,
.wraper-de::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 0px;
  width: calc(100% - 15px);
  height: calc(100px - 2px);
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(249, 249, 249, 0.2) 0%,
    rgba(249, 249, 249, 0.8) 50%,
    rgba(249, 249, 249, 1) 100%
  );
  border-radius: 8px !important;
  z-index: 1;
}

/*rosa*/
.event-izquierda {
  overflow-y: auto;
  scrollbar-gutter: stable;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  padding: 2rem 2rem 4rem 2rem;
  border-radius: 8px;
  background-color: #f9f9f9;
  border: 2px solid white;
  outline: none;
  word-break: break-word;
  position: relative;
  white-space: pre-wrap;
}

.event-derecha {
  overflow-y: auto;
  scrollbar-gutter: stable;
  box-sizing: border-box;
  width: 100%;
  /* height: 72%; */
  padding: 2rem 2rem 4rem 2rem;
  border-radius: 0px 0px 8px 8px;
  background-color: #f9f9f9;
  border: 2px solid white;
  border-top: 0px;
  outline: none;
  word-break: break-word;
  position: relative;
  bottom: 0;
  flex: 1;
  min-height: 0;
}

.event-izquierda * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.event-derecha * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.event-izquierda:focus,
.event-derecha:focus {
  border-color: #ffb3b8 !important;
  outline: none;
}

/*blue*/
.email-izquierda {
  overflow-y: auto;
  scrollbar-gutter: stable;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  padding: 2rem 2rem 4rem 2rem;
  border-radius: 8px;
  background-color: #f9f9f9;
  border: 2px solid white;
  outline: none;
  word-break: break-word;
  position: relative;
  white-space: pre-wrap;
}

.email-derecha {
  overflow-y: auto;
  scrollbar-gutter: stable;
  box-sizing: border-box;
  width: 100%;
  height: 75%;
  padding: 2rem 2rem 4rem 2rem;
  border-radius: 0px 0px 8px 8px;
  background-color: #f9f9f9;
  border: 2px solid white;
  border-top: 0px;
  outline: none;
  word-break: break-word;
  /*position: absolute;*/
  /*bottom: 0;*/
  flex: 1;
  min-height: 0;
}
.email-izquierda * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.email-derecha * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.email-izquierda:focus,
.email-derecha:focus {
  border-color: #5fd9e8 !important;
  outline: none;
}

/*azul*/
.txtplan-izquierda {
  overflow: auto;
  scrollbar-gutter: stable;
  box-sizing: border-box;
  /*	width: 100%;
	height: 100%;*/

  min-width: 100%;
  min-height: 100%;
  inline-size: max-content;
  block-size: fit-content;

  padding: 2rem 2rem 4rem 2rem;
  border-radius: 8px;
  background-color: #f9f9f9;
  border: 2px solid white;
  outline: none;
  word-break: break-word;
  position: relative;
  white-space: pre-wrap;
}

.txtplan-derecha {
  overflow: auto;
  scrollbar-gutter: stable;
  box-sizing: border-box;
  /*width: 100%;
	height: 57%;*/
  min-width: 100%;
  min-height: 100%;
  inline-size: max-content;
  block-size: fit-content;
  padding: 2rem 2rem 4rem 2rem;
  border-radius: 0px 0px 8px 8px;
  background-color: #f9f9f9;
  border: 2px solid white;
  border-top: 0px;
  outline: none;
  word-break: break-word;
  /*position: absolute;
	bottom: 0;*/
}
.txtplan-izquierda * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.txtplan-derecha * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.txtplan-izquierda:focus,
.txtplan-derecha:focus {
  border-color: #a2cfee !important;
  outline: none;
}

/*verde*/
.spreadsheet-izquierda {
  overflow-y: auto;
  scrollbar-gutter: stable;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  /*
	    min-width: 100%;
    min-height: 100%;
    inline-size: max-content;
    block-size: fit-content;
	*/
  padding: 2rem 2rem 4rem 2rem;
  border-radius: 8px;
  background-color: #f9f9f9;
  border: 2px solid white;
  outline: none;
  word-break: break-word;
  position: relative;

  /* Fondo tipo spreadsheet */
  /*   background-image:
        linear-gradient(#e1e1e1 1px, transparent 1px),
        linear-gradient(90deg, #e1e1e1 1px, transparent 1px);
    background-size: 40px 40px; /* tamaño de las celdas */
}

.spreadsheet-derecha {
  overflow-y: auto;
  scrollbar-gutter: stable;
  box-sizing: border-box;
  width: 100%;
  height: 57%;
  padding: 2rem 2rem 4rem 2rem;
  border-radius: 0px 0px 8px 8px;
  background-color: #f9f9f9;
  border: 2px solid white;
  border-top: 0px;
  outline: none;
  word-break: break-word;

  /* Fondo tipo spreadsheet */
  /*   background-image:
        linear-gradient(#e1e1e1 1px, transparent 1px),
        linear-gradient(90deg, #e1e1e1 1px, transparent 1px);
    background-size: 40px 40px; /* tamaño de las celdas */
}
.spreadsheet-izquierda:focus,
.spreadsheet-derecha:focus {
  border-color: #aaf0d1 !important;
  outline: none;
}

/* Tabulator overrides for spreadsheet containers */
.spreadsheet-izquierda .tabulator,
.spreadsheet-derecha .tabulator {
  border: none;
  background-color: transparent;
  font-size: 13px;
  min-height: 500px;
}

.spreadsheet-izquierda .tabulator .tabulator-header,
.spreadsheet-derecha .tabulator .tabulator-header {
  background-color: #aaf0d1;
  border-bottom: 2px solid white;
}

.spreadsheet-izquierda .tabulator .tabulator-cell,
.spreadsheet-derecha .tabulator .tabulator-cell {
  border-right: 1px solid #ddd;
  padding: 8px;
}

.spreadsheet-izquierda .tabulator .tabulator-row,
.spreadsheet-derecha .tabulator .tabulator-row {
  background-color: #fff;
}

.spreadsheet-izquierda .tabulator .tabulator-row:hover,
.spreadsheet-derecha .tabulator .tabulator-row:hover {
  background-color: #f5f5f5;
}

.spreadsheet-derecha .tabulator .tabulator-cell.tabulator-editing {
  background-color: #e8f5e9;
  border: 2px solid #aaf0d1;
}

/*lila*/
.code-izquierda {
  color: #666;
  overflow: auto;
  scrollbar-gutter: stable;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  /*
	width: auto;
min-width: 200%;
min-height: 200%;
height: auto;
	*/
  padding: 0rem 0rem 0rem 0.5rem;
  border-radius: 8px;
  background-color: #e8e8e8;
  border: 2px solid white;
  outline: none;
  word-break: break-word;
  position: relative;
  font-family: "Courier New", Courier, monospace !important;
}

.code-derecha {
  color: #666;
  overflow: auto;
  scrollbar-gutter: stable;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  padding: 0rem 0rem 0rem 0.5rem;
  border-radius: 8px;
  background-color: #e8e8e8;
  border: 2px solid white;
  outline: none;
  word-break: break-word;
  position: absolute;
  bottom: 0;
  font-family: "Courier New", Courier, monospace !important;
}
.code-izquierda * {
  margin: 0;
  /*padding: 0;*/
  box-sizing: border-box;
}

.code-derecha * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.code-izquierda:focus,
.code-derecha:focus {
  border-color: #dcd0ff !important;
  outline: none;
}
.codefondo.wraper-iz::after,
.codefondo.wraper-de::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 2px;
  width: calc(100% - 15px);
  height: calc(100px - 2px);
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(232, 232, 232, 0.2) 0%,
    /* inicio más transparente */ rgba(232, 232, 232, 0.8) 50%,
    /* mitad más opaco */ rgba(232, 232, 232, 1) 100%
      /* final completamente sólido */
  );
  border-radius: 8px !important;
  z-index: 1;
}

/* Barra de números */
.line-numbers {
  position: absolute;
  top: 0;
  left: 0;
  width: 2rem; /* espacio para los números */
  padding: 2rem 0 4rem 0;
  text-align: right;
  color: #888;
  font-family: "Courier New", Courier, monospace;
  user-select: none;
  pointer-events: none;
}

/* Ajuste de padding en el código para no tapar números */
.code-izquierda {
  padding-left: calc(1rem + 1rem); /* espacio barra + padding original */
  position: relative;
}

.code-derecha {
  padding-left: calc(1rem + 1rem);
  position: relative;
}

/* Mantener scroll sincronizado */
.code-izquierda,
.code-derecha {
  white-space: pre-wrap; /* mantener saltos de línea */
  word-wrap: break-word;
}

/*amarillo*/
.research-izquierda {
  overflow-y: auto;
  scrollbar-gutter: stable;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  padding: 2rem 2rem 4rem 2rem;
  border-radius: 8px;
  background-color: #f9f9f9;
  border: 2px solid white;
  outline: none;
  word-break: break-word;
  position: relative;
}

.research-derecha {
  overflow-y: auto;
  scrollbar-gutter: stable;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  padding: 2rem 2rem 4rem 2rem;
  border-radius:/* 0px 0px 8px*/ 8px;
  background-color: #f9f9f9;
  border: 2px solid white;
  /*border-top: 0px;*/
  outline: none;
  word-break: break-word;
  position: absolute;
  bottom: 0;
}
.research-izquierda * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.research-derecha * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.research-izquierda:focus,
.research-derecha:focus {
  border-color: #d7e868 !important;
  outline: none;
}

/*turquesa*/
.browser-izquierda {
  overflow-y: auto;
  scrollbar-gutter: stable;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  padding: 2rem 2rem 4rem 2rem;
  border-radius: 8px;
  background-color: #f9f9f9;
  border: 2px solid white;
  outline: none;
  word-break: break-word;
  position: relative;
}

.browser-derecha {
  overflow-y: auto;
  scrollbar-gutter: stable;
  box-sizing: border-box;
  width: 100%;
  height: 57%;
  padding: 2rem 2rem 4rem 2rem;
  border-radius: 0px 0px 8px 8px;
  background-color: #f9f9f9;
  border: 2px solid white;
  border-top: 0px;
  outline: none;
  word-break: break-word;
  position: absolute;
  bottom: 0;
}
.browser-izquierda * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.browser-derecha * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.browser-izquierda:focus,
.browser-derecha:focus {
  border-color: #b0e0d3 !important;
  outline: none;
}

.event-main {
  position: absolute;
  z-index: 8;
  bottom: 2rem;
  height: 70px;
  width: 100%;
  padding: 1rem;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: space-around;
  justify-content: space-between;
  align-items: stretch;
}

.dertotal {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 8;
  min-height: 70px;
  width: 250px;
  padding: 0rem;
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 1rem;
  flex-direction: row;
  align-items: center;
}

.iztotal {
  position: absolute;
  bottom: 1.5rem;
  left: 0rem;
  z-index: 8;
  min-height: 70px;
  width: 250px;
  padding: 1rem;
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  gap: 1rem;
  flex-direction: row;
}

.centrototal {
  position: absolute;
  bottom: 2.5rem;
  left: 0;
  right: 0;
  margin: auto;
  z-index: 8;
  /*min-height: 70px;*/
  width: 100px;
  padding: 0rem;
  display: flex;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-direction: row;
}

.iconsia {
  position: absolute;
  right: 0rem;
  bottom: 0rem;
  z-index: 2;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: flex-end;
  align-items: center;
  gap: 0.2rem;
  padding: 0.1rem;
  /*background-color: #e8e8e838;*/
  border-radius: 20px 0px;
}

.iconsia-icon {
  width: 24px;
  height: 24px;
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  transition: background-color 0.2s ease;
}

.iconsia-icon:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.iconsia-icon img {
  opacity: 0.7;
}

.iconsia-icon:focus img {
  width: 14px;
  height: 14px;
  opacity: 1;
}

.iconsia-icon img {
  width: 16px;
  height: 16px;
  display: block;
  transition: all 0.2s ease;
}

/* Tooltip con rebote para .iconsia-icon */
.iconsia-icon .tooltip {
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%) translateY(30px);
  /* empieza más abajo */
  background-color: #222;
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.8rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  z-index: 100;
  animation: none;
  transition: none;
  /* la animación la controla keyframes */
}

/* Flechita inferior */
.iconsia-icon .tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: #222 transparent transparent transparent;
}

/* Mostrar tooltip con rebote */
.iconsia-icon:hover .tooltip {
  opacity: 1;
  pointer-events: auto;
  animation: bounceUpUiverse 0.35s cubic-bezier(0.25, 0.75, 0.5, 1.2) forwards;
}

/* Animación compartida de rebote estilo Uiverse */
@keyframes bounceUpUiverse {
  0% {
    transform: translateX(-50%) translateY(30px);
    opacity: 0;
  }

  60% {
    transform: translateX(-50%) translateY(-5px);
    /* rebote visible */
    opacity: 1;
  }

  100% {
    transform: translateX(-50%) translateY(0);
    /* posición final */
    opacity: 1;
  }
}

/*Event*/
.meet-container {
  width: 100%;
  margin: 0 auto;
}

.meet-form {
  background: transparent;
  padding: 0px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

/* FROM y TO en la misma línea */
.form-row.horizontal {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: flex-start;
  justify-content: flex-start;
}

@media (max-width: 1360px) {
  .form-row.horizontal {
    gap: 0.2rem;
    flex-wrap: wrap;
  }
}

/* Cada grupo label + input */
.form-row.horizontal .form-group {
  display: flex;
  flex-direction: row;
  flex: 1 1 50%;
  box-sizing: border-box;
  flex-wrap: wrap;
  align-content: space-around;
  justify-content: flex-start;
  align-items: center;
}

/* Ajustar el input con botón */
.input-with-button {
  display: flex;
  gap: 5px;
}

.input-with-button input {
  flex: 1; /* input ocupa el espacio restante */
}

.form-row {
  display: flex;
  align-items: center;
  margin-bottom: 0px;
}

.form-row label {
  margin-right: 0.5rem;
  font-weight: 400;
  font-size: 0.8em;
  display: flex;
  flex-direction: row;
  align-content: flex-start;
  justify-content: flex-start;
  align-items: center;
  gap: 0.35rem;
}
.duration {
  margin: 0.5rem 0;
}

.nowrap {
  flex-wrap: nowrap !important;
}

.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="time"],
.form-row input[type="date"] {
  flex: 1;
  padding: 0.5rem;
  border: 1px solid #f8f8f8;
  border-radius: 50px;
  outline: none;
  min-height: 34.4px;
  font-size: 0.8em;
  -webkit-appearance: none; /* Safari/Chrome */
  -moz-appearance: none; /* Firefox */
  appearance: none;
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.01) inset;
}
.form-row input:focus {
  outline: none;
  border: 1px solid #e8e8e8;
}

/* Contenedor del campo con autocomplete */
.form-group .input-autocomplete-wrapper {
  flex: 1;
  position: relative;
}

.form-group .input-autocomplete-wrapper input {
  width: 100%;
}

.form-row .input-with-button {
  display: flex;
  flex: 1;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: space-around;
  justify-content: space-between;
  align-items: center;
}

.form-row .input-with-button input {
  flex: 1;
  margin-right: 5px;
}

.form-row .input-with-button button {
  padding: 0.5rem;
  /*  min-width: 38px;*/
  min-height: 34.4px;
  border: 2px solid white;
  background: linear-gradient(to bottom right, #ffffff, #e8e8e8);
  color: #222;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 500;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}
.wysiwyg-header .form-row .input-with-button button {
  padding: 0.5rem;
  min-width: 25px;
  min-height: 25px;
  max-width: 25px;
  max-height: 25px;
}

.form-row .input-with-button button:hover {
  background: linear-gradient(to top left, #ffffff, #e8e8e8);
  border: 2px solid #e8e8e8;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transform: translateY(-1px);
}

.checkbox-group {
  display: flex;
  gap: 0.2rem;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: flex-start;
  justify-content: center;
  align-items: center;
}

.info-message {
  background: #ffb3b8;
  color: #fff;
  padding: 0.2rem 1rem;
  border-radius: 8px;
  font-size: 0.9em;
  border: 1px solid #ffb3b8;
}

.pestapeque {
  font-size: 1.1em;
  line-height: 1;
  font-weight: 300;
  display: flex;
  padding: 0.5rem;
  background: linear-gradient(to bottom right, #ffffff, #f9f9f9);
  border: 2px solid #ffffff;
  border-bottom: none;
  border-radius: 8px 8px 0px 0px;
  width: 250px !important;
  margin: 0.5rem 0rem 0rem;
  flex-direction: row;
  align-content: center;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px,
    rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}

/*browse*/

.wraper-brow {
  width: 100%;
  height: 100%;
  min-height: 100%;
  position: relative;
  box-shadow: rgba(0, 0, 0, 0.15) 0px 15px 25px,
    rgba(0, 0, 0, 0.05) 0px 5px 10px;
  border-radius: 8px;
  overflow: hidden;
}

.toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 1rem;
  background: #f9f9f9;
  border-bottom: 1px solid #ccc;
}

.toolbar input[type="text"] {
  flex: 1;
  padding: 0.7rem;
}
.browse-input {
  border-radius: 50px;
  border: 2px solid white;
  background: linear-gradient(to bottom right, #ffffff2b, #e8e8e8);
  outline: none !important;
}
.browse-input:focus {
  outline: none !important;
  border-color: #b0e0d3;
}
.toolbar button {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 8px;
  border: 3px solid #fff;
  border-radius: 50px;
  color: #5b627c;
  background: linear-gradient(to bottom, #ffffff, #e9e9e9);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: all 0.25s ease;
  cursor: pointer;
  opacity: 0;
  animation: dropBounce 0.6s ease-out forwards;
  animation-delay: 1s;
}

.toolbar button:hover {
  background: #ddd;
}
.color-browser.toolbar button:focus,
.color-browser.toolbar button:active {
  color: #000;
  background: linear-gradient(to bottom, #d6f8ef, #b0e0d3);
  box-shadow: inset 0 3px 6px rgba(180, 180, 180, 0.5),
    inset 0 -1px 4px rgba(255, 255, 255, 0.7),
    0 2px 6px rgba(200, 200, 200, 0.5);

  transform: translateY(1px) scale(0.97);
}

/* Imagen o ícono */
.toolbar button img {
  display: block;
  width: 25px;
  margin: 0;
  text-align: center;
  transition: transform 0.25s ease;
}

/* Hover: ligera elevación */
.toolbar button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.toolbar button:focus {
  outline: none !important;
}

.toolbar button:hover img {
  transform: translateY(-1px);
}

iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/*wyswyg*/
#wyswyg .form-row .input-with-button {
  display: flex;
  flex: 1;
  gap: 0.2rem;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: flex-start;
  justify-content: flex-start;
  align-items: center;
}

#wyswyg .paneles {
  min-height: 50px !important;
  flex-shrink: 0;
  padding: 0.6rem;
  height: auto;
}

/*#wyswyg .txtplan-derecha, */
#wyswyg .spreadsheet-derecha {
  flex: 1; /* ocupa todo el espacio disponible */
  min-height: 0; /* altura automática según el contenedor */
}

/* Imagen o ícono */
#wyswyg .form-row button img {
  display: block;
  width: 14px;
  margin: 0;
  text-align: center;
  transition: transform 0.25s ease;
}

#wyswyg .form-row button {
  font-size: 0.8em;
}

/*contratacion*/
.main-contra {
  display: flex;
  flex: 1;
  /* height: calc(100vh - 60px); */
  height: 100vh;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  flex-direction: column;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  align-items: center;
  background: #e8e8e8;
  /* */
}

.contenedor-contra {
  display: flex;
  min-height: 0;
  flex-direction: column;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

.ventanas {
  display: flex;
  position: relative;

  padding: 2rem;
  margin: 0;
  border: 4px solid #fff;
  background: linear-gradient(to bottom right, #f1f1f1, #e8e8e8);
  box-shadow: rgba(0, 0, 0, 0.15) 0px 15px 25px,
    rgba(0, 0, 0, 0.05) 0px 5px 10px;
  border-radius: 16px;
}

@media (min-width: 1024px) {
  .ventanalogin {
    min-width: 480px;
  }
}

/* Form card */
#login .form-card,
#contratar .form-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Field rows */
#login .field-row,
#contratar .field-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Labels */
#login label,
#contratar label {
  font-weight: 600;
  font-size: 14px;
}

/* Terms label */
#login .terms label,
#contratar .terms label {
  min-width: 30px !important;
}

/* Email & password input */
#login .email-input,
#contratar .email-input,
#login .password-input,
#contratar .password-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 10px 14px;
  border-radius: 50px;
  background: white;
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.01) inset;
  font-size: 14px;
  color: #012;
}

/* Forgot password link */
#login .forgot-password,
#contratar .forgot-password {
  display: block;
  font-size: 12px;
  margin-top: 4px;
  text-align: center;
  color: #222;
  text-decoration: none;
  transition: color 0.2s ease;
}

#message {
  border-radius: 16px !important;
}

@media (min-width: 640px) {
  #message {
    min-width: 500px; /* ajusta el valor a lo que necesites */
  }
}

#login .forgot-password:hover,
#contratar .forgot-password:hover {
  color: #000;
  text-decoration: underline;
}

/* Terms container */
#login .terms,
#contratar .terms {
  display: flex;
  gap: 10px;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: flex-start;
  justify-content: flex-start;
  align-items: center;
}

/* Hide real checkbox but keep accessible */
#login input[type="checkbox"],
#contratar input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

/* Custom checkbox */
#login .custom-checkbox,
#contratar .custom-checkbox {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  background: white;
  border-radius: 6px;
  border: 1px solid #666;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.03) inset;
  font-weight: 700;
  font-family: monospace;
  font-size: 14px;
  color: transparent;
  transition: color 0.12s ease, background 0.12s ease;
  margin-right: 0.5rem;
}

/* Show X when checked */
#login input[type="checkbox"]:checked + .custom-checkbox,
#contratar input[type="checkbox"]:checked + .custom-checkbox {
  color: #fff;
  background: #000;
}

/* Terms text */
#login .terms-text,
#contratar .terms-text {
  font-size: 14px;
  color: var(--muted);
}

/* Submit button */
#login .submit-btn,
#contratar .submit-btn,
#setup .submit-btn {
  padding: 0.5rem;
  min-width: 38px;
  min-height: 38px;
  border: 2px solid white;
  background: linear-gradient(to bottom right, #ffffff, #e8e8e8);
  color: #222;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 500;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

#login .submit-btn:hover,
#login .submit-btn:active,
#contratar .submit-btn:hover,
#contratar .submit-btn:active,
#setup .submit-btn:hover,
#setup .submit-btn:active {
  transform: translateY(1px);
  background: linear-gradient(to top left, #ffffff, #e8e8e8);
  border: 2px solid #e8e8e8;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transform: translateY(-1px);
}

.terms-text a {
  color: #000;
  text-decoration: underline;
  cursor: pointer;
}

.human-wrap {
  text-align: center !important;
}

.human-wrap h1 {
  margin: 0;
  font-weight: 700;
  font-size: 26px;
  line-height: 1.2;
  color: #8b8b8b;
}

/* ===== Modal Styles ===== */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  inset: 0;
  /*background: rgba(0,0,0,0.6);*/
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.modal-content {
  display: flex;
  flex-direction: column;
  min-width: 60%;
  min-height: 60%;
  position: relative;
  background: rgba(255, 255, 255, 0.6); /* panel principal translúcido */
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  max-width: 80%;
  max-height: 80%;
  overflow: auto;
  padding: 0rem;
  border-radius: 8px;
  box-shadow: rgba(0, 0, 0, 0.15) 0px 15px 25px,
    rgba(0, 0, 0, 0.05) 0px 5px 10px;
}

.close-btn {
  float: right;
  font-size: 22px;
  font-weight: bold;
  cursor: pointer;
  color: #666;
}

.close-btn:hover {
  color: #000;
}

#browse-recap {
  flex: 1 1 auto; /* ← CRECE y usa el espacio disponible */
  overflow-y: auto; /* scroll interno si se llena */
  padding: 2rem;
  box-sizing: border-box;
  border-radius: 8px !important;
}
/* Zona de botones y close */

.modal-content > .close-btn {
  position: absolute;
  right: 1rem;
  top: 1rem;
}

/*setup*/
body.scroll-page {
  overflow-y: auto !important;
}

.main-setup {
  display: flex;
  flex: 1;
  transition: all 0.4s ease;
  position: relative;
  /* overflow: hidden; */
  flex-direction: column;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  align-items: center;
  background: #fff;
  padding: 3rem;
}

.main-setup::before,
.main-contra::before,
.main::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url(../img/marmol.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}

/*	.col-izquierda::before{content: "";
    position: fixed;
    inset: 0;
    background-image: url(../img/marmol.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: bottom right;
    opacity: 0.8;
    pointer-events: none;
    z-index: 0;}*/

#setup .ventanas {
  display: flex;
  position: relative;
  padding: 2rem;
  margin: 0;
  border: 4px solid #fff;
  background: linear-gradient(to bottom right, #f1f1f1, #e8e8e8);
  box-shadow: rgba(0, 0, 0, 0.15) 0px 15px 25px,
    rgba(0, 0, 0, 0.05) 0px 5px 10px;
  border-radius: 16px;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: space-around;
  justify-content: flex-start;
  align-items: stretch;
  gap: 15px;
}

#setup form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 30px;
  width: 100%;
}

#setup h2 {
  margin-top: 0;
  text-align: center;
  color: #333;
}

#setup label {
  font-weight: 400;
  color: #333;
}

#setup input,
textarea,
.email-input {
  border: 2px solid #fff;
  box-sizing: border-box;
  flex: 1;
  padding: 10px 14px;
  border-radius: 50px;
  background: white;
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.01) inset;
  font-size: 14px;
  color: #012;
}

#setup textarea {
  height: 100px;
  resize: vertical;
}

#setup .note {
  font-size: 12px;
  color: #777;
  margin-top: -10px;
}

/*custom select + JS*/
/* Contenedor del select estilizado */
.custom-select-wrapper {
  position: relative;
  flex: 1;
  width: auto;
}

#fuentes + .custom-select {
  min-width: 160px;
  flex: 1;
  padding: 0.25rem 1rem !important;
}

#cuerpos + .custom-select {
  min-width: 80px;
  flex: 1;
  padding: 0.25rem 1rem !important;
}

#calendar .custom-select-wrapper {
  /*width: 80%;*/
  flex: 1;
  min-width: 150px;
  /*padding: 0.25rem 1rem !important;*/
}

/* Select original oculto */
.custom-select-wrapper select {
  display: none;
}

/* Caja que muestra la opción seleccionada */
.custom-select {
  border: 2px solid #fff !important;
  border-radius: 50px !important;
  padding: 0.5rem 1rem !important;
  background: white !important;
  cursor: pointer !important;
  position: relative !important;
  font-size: 13px !important;
  color: #012 !important;
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.01) inset;
}

/* Flecha desplegable */
.custom-select::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 52%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-top-color: #012;
  pointer-events: none;
}

/* Lista de opciones */
.custom-options {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  border: 2px solid #fff;
  border-radius: 10px;
  background: #e8e8e8;
  max-height: 150px;
  overflow-y: auto;
  z-index: 10;
  margin-top: 4px;
  min-width: 150px;
}

/* Cada opción */
.custom-options div {
  padding: 0.5rem 1rem;
  cursor: pointer;
}

.custom-options div:hover {
  background: #f8f8f8;
}

/* Mostrar opciones cuando se abre */
.custom-select.open + .custom-options {
  display: block;
}

/*co-workers*/

#co-workers {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: space-around;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

#co-workers .card {
  display: flex;
  flex-direction: column;
  width: 350px;
  max-height: 340px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  gap: 15px;
  border: 2px solid transparent; /* invisible por defecto */
  box-sizing: border-box;
  transition: all 0.3s ease;
}

#co-workers .header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  /*border: 2px solid transparent;*/
  border-radius: 8px 8px 0px 0px;
}
/*athena*/
#co-workers .athena .header {
  background: linear-gradient(to right, #e6d5b3, #ffffff);
  color: #2a3b5f !important;
}
#co-workers .athena .color-1 {
  background-color: #2a3b5f;
}
#co-workers .athena .color-2 {
  background-color: #d1b178;
}

/*hermes*/
#co-workers .hermes .header {
  background: linear-gradient(to right, #f9d5a2, #ffffff);
  color: #2c7fb8 !important;
}
#co-workers .hermes .color-1 {
  background-color: #f4a261;
}
#co-workers .hermes .color-2 {
  background-color: #2c7fb8;
}

/*chronos*/
#co-workers .chronos .header {
  background: linear-gradient(to right, #c6def0, #ffffff);
  color: #4b5563 !important;
}
#co-workers .chronos .color-1 {
  background-color: #7fb3d5;
}
#co-workers .chronos .color-2 {
  background-color: #4b5563;
}

/*dionysus*/
#co-workers .dionysus .header {
  background: linear-gradient(to right, #d6d6d6, #ffffff);
  color: #702963 !important;
}
#co-workers .dionysus .color-1 {
  background-color: #702963;
}
#co-workers .dionysus .color-2 {
  background-color: #b8b8b8;
}

/*apollo*/
#co-workers .apollo .header {
  background: linear-gradient(to right, #f1d77c, #ffffff);
  color: #35336e !important;
}
#co-workers .apollo .color-1 {
  background-color: #d7a61f;
}
#co-workers .apollo .color-2 {
  background-color: #35336e;
}

/*hephaestus*/
#co-workers .hephaestus .header {
  background: linear-gradient(to right, #f0b0a8, #ffffff);
  color: #3a3a3a !important;
}
#co-workers .hephaestus .color-1 {
  background-color: #3a3a3a;
}
#co-workers .hephaestus .color-2 {
  background-color: #c74332;
}

/*artemis*/
#co-workers .artemis .header {
  background: linear-gradient(to right, #d1d1d1, #ffffff);
  color: #3b7f5c !important;
}
#co-workers .artemis .color-1 {
  background-color: #3b7f5c;
}
#co-workers .artemis .color-2 {
  background-color: #a3a3a3;
}

/*ares*/
#co-workers .ares .header {
  background: linear-gradient(to right, #e8e8e8, #ffffff);
  color: #4a4a4a !important;
}
#co-workers .ares .color-1 {
  background-color: #4a4a4a;
}
#co-workers .ares .color-2 {
  background-color: #b8b8b8;
}

/*hestia*/
#co-workers .hestia .header {
  background: linear-gradient(to right, #f7e3a3, #ffffff);
  color: #4a4a4a !important;
}
#co-workers .hestia .color-1 {
  background-color: #d49b2b;
}
#co-workers .hestia .color-2 {
  background-color: #4a4a4a;
}

/*plutus*/
#co-workers .plutus .header {
  background: linear-gradient(to right, #e6d9f7, #ffffff);
  color: #4a4a4a !important;
}
#co-workers .plutus .color-1 {
  background-color: #9d6ad6;
}
#co-workers .plutus .color-2 {
  background-color: #4a4a4a;
}

/*zeus*/
#co-workers .zeus .header {
  background: linear-gradient(to right, #f9e7b2, #ffffff);
  color: #3159c9 !important;
}
#co-workers .zeus .color-1 {
  background-color: #3159c9;
}
#co-workers .zeus .color-2 {
  background-color: #d6a61e;
}

/*poseidon*/
#co-workers .poseidon .header {
  background: linear-gradient(to right, #def4f7, #ffffff);
  color: #157a8a !important;
}
#co-workers .poseidon .color-1 {
  background-color: #157a8a;
}
#co-workers .poseidon .color-2 {
  background-color: #a3d3db;
}

#co-workers .header h4 {
  margin: 0;
  font-size: 1.3em;
}

#co-workers .header span {
  font-size: 0.8em;
}

#co-workers .skillareas {
  display: flex;
  flex-direction: row;
  align-content: space-around;
  justify-content: space-between;
  align-items: stretch;
  gap: 1rem;
  padding: 0px 20px;
}

#co-workers .section1 {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.85em;
  width: 30%;
}

#co-workers .section2 {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.85em;
  width: 60%;
}

#co-workers .section h4 {
  margin: 0 0 5px 0;
  font-size: 1em;
  color: #333;
}

#co-workers .skills,
.personality {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

#co-workers .skills li,
.personality li {
  list-style: disc;
  margin-left: 20px;
}

#co-workers .why {
  font-size: 0.85em;
  color: #999;
  font-style: italic;
  padding: 0px 20px;
}

#co-workers .footer {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#co-workers .select-checkbox {
  transform: scale(1.2);
}

#co-workers .colors {
  display: flex;
  gap: 10px;
  display: none;
}

#co-workers .color-box {
  width: 20px;
  height: 20px;
  border-radius: 4px;
}

/*slider co-workers*/

.slider-wrapper {
  position: relative; /* para posicionar flechas relativas al wrapper */
  width: 100%;
  max-width: 716px; /* ancho del carrusel */
  margin: 0 auto;
  overflow: visible;
  min-height: 330px;
}
#co-workers {
  padding: 1rem 0; /* espacio arriba y abajo para hover */
  overflow: hidden;
  width: 100%;
  max-width: 714px; /* 2 slides + gap */
  margin: 0 auto; /* centrar carrusel */
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: space-around; /* esto no afecta mucho aquí */
  justify-content: flex-start; /* <<< importante, antes estaba space-around */
  align-items: center;
  gap: 1rem;
}

#co-workers .slides {
  display: flex;
  gap: 14px;
  transition: transform 0.5s ease;
  justify-content: flex-start;
}

#co-workers .slide {
  flex: 1 0 50%; /* flexible, ocupa la mitad del contenedor */
  max-width: 348px; /* no se agranda más de 350px */
  box-sizing: border-box;
}

/* Flechas */
#co-workers .prev,
#co-workers .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  background: linear-gradient(to bottom right, #ffffff, #e8e8e8);
  color: #222;
  border: 2px solid white;
  border-radius: 50px;
  cursor: pointer;
  font-size: 20px;
  font-weight: 500;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

#co-workers .prev:hover,
#co-workers .prev:active,
#co-workers .next:hover,
#co-workers .next:active {
  transform: translateY(calc(-50% + 2px)); /* centrado + 2px hacia abajo */
  background: linear-gradient(to top left, #ffffff, #e8e8e8);
  border: 2px solid #e8e8e8;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

#co-workers .prev {
  left: -53px;
}
#co-workers .next {
  right: -53px;
}

/*vamos con el resaltado*/
/* Transición y hover general */
#co-workers .card {
  transition: all 0.3s ease;
  cursor: pointer;
}

/* Card seleccionada (radio checked) con glow gris */
#co-workers .card:has(input[type="radio"]:checked) {
  border-color: #d1d1d1;
  box-shadow: 0 6px 12px rgba(255, 255, 255, 0.4),
    0 0 12px rgba(255, 255, 255, 0.3); /* glow blanco */
  transform: translateY(-2px) scale(1.02);
}

/* Cambiar color del label "Select" */
#co-workers .card:has(input[type="radio"]:checked) .footer label span {
  font-weight: 600;
  color: #333;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
}

/* Hover con glow sutil */
#co-workers .card:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15), 0 0 8px rgba(0, 0, 0, 0.05);
  border: 2px solid #fff; /* gris claro */
}

/*cards de precio*/
.prices-container {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: space-around;
  justify-content: space-between;
  align-items: stretch;
  gap: 1rem;
  width: 100%;
  max-width: 716px;
  margin: 0 auto;
}

.prices-container ul {
  margin-left: 1rem;
  font-size: 0.9rem;
}
.prices-container li {
  margin-bottom: 0.5rem;
}

.pricecard1,
.pricecard2 {
  width: 48%;
  border: 5px solid #e8e8e8;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: space-around;
  justify-content: space-between;
  align-items: stretch;
  padding: 2rem;
  flex: 1;
  gap: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Card seleccionada (radio checked) */
.pricecard1:has(input[type="radio"]:checked),
.pricecard2:has(input[type="radio"]:checked) {
  border-color: #d1d1d1;
  box-shadow: 0 6px 12px rgba(255, 255, 255, 0.4),
    0 0 12px rgba(255, 255, 255, 0.3); /* glow blanco */
  transform: translateY(-2px) scale(1.02);
}

/* Cambiar color del label "Select" */
.pricecard1:has(input[type="radio"]:checked) label span,
.pricecard2:has(input[type="radio"]:checked) label span {
  font-weight: 600;
  color: #333;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
}

/* Hover con glow sutil */
.pricecard1:hover,
.pricecard2:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15), 0 0 8px rgba(0, 0, 0, 0.05);
  border: 5px solid #fff; /* gris claro */
}

.pricecard1 h5,
.pricecard2 h5 {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 1.3em;
  margin-block-start: 1em;
  margin-block-end: 1em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  font-weight: bold;
  unicode-bidi: isolate;
  margin: 0 0 0 0;
}

.prices {
  width: 100%;
  display: block;
  text-align: center;
  margin: 1rem 0 0rem 0;
  color: #afadad;
}
.prices {
  position: relative;
  display: inline-block;
  transform: scale(0.7);
}

.prices::before {
  content: "";
  position: absolute;
  width: 70%; /* ajusta el largo de la línea */
  left: 50%;
  transform: translateX(-50%);
  top: 50%;
  height: 4px;
  background-color: currentColor;
  pointer-events: none;
}
.actualprices {
  width: 100%;
  display: block;
  text-align: center;
  margin: 0 0 0rem 0;
}
.numberprice {
  font-size: 3em;
  font-weight: 600;
  line-height: 1;
}
.prices sup,
.actualprices sup {
  font-size: 1em;
  font-weight: 600;
  position: relative;
  top: -1em;
}
.month {
  font-size: 1.5em !important;
  font-weight: 600;
  line-height: 1;
}

.toppricecard {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: flex-start;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 0.5rem;
}

.toppricecard ul {
  margin-top: 1.5rem;
}

.promotion {
  width: 100%;
  display: block;
  text-align: center;
  font-weight: 600;
}

/* Custom File Upload Styles */
.custom-file-upload {
  position: relative;
  display: flex;
  flex: 1 1 auto;

  box-sizing: border-box;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: flex-start;
  align-items: stretch;
}

.file-input-hidden {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.file-upload-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0rem 0.5rem;
  background: linear-gradient(to top left, #f9f9f9, #f3f3f3);
  border: 2px dashed #dee2e6;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Lato", sans-serif;
  font-size: 14px;
  color: #495057;
  min-height: 34.4px;
  width: auto; /* no ocupar 100%, se ajusta al contenido */
  max-width: 100%; /* no exceder el contenedor padre */
  box-sizing: border-box;
  box-sizing: border-box;
}

.file-upload-label:hover {
  /* background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);*/
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);

  border-color: #f8f8f8;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.file-upload-label:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.file-upload-icon {
  font-size: 18px;
  flex-shrink: 0;
}

.file-upload-icon img {
  width: 22px;
  height: 22px;
}

.file-upload-text {
  flex-grow: 1;
  text-align: left;
}

.file-list {
  margin-top: 0px;
  padding: 0;
}

.file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  margin-bottom: 4px;
  font-size: 13px;
  color: #495057;
}

.file-item:last-child {
  margin-bottom: 0;
}

.file-name {
  flex-grow: 1;
  margin-right: 8px;
  word-break: break-all;
}

.file-size {
  font-size: 12px;
  color: #6c757d;
  margin-right: 8px;
}

.file-remove {
  background: none;
  border: none;
  color: #dc3545;
  cursor: pointer;
  font-size: 16px;
  padding: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.2s ease;
}

.file-remove:hover {
  background-color: #dc3545;
  color: white;
}

.upload-btn {
  margin-left: 8px;
  /* padding: 12px 20px;
        background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
        color: white;
        border: none;
        border-radius: 6px;
        font-family: "Lato", sans-serif;
        font-size: 14px;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.3s ease;
        min-height: 48px;*/
}

.upload-btn:hover {
  background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

.upload-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 123, 255, 0.3);
}

/* Modern Date and Time Input Styles */
.datetime-group {
  display: flex;
  gap: 0.2rem;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: space-between;
}

.custom-datetime-picker {
  position: relative;
  display: inline-block;
}

/* Hide native inputs but keep them functional */
.native-hidden {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  z-index: -1;
}

/* Custom display elements */
.custom-date-display,
.custom-time-display {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  font-family: "Lato", sans-serif;
  font-size: 0.8em;
  font-weight: 400;
  color: #495057;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border: 2px solid #ffffff;
  border-radius: 8px;
  padding: 0rem 0.2rem;
  min-height: 20px;
  transition: all 0.3s ease;
  cursor: pointer;
  user-select: none;
  position: relative;
  overflow: hidden;
}

/*.custom-date-display {
        min-width: 160px;
      }
      
      .custom-time-display {
        min-width: 120px;
      }*/
.custom-date-display,
.custom-time-display {
  flex: 1 1 50%; /* crece y se encoge, base 50% */
  box-sizing: border-box; /* para que padding y border no afecten el ancho */
}

.custom-date-display:hover,
.custom-time-display:hover {
  border-color: #ffb3b8;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.15);
}

.custom-date-display:active,
.custom-time-display:active {
  transform: translateY(0);
  background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
}

.date-icon,
.time-icon {
  font-size: 16px;
  flex-shrink: 0;
}
.date-icon img,
.time-icon img {
  width: 22px;
  height: 22px;
  margin-top: 3px;
}

.date-text,
.time-text {
  flex-grow: 1;
}

/* Custom Calendar Popup */
.calendar-popup {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border: 1px solid #dee2e6;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  min-width: 280px;
  padding: 16px;
  display: none;
  animation: slideDown 0.2s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f3f4;
}

.calendar-nav-btn {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.calendar-nav-btn:hover {
  background-color: #f8f9fa;
}

.calendar-title {
  font-weight: 600;
  font-size: 16px;
  color: #343a40;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.calendar-day-header {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: #6c757d;
  padding: 8px 4px;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.2s ease;
  min-height: 32px;
}

.calendar-day:hover {
  background-color: #e7f3ff;
  color: #0066cc;
}

.calendar-day.selected {
  background-color: #007bff;
  color: white;
}

.calendar-day.other-month {
  color: #adb5bd;
}

.calendar-day.today {
  background-color: #fff3cd;
  color: #856404;
  font-weight: 600;
}

/* Custom Time Picker */
.time-popup {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border: 1px solid #dee2e6;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  min-width: 200px;
  padding: 16px;
  display: none;
  animation: slideDown 0.2s ease;
}

.time-controls {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

.time-input-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.time-input-group label {
  font-size: 12px;
  font-weight: 600;
  color: #6c757d;
  text-transform: uppercase;
  margin: 0;
}

.time-spinner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.time-spinner-btn {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  width: 30px;
  height: 24px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.time-spinner-btn:hover {
  background: #e9ecef;
  border-color: #adb5bd;
}

.time-display {
  font-size: 18px;
  font-weight: 600;
  color: #495057;
  min-width: 30px;
  text-align: center;
  background: #f8f9fa;
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid #dee2e6;
}

.time-separator {
  font-size: 18px;
  font-weight: 600;
  color: #6c757d;
}

/* Responsive design */
@media (max-width: 768px) {
  .datetime-group {
    flex-direction: column;
    align-items: stretch;
  }

  .custom-date-display,
  .custom-time-display {
    width: 100%;
    min-width: unset;
  }

  .calendar-popup,
  .time-popup {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 320px;
  }
}

/* Enhanced accessibility */
.custom-date-display:focus-visible,
.custom-time-display:focus-visible {
  outline: 2px solid #007bff;
  outline-offset: 2px;
}

/* Tema personalizado para CodeMirror que encaja con fondo #e8e8e8 */
.CodeMirror {
  background-color: #e8e8e8 !important;
  border: none !important;
  border-radius: 0;
  font-family: "Courier New", Consolas, "Liberation Mono", monospace !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  color: #333 !important;
  height: auto !important;
  max-height: none !important;
}

.CodeMirror-gutters {
  background-color: #e8e8e8 !important;
  border-right: 1px solid #d0d0d0 !important;
  color: #888 !important;
}

.CodeMirror-linenumber {
  color: #999 !important;
  padding: 0 8px 0 0 !important;
}

.CodeMirror-cursor {
  border-left: 2px solid #333 !important;
}

.CodeMirror-selected {
  background-color: #b3d7ff !important;
}

.CodeMirror-focused .CodeMirror-selected {
  background-color: #a6d2ff !important;
}

/* Configurar scrollbars personalizadas */
.CodeMirror {
  overflow: auto !important;
}

.CodeMirror-scroll {
  overflow: hidden !important;
  max-height: none !important;
  height: 100% !important;
}

/* Tamaño general del scrollbar */
.CodeMirror-vscrollbar::-webkit-scrollbar,
.CodeMirror-hscrollbar::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

/* Botones del scrollbar */
.CodeMirror-vscrollbar::-webkit-scrollbar-button:single-button:vertical:decrement {
  background: url(../img/icono-arriba.svg) no-repeat center;
  background-size: 12px 12px;
  height: 12px;
}

.CodeMirror-vscrollbar::-webkit-scrollbar-button:single-button:vertical:increment {
  background: url(../img/icono-abajo.svg) no-repeat center;
  background-size: 12px 12px;
  height: 12px;
}

/* También aplicamos los botones para horizontal si quieres coherencia */
.CodeMirror-hscrollbar::-webkit-scrollbar-button:single-button:horizontal:decrement {
  background: url(../img/icono-izquierda.svg) no-repeat center;
  background-size: 12px 12px;
  width: 12px;
}

.CodeMirror-hscrollbar::-webkit-scrollbar-button:single-button:horizontal:increment {
  background: url(../img/icono-derecha.svg) no-repeat center;
  background-size: 12px 12px;
  width: 12px;
}

/* Eliminamos un fondo por defecto */
.CodeMirror-vscrollbar::-webkit-scrollbar-button,
.CodeMirror-hscrollbar::-webkit-scrollbar-button {
  background-color: #f9f9f9;
  cursor: pointer;
}

/* Track */
.CodeMirror-vscrollbar::-webkit-scrollbar-track,
.CodeMirror-hscrollbar::-webkit-scrollbar-track {
  border-radius: 3px;
  background-color: #f9f9f9;
  border: 1px solid #f9f9f9;
}

/* Thumb */
.CodeMirror-vscrollbar::-webkit-scrollbar-thumb,
.CodeMirror-hscrollbar::-webkit-scrollbar-thumb {
  border-radius: 3px;
  border: 3px solid transparent;
  background-clip: content-box;
  background-color: #dddddd;
}

.CodeMirror-sizer {
  border-right: none !important;
}

/* Sintaxis highlighting personalizada */
.cm-keyword {
  color: #0066cc !important;
  font-weight: bold;
}
.cm-string {
  color: #009900 !important;
}
.cm-comment {
  color: #666666 !important;
  font-style: italic;
}
.cm-number {
  color: #cc6600 !important;
}
.cm-variable {
  color: #333333 !important;
}
.cm-variable-2 {
  color: #0066cc !important;
}
.cm-def {
  color: #660099 !important;
  font-weight: bold;
}
.cm-operator {
  color: #666666 !important;
}
.cm-property {
  color: #990000 !important;
}
.cm-atom {
  color: #cc6600 !important;
}
.cm-meta {
  color: #555555 !important;
}
.cm-tag {
  color: #0066cc !important;
  font-weight: bold;
}
.cm-attribute {
  color: #cc6600 !important;
}
.cm-qualifier {
  color: #666666 !important;
}
.cm-bracket {
  color: #666666 !important;
}
.cm-builtin {
  color: #0066cc !important;
}

.CodeMirror-foldgutter {
  background-color: #e8e8e8 !important;
}

.CodeMirror-foldmarker {
  color: #0066cc !important;
  background-color: #f0f0f0 !important;
  border: 1px solid #d0d0d0 !important;
}

/* Adaptación mejor al diseño contenedor */
.code-izquierda .CodeMirror,
.code-derecha .CodeMirror {
  width: 100% !important;
  height: 100% !important;
  border-radius: inherit !important;
}

/* Hacer que el editor se ajuste al contenedor padre */
.code-izquierda,
.code-derecha {
  display: flex !important;
  flex-direction: column !important;
}

/* Remover cualquier padding o margin que pueda afectar */
.CodeMirror-lines {
  padding: 8px 0 !important;
}

.CodeMirror pre {
  padding: 0 8px !important;
}

/* Focus styles for code editors */
.code-izquierda:focus,
.code-derecha:focus,
.code-izquierda.editor-focused,
.code-derecha.editor-focused {
  border-color: #dcd0ff !important;
  outline: none;
}

/*homepage web*/

.hero {
  display: flex;
  flex-direction: column;
  align-content: center;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 100vh;
  background: #e8e8e8;
  background: linear-gradient(to bottom right, #fff, #e8e8e8);
  position: relative;
  z-index: 0;
}
.hero::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url(../img/marmol.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}

html {
  scroll-behavior: smooth;
}

body.homeweb {
  overflow-y: auto !important;
  height: 100%;
}

.mediotot {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  margin: auto;
  width: 100px;
  height: 100px;
  z-index: 5;

  /* Comienza invisible */
  opacity: 0;

  /* Animación de fade muy lento */
  animation: fadeLento 2s forwards;
}

@media (min-width: 1300px) {
  .mediotot,
  .glass-btn {
    width: 170px !important;
    height: 170px !important;
  }
}

@media (min-width: 1024px) and (max-width: 1300px) {
  .mediotot,
  .glass-btn {
    width: 120px !important;
    height: 120px !important;
  }
}

@keyframes fadeLento {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

#homeweb .glass-btn {
  display: flex;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: none;
  padding: 0;
  cursor: pointer;
  position: relative;
  /* background: radial-gradient(circle at 50% 50%, #ffffff 0%, #f7f7f7 30%, #e4e4e4 60%, #c7c7c7 100%);*/
  background: white;
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.22),
    inset 0 3px 9px rgba(255, 255, 255, 1),
    inset 0 -3px 10px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  flex-direction: column;
  align-content: center;
  justify-content: center;
  align-items: center;
}

/* ==========================================
   DOBLE BORDE INTERNO
   ========================================== */
#homeweb .glass-btn::before {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  border: 2.4px solid rgb(255 255 255 / 35%);
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.5),
    0 0 12px rgba(0, 0, 0, 0.18);
  pointer-events: none;
}

#homeweb .glass-btn::after {
  content: "";
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  box-shadow: inset 0 0 14px rgba(255, 255, 255, 0.7),
    inset 0 0 6px rgb(144 144 144 / 25%);
  pointer-events: none;
}

/* ==========================================
   LOGO
   ========================================== */
#homeweb .glass-btn .btn-logo {
  width: 50%;
  z-index: 5;
  position: relative;
  /* filter: drop-shadow(0 2px 1.6px rgba(0,0,0,0.35));*/
}

/* ==========================================
   ESTADO HOVER — MÁS ILUMINADO
   ========================================== */
#homeweb .glass-btn:hover {
  background: radial-gradient(
    circle at 50% 50%,
    #ffffff 0%,
    #f2f2f2 30%,
    #f6f6f6 60%,
    #ffffff 100%
  );
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.8),
    inset 0 0 12px rgba(255, 255, 255, 0.9),
    inset 0 0 10px rgba(255, 255, 255, 0.6);
  transform: translateY(-4px);
}

/* ==========================================
   ACTIVE + FOCUS — MISMO ESTADO HUNDIDO
   ========================================== */
#homeweb .glass-btn:active,
#homeweb .glass-btn:focus {
  outline: none;

  transform: translateY(2px);

  background: radial-gradient(
    circle at 50% 55%,
    #e9e9e9 0%,
    #d7d7d7 40%,
    #b6b6b6 100%
  );

  box-shadow: inset 0 6px 14px rgba(0, 0, 0, 0.38),
    /* sombra superior hundida */ inset 0 -6px 16px rgba(255, 255, 255, 0.45),
    /* brillo inferior */ inset 0 0 22px rgba(255, 255, 255, 0.55),
    /* glow interno */ inset 0 0 10px rgba(0, 0, 0, 0.28); /* refuerzo contraste */
}

/*nav portada */

.overlay-navigation {
  margin: auto;
  position: absolute;
  inset: 0;
  z-index: 0;

  width: 87vmin;
  height: 87vmin;
}

nav,
nav ul {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

nav ul li {
  border-style: solid;
  flex-basis: calc(50% - 2rem);
  height: calc(50% - 2rem);
  position: relative;
  overflow: hidden;
  display: flex;
  box-sizing: border-box;
}

nav ul li .li-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.09;
  transition: opacity 0.5s ease;
}

/* Enlace encima de todo */
nav ul li a {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Hover: mostrar video */
nav ul li:hover .li-video {
  opacity: 1;
  transition: opacity 0.5s ease 0.4s;
}

nav li a {
  position: relative;
  width: 100%;
  height: 100%;
  color: #000;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 4px;
  text-decoration: none;
  display: flex; /* ocupa todo el li */
  justify-content: center; /* centra horizontal */
  align-items: center; /* centra vertical */
  text-align: center;
  font-size: 0.8rem;
}

nav li span {
  position: relative;
  width: 100%;
  height: 100%;
  color: #000;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 4px;
  text-decoration: none;
  display: flex; /* ocupa todo el li */
  justify-content: center; /* centra horizontal */
  align-items: center; /* centra vertical */
  text-align: center;
  font-size: 0.8rem;
  cursor: default;
  opacity: 0.6;
}

/* Texto extra inferior */
/*
nav li a:after {
  content: attr(data-content);
  position: absolute;
  top: 50%;             
  transform: translate(-50%, 0); 
  color: #000;
  font-style: italic;
  font-weight: 300;
  letter-spacing: 0;
  font-size: 1em;
  text-transform: none;
  opacity: 0;
  transition: transform 0.2s linear, opacity 0.2s linear;
  z-index: 10;
}*/

/* Línea inicial: aparece desde arriba */
nav li a:before {
  content: "";
  width: 40px;
  height: 2px;
  background-color: #212121;
  position: absolute;
  top: 45%; /* empieza desde arriba */
  left: 50%; /* centrado horizontal */
  transform: translate(
    -50%,
    -100%
  ); /* mueve completamente arriba fuera del a */
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.5s ease;
  z-index: 10;
}

/* Hover efectos: se aposenta en el centro vertical */
nav li a:hover:before {
  transform: translate(-50%, -50%); /* centra verticalmente */
  opacity: 1;
}

nav li a:hover:after {
  transform: translate(-50%, 15px); /* animación hacia abajo desde el centro */
  opacity: 1;
}

/* Fondos degradados por defecto con 85% de opacidad */
nav li:nth-of-type(1) {
  /* box-shadow: 
  rgba(0, 0, 0, 0.1) -4px -4px 26px,
  rgba(0, 0, 0, 0.1) -8px -8px 44px,
  rgba(0, 0, 0, 0.1) -16px -16px 86px; */
  transition: box-shadow 1.5s ease, background 1s ease, border-width 0.2s ease,
    border-color 1s ease;
  border-width: 4px 0 0 1px;
  border-radius: 15vmin 1vmin 0 1vmin;
  border-color: #e5e5e5;
  animation: fadeLento 4s forwards;
  /*	background: radial-gradient(
    circle at top left,
    rgba(229, 229, 229, 1) 20%,
    rgba(244, 244, 244, 1) 40%,
    rgba(245, 245, 245, 0.9) 80%,
    rgba(244, 244, 244, 0.9) 100%
);*/
  box-shadow: rgba(0, 0, 0, 0.05) -2px -2px 20px,
    rgba(0, 0, 0, 0.04) -4px -4px 40px, rgba(0, 0, 0, 0.03) -8px -8px 80px;
  background: white;
}

nav li:nth-of-type(2) {
  /* background: radial-gradient(circle at top right,  rgba(229, 229, 229, 1) 20%,    rgba(244, 244, 244, 1) 40%,    rgba(245, 245, 245, 0.9) 80%,    rgba(244, 244, 244, 0.9) 100%);*/
  /*box-shadow: 
  rgba(0, 0, 0, 0.1) 4px -4px 26px,
  rgba(0, 0, 0, 0.1) 8px -8px 44px,
  rgba(0, 0, 0, 0.1) 16px -16px 86px; */
  transition: box-shadow 1.5s ease, background 1s ease, border-width 0.2s ease,
    border-color 1s ease;
  border-width: 1px 4px 0 0;
  border-radius: 1vmin 15vmin 1vmin 0;
  border-color: #e5e5e5;
  animation: fadeLento 4s forwards;
  box-shadow: rgba(0, 0, 0, 0.06) 4px -4px 32px,
    rgba(0, 0, 0, 0.04) 8px -8px 56px, rgba(0, 0, 0, 0.03) 16px -16px 96px;
  background: white;
}

nav li:nth-of-type(3) {
  /*background: radial-gradient(circle at bottom left,  rgba(229, 229, 229, 1) 20%,    rgba(244, 244, 244, 1) 40%,    rgba(245, 245, 245, 0.9) 80%,    rgba(244, 244, 244, 0.9) 100%);
	);*/
  /* box-shadow: 
  rgba(0, 0, 0, 0.1) -4px 4px 26px,
  rgba(0, 0, 0, 0.1) -8px 8px 44px,
  rgba(0, 0, 0, 0.1) -16px 16px 86px; */
  box-shadow: rgba(0, 0, 0, 0.06) -4px 4px 32px,
    rgba(0, 0, 0, 0.04) -8px 8px 56px, rgba(0, 0, 0, 0.03) -16px 16px 96px;
  transition: box-shadow 1.5s ease, background 1s ease, border-width 0.2s ease,
    border-color 1s ease;
  border-width: 0 0 1px 4px;
  border-radius: 1vmin 0 1vmin 15vmin;
  border-color: #e5e5e5;
  animation: fadeLento 4s forwards;
  background: white;
}

nav li:nth-of-type(4) {
  /*	background: radial-gradient(circle at bottom right,  rgba(229, 229, 229, 1) 20%,    rgba(244, 244, 244, 1) 40%,    rgba(245, 245, 245, 0.9) 80%,    rgba(244, 244, 244, 0.9) 100%);
	);*/
  /*	 box-shadow: 
  rgba(0, 0, 0, 0.1) 4px 4px 26px,
  rgba(0, 0, 0, 0.1) 8px 8px 44px,
  rgba(0, 0, 0, 0.1) 16px 16px 86px; */
  transition: box-shadow 1.5s ease, background 1s ease, border-width 0.2s ease,
    border-color 1s ease;
  border-width: 0 1px 4px 0;
  border-radius: 0 3vmin 15vmin 3vmin;
  border-color: #e5e5e5;
  animation: fadeLento 4s forwards;
  box-shadow: rgba(0, 0, 0, 0.06) 4px 4px 32px, rgba(0, 0, 0, 0.04) 8px 8px 56px,
    rgba(0, 0, 0, 0.03) 16px 16px 96px;
  background: white;
}

nav li:nth-child(-n + 4):hover::before {
  box-shadow: rgb(93 93 93 / 25%) 0px 30px 60px -12px inset,
    rgb(0 0 0 / 30%) 0px 18px 36px -18px inset;
}

nav li:nth-child(-n + 4):hover {
  box-shadow: 0 0 22px 14px rgb(246 246 246);
}

nav li:nth-of-type(1):hover {
  border-width: 14px 4px 4px 4px;
  border-top-color: #dddddd;
  border-right-color: #fff;
  border-bottom-color: #fff;
  border-left-color: #dddddd;
}
nav li:nth-of-type(2):hover {
  border-width: 4px 14px 4px 4px;
  border-top-color: #dddddd;
  border-right-color: #fff;
  border-bottom-color: #fff;
  border-left-color: #ddd;
}
nav li:nth-of-type(3):hover {
  border-width: 4px 4px 4px 14px;
  border-top-color: #ddd;
  border-right-color: #fff;
  border-bottom-color: #fff;
  border-left-color: #dddddd;
}
nav li:nth-of-type(4):hover {
  border-width: 4px 4px 14px 4px;
  border-top-color: #ddd;
  border-right-color: #fff;
  border-bottom-color: #fff;
  border-left-color: #ddd;
}

/* Degradado encima del video */
nav ul li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /*  background: linear-gradient(
        to bottom right,
        rgba(255, 255, 255, 0.70),  
        rgba(245, 245, 245, 0.80)   
    );*/
  opacity: 0; /* invisible por defecto */
  transition: opacity 1s ease;
  z-index: 1; /* encima del video, debajo del a */
  /*   background: radial-gradient(circle at 50% 50%, #ffffff42 0%, #f4f4f480 20%, #d0ccccbd 40%, #cccacbe8 100%);*/
  background: radial-gradient(
    circle at 50% 50%,
    #ffffff42 0%,
    #ffffffb3 20%,
    #fffefebd 40%,
    #f3f3f3e8 100%
  );
}

/* Hover: mostramos el degradado */
nav ul li:hover::before {
  opacity: 1;
}

.slide-in-nav-item {
  animation: slide-in-nav-item 0.4s linear 1 0.2s both;
}

.slide-in-nav-item-delay-1 {
  animation: slide-in-nav-item 0.4s linear 1 0.4s both;
}

.slide-in-nav-item-delay-2 {
  animation: slide-in-nav-item 0.4s linear 1 0.6s both;
}

.slide-in-nav-item-delay-3 {
  animation: slide-in-nav-item 0.4s linear 1 0.8s both;
}

.slide-in-nav-item-delay-4 {
  animation: slide-in-nav-item 0.4s linear 1 1s both;
}

.slide-in-nav-item-reverse {
  animation: slide-in-nav-item-reverse 0.3s linear 1 0.5s both;
}

.slide-in-nav-item-delay-1-reverse {
  animation: slide-in-nav-item-reverse 0.3s linear 1 0.4s both;
}

.slide-in-nav-item-delay-2-reverse {
  animation: slide-in-nav-item-reverse 0.3s linear 1 0.3s both;
}

.slide-in-nav-item-delay-3-reverse {
  animation: slide-in-nav-item-reverse 0.3s linear 1 0.2s both;
}

.slide-in-nav-item-delay-4-reverse {
  animation: slide-in-nav-item-reverse 0.3s linear 1 both;
}

@media (max-width: 1024px) {
  /* Nav vertical */
  nav ul {
    flex-direction: row;
    /*height: 100vh;*/
  }

  nav ul li {
    flex-basis: calc(50% - 2rem);
    height: calc(50% - 2rem);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative; /* necesario para before/after */
  }

  nav li a {
    top: 0;
    line-height: normal;
    font-size: 1rem;
    position: relative;
  }

  nav ul li a {
    display: flex; /* usar flex para centrar contenido */
    justify-content: center; /* centrar horizontal */
    align-items: center; /* centrar vertical */
    width: 100%; /* ocupa todo el li */
    height: 100%; /* ocupa toda la altura del li */
    position: relative; /* necesario para :before/:after */
    text-align: center;
    text-decoration: none; /* opcional: quitar subrayado */
    font-size: 0.56em;
  }

  /* ======================================
       LÍNEA :before desde el borde izquierdo
       ====================================== */
  nav li a:before {
    content: "";
    width: 70px; /* largo de la línea */
    height: 2px;
    background-color: #212121;
    position: absolute;
    top: 50%;
    left: 0; /* desde borde izquierdo de li */
    z-index: 100;
    transform: translateX(0) translateY(-50%); /* centrada vertical */
    opacity: 0;
    transition: all 0.2s linear;
    display: none;
  }

  /* ======================================
       DATACONTENT :after más cerca del texto
       ====================================== */
  nav li a:after {
    content: attr(data-content);
    font-size: 0.8em;
    opacity: 0;
    position: absolute;
    z-index: 100;
    color: #000;
    left: 0;
    right: 0;
    bottom: -25px; /* menos espacio hacia abajo */
    text-align: center;
    text-transform: none;
    font-family: "Open Sans", serif;
    font-weight: 300;
    font-style: italic;
    letter-spacing: 0;
  }

  nav li a:hover:before {
    transform: translateX(0) translateY(-50%);
    opacity: 1;
  }

  nav li a:hover:after {
    transform: translateY(10px); /* animación hacia abajo más corta */
    opacity: 1;
  }
}

.hero video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 1; /* detrás del contenido */
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none; /* evita clics sobre el video */
}

/* Mostrar el video solo cuando haces hover en .mediotot */
.mediotot:hover ~ video,
.mediotot:hover + video {
  opacity: 0.1;
}

.presentation {
  display: flex;
  flex-direction: column;
  align-content: flex-start;
  justify-content: center;
  align-items: flex-start;
  width: 100vw;
  height: 100%;
  min-height: 100vh;
  flex: 1;
  background: linear-gradient(to bottom right, #ffffff, #e8e8e8);
  position: relative;
  padding: 8rem 3em;
}

.cunt {
  margin: 0 auto;
  max-width: 1170px;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-content: flex-start;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 2rem;
}

.fadeInDownSlow {
  opacity: 0;
  animation: fadeInDownSlow 2.8s ease-out forwards;
}

@keyframes fadeInDownSlow {
  0% {
    opacity: 0;
    transform: translateY(-30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.submit-btn.mediana {
  text-align: center !important;
  font-size: 1.3rem;
  font-weight: 600 !important;
}

/*titulos*/

.grande {
  font-size: 2em;
  line-height: 1.4;
  font-weight: 400;
  text-align: justify !important;
}
.mediana {
  font-size: 1.5em;
  line-height: 1.4;
  font-weight: 300;
  text-align: justify !important;
}
.peque {
  font-size: 1.1em;
  line-height: 1.4;
  font-weight: 300;
  text-align: justify !important;
}
.texto {
  font-size: 1em;
  line-height: 1.4;
  font-weight: 400;
  text-align: justify !important;
}

/* --- Reducción para 1024px --- */
@media (max-width: 1024px) {
  .grande {
    font-size: 2em;
  }
  .mediana {
    font-size: 1.5em;
  }
  .peque {
    font-size: 1.1em;
  }
  .texto {
    font-size: 0.95em;
  }
}

/* --- Reducción para 640px --- */
@media (max-width: 640px) {
  .grande {
    font-size: 1.5em;
  }
  .mediana {
    font-size: 1.3em;
  }
  .peque {
    font-size: 1.1em;
  }
  .texto {
    font-size: 0.9em;
  }
}

.dos-columnas {
  display: flex;
  width: 100%;
  gap: 2rem; /* espacio entre columnas */
  align-items: stretch;
}

.dos-columnas .col {
  display: flex;
  gap: 0.7rem;
  flex-direction: column;
  align-content: flex-start;
  justify-content: flex-start;
  align-items: flex-start;
  flex: 1 1 0; /* se estiran correctamente */
  /*min-height: 0;    */
}
ol {
  padding-left: 40px; /* más habitual para listas */
}
/* Responsive para móviles */
@media (max-width: 768px) {
  .dos-columnas {
    flex-direction: column;
  }
}

.dos-columnas .col.derecha {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: stretch;
  flex: 1;
}
#footer .cunt {
  padding: 0 3rem;
}
#footer .dos-columnas {
  position: relative;
  gap: 0;
  margin: 4rem auto !important;
  padding: 2rem 0rem;
  border-top: 1px solid #cbcbcb;
  border-bottom: 1px solid #cbcbcb;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: space-around;
  justify-content: space-between;
  align-items: flex-start;
}
#footer .dos-columnas::before {
  content: "";
  position: absolute;
  height: 60%;
  border-left: 1px solid #d9d9d9;
  left: 50%;
  top: 20%;
}
@media (max-width: 768px) {
  #footer .dos-columnas {
    flex-direction: column;
    flex-wrap: wrap;
    align-content: space-around;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
  }
  #footer .dos-columnas::before {
    display: none;
  }
}

#footer .dos-columnas .col.derecha {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-start;
  align-items: center;
  flex: 1;
  align-content: flex-start;
  flex-wrap: wrap;
}

.cita-estilo {
  margin-left: 20px; /* ajusta si quieres más sangría */
  padding-left: 15px;
  border-left: 3px solid #ccc;
  align-self: center;
  margin-top: auto; /* empuja hacia el centro verticalmente */
  margin-bottom: auto;
}
#videos .dos-columnas {
  gap: 0;
}
.my-video-slider {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
}

.my-video-slider .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  border-radius: 15px; /* redondeo de los slides */
  overflow: hidden; /* importante para que el iframe respete el borde */
  background: #000; /* opcional, fondo mientras carga el video */
  /* box-shadow: 0 4px 12px rgba(0,0,0,0.3);*/ /* opcional: sombra elegante */
}

.my-video-slider iframe {
  width: 100%;
  max-width: 640px;
  aspect-ratio: 16 / 9;
  border: none;
  border-radius: 0; /* el borde lo controla el contenedor */
}

.swiper-button-next,
.swiper-button-prev {
  color: rgb(255 255 255);
}
.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 1.5rem;
}

/*logout*/
#logout-btn {
  position: fixed; /* Fijo en pantalla */
  bottom: 20px; /* Distancia desde arriba */
  right: 20px; /* Distancia desde la derecha */
  background: transparent; /* Fondo del icono */
  padding: 8px;
  border-radius: 50%;
  /*box-shadow: 0 2px 6px rgba(0,0,0,0.2);*/
  cursor: pointer;
  z-index: 9999;
  transition: all 0.2s ease;
  color: #222;
}
#logout-btn img {
  width: 50px;
  height: 50px;
}

#logout-btn:hover {
  /*  background: #f0f0f0;*/
  transform: scale(1.1);
}

/*margenes blog*/
#videos .cunt {
  margin-bottom: 6rem;
}
.martop {
  margin-top: 6rem;
}
.minibot {
  margin-bottom: 3rem;
}

/*animacion bocadillos ia user*/
@keyframes popIn {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
  }
  100% {
    transform: scale(1);
  }
}

.popin {
  transform-origin: center center; /* evita que se desplace fuera de su lugar */
  animation: popIn 0.5s ease-out forwards;
}

.arriba {
  display: flex;
  flex-direction: column;
  align-content: center;
  justify-content: center;
  align-items: center;
  gap: 0.2rem;
}

body#calendar .col-izquierda {
  border-right: 4px solid #ffe1e3;
  border-color: #ffe1e3;
  background: #fff3f4;
}
body#calendar .fila-3 {
  border-color: #ffe1e3;
  background: #fff3f4;
}

body#email .col-izquierda {
  border-right: 4px solid #b9f4fa;
  border-color: #b9f4fa;
  background: #e3fbfd;
}
body#email .fila-3 {
  border-color: #b9f4fa;
  background: #e3fbfd;
}

body.doc .col-izquierda {
  border-right: 4px solid #d6eafd;
  border-color: #d6eafd;
  background: #e8f3fe;
}
body.doc .fila-3 {
  border-color: #d6eafd;
  background: #e8f3fe;
}

body.spread .col-izquierda {
  border-right: 4px solid #c9f6e2;
  background: #ddf9ee;
  border-color: #c9f6e2;
}
body.spread .fila-3 {
  background: #ddf9ee;
  border-color: #c9f6e2;
}

body#coding .col-izquierda {
  border-right: 4px solid #edddff;
  border-color: #edddff;
  background: #f5ecff;
}
body#coding .fila-3 {
  border-color: #edddff;
  background: #f5ecff;
}

body#searcher .col-izquierda {
  border-right: 4px solid #f0f7c8;
  border-color: #f0f7c8;
  background: #f8fbe3;
}
body#searcher .fila-3 {
  border-color: #f0f7c8;
  background: #f8fbe3;
}

body#brows .col-izquierda {
  border-right: 4px solid #d4f4e8;
  border-color: #d4f4e8;
  background: #e7faf3;
}
body#brows .fila-3 {
  border-color: #d4f4e8;
  background: #e7faf3;
}

body#user .col-izquierda {
  border-right: 4px solid #e1e1e1;
  border-color: #f9f9f9;
  background: #f2f2f2;
}
body#user .fila-3 {
  border-color: #f9f9f9;
  background: #f2f2f2;
}

body#user .main {
  background-color: white;
}
body#user .main-setup {
  background-color: transparent;
}

.collapsed .col-izquierda .col-btn:nth-child(1):hover {
  background: radial-gradient(circle, #fff 35%, #ffe1e3 100%) !important;
  border-color: #ffe1e3;
  box-shadow: 0 4px 8px rgba(255, 225, 227, 0.35),
    0 0 20px 8px rgba(255, 225, 227, 0.5);
}

.collapsed .col-izquierda .col-btn:nth-child(2):hover {
  background: radial-gradient(circle, #fff 35%, #b9f4fa 100%) !important;
  border-color: #b9f4fa;
  box-shadow: 0 4px 8px rgba(185, 244, 250, 0.35),
    0 0 20px 8px rgba(185, 244, 250, 0.5);
}

.collapsed .col-izquierda .col-btn:nth-child(3):hover {
  background: radial-gradient(circle, #fff 35%, #d6eafd 100%) !important;
  border-color: #d6eafd;
  box-shadow: 0 4px 8px rgba(214, 234, 253, 0.35),
    0 0 20px 8px rgba(214, 234, 253, 0.5);
}

.collapsed .col-izquierda .col-btn:nth-child(4):hover {
  background: radial-gradient(circle, #fff 35%, #c9f6e2 100%) !important;
  border-color: #c9f6e2;
  box-shadow: 0 4px 8px rgba(201, 246, 226, 0.35),
    0 0 20px 8px rgba(201, 246, 226, 0.5);
}

.collapsed .col-izquierda .col-btn:nth-child(5):hover {
  background: radial-gradient(circle, #fff 35%, #edddff 100%) !important;
  border-color: #edddff;
  box-shadow: 0 4px 8px rgba(237, 221, 255, 0.35),
    0 0 20px 8px rgba(237, 221, 255, 0.5);
}

.collapsed .col-izquierda .col-btn:nth-child(6):hover {
  background: radial-gradient(circle, #fff 35%, #f0f7c8 100%) !important;
  border-color: #f0f7c8;
  box-shadow: 0 4px 8px rgba(240, 247, 200, 0.35),
    0 0 20px 8px rgba(240, 247, 200, 0.5);
}

.collapsed .col-izquierda .col-btn:nth-child(7):hover {
  background: radial-gradient(circle, #fff 35%, #d4f4e8 100%) !important;
  border-color: #d4f4e8;
  box-shadow: 0 4px 8px rgba(212, 244, 232, 0.35),
    0 0 20px 8px rgba(212, 244, 232, 0.5);
}

.collapsed .col-izquierda .botuser .col-btn:nth-child(1):hover {
  background: radial-gradient(circle, #fff 35% 35%, #e1e1e1 100%) !important;
  border-color: #cecece;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 0 15px 6px rgba(255, 255, 255, 0.5);
}

.collapsed .col-izquierda .botuser .col-btn:nth-child(2):hover {
  background: radial-gradient(circle, #fff 35% 35%, #e1e1e1 100%) !important;
  border-color: #cecece;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 0 15px 6px rgba(255, 255, 255, 0.5);
}

.col-izquierda .col-btn:nth-child(1):hover {
  background: linear-gradient(135deg, #fff 0%, #ffe1e3 100%) !important;
  border-color: #ffe1e3;
  box-shadow: 0 4px 8px rgba(255, 225, 227, 0.35),
    0 0 20px 8px rgba(255, 225, 227, 0.5);
}

.col-izquierda .col-btn:nth-child(2):hover {
  background: linear-gradient(135deg, #fff 0%, #b9f4fa 100%) !important;
  border-color: #b9f4fa;
  box-shadow: 0 4px 8px rgba(185, 244, 250, 0.35),
    0 0 20px 8px rgba(185, 244, 250, 0.5);
}

.col-izquierda .col-btn:nth-child(3):hover {
  background: linear-gradient(135deg, #fff 0%, #d6eafd 100%) !important;
  border-color: #d6eafd;
  box-shadow: 0 4px 8px rgba(214, 234, 253, 0.35),
    0 0 20px 8px rgba(214, 234, 253, 0.5);
}

.col-izquierda .col-btn:nth-child(4):hover {
  background: linear-gradient(135deg, #fff 0%, #c9f6e2 100%) !important;
  border-color: #c9f6e2;
  box-shadow: 0 4px 8px rgba(201, 246, 226, 0.35),
    0 0 20px 8px rgba(201, 246, 226, 0.5);
}

.col-izquierda .col-btn:nth-child(5):hover {
  background: linear-gradient(135deg, #fff 0%, #edddff 100%) !important;
  border-color: #edddff;
  box-shadow: 0 4px 8px rgba(237, 221, 255, 0.35),
    0 0 20px 8px rgba(237, 221, 255, 0.5);
}

.col-izquierda .col-btn:nth-child(6):hover {
  background: linear-gradient(135deg, #fff 0%, #f0f7c8 100%) !important;
  border-color: #f0f7c8;
  box-shadow: 0 4px 8px rgba(240, 247, 200, 0.35),
    0 0 20px 8px rgba(240, 247, 200, 0.5);
}

.col-izquierda .col-btn:nth-child(7):hover {
  background: linear-gradient(135deg, #fff 0%, #d4f4e8 100%) !important;
  border-color: #d4f4e8;
  box-shadow: 0 4px 8px rgba(212, 244, 232, 0.35),
    0 0 20px 8px rgba(212, 244, 232, 0.5);
}

.col-izquierda .botuser .col-btn:nth-child(1):hover {
  background: linear-gradient(135deg, #fff 0%, #e1e1e1 100%) !important;
  border-color: #e1e1e1;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 0 15px 6px rgba(255, 255, 255, 0.5);
}

.col-izquierda .botuser .col-btn:nth-child(2):hover {
  background: linear-gradient(135deg, #fff 0%, #e1e1e1 100%) !important;
  border-color: #e1e1e1;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 0 15px 6px rgba(255, 255, 255, 0.5);
}

.col-izquierda video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

/*

.glass:hover + video { 
  opacity: 0.01;
}*/

#searcher .wraper-de {
  display: none;
}
body#searcher .char-counter#charCounterIzquierda {
  right: 1rem !important;
  left: auto !important;
}

body.doc .speech-bubble,
body.spread .speech-bubble,
body#coding .speech-bubble {
  min-height: 100px;
}

body.doc .fila-1,
body.spread .fila-1 {
  min-height: 100px;
  height: 100px;
}

body.doc .col-der,
body.spread .col-der,
body#coding .col-der {
  min-width: 100px;
}

body.doc .icono,
body.spread .icono,
body#coding .icono {
  width: 100px;
  height: 100px;
  background-size: 100px;
  margin-top: -10px;
  mask-size: 100px;
}

/* Blog Detail Article */
#blog-detail .secciones {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  overflow-y: auto;
}

#blog-detail .presentation {
  height: auto !important;
  width: 100%;
  padding: 4rem 2rem;
  background: linear-gradient(to bottom right, #ffffff, #e8e8e8);
}

#blog-detail .cunt {
  max-width: 1000px;
  margin: 0 auto;
  gap: 0.5rem;
}

.blog-detail-article {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.blog-detail-article h1 {
  font-size: 2em;
  line-height: 1.4;
  font-weight: 600;
  text-align: justify !important;
}

.blog-detail-meta {
  display: flex;
  gap: 1rem;
  font-size: clamp(1.2rem, 3vw, 1.4rem);
  font-style: italic;
  color: #999;
  margin-bottom: 2rem;
}

.blog-video-container {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin: 1.5rem 0;
}

.blog-video-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.blog-detail-content {
  font-size: 1.1em;
  line-height: 1.8;
  color: #333;
}

.blog-detail-content p {
  margin-bottom: 1.5rem;
}

.blog-detail-content h2,
.blog-detail-content h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.blog-share {
  margin: 3rem 0 2rem 0;
  /* padding: 2rem;
  background: #f5f5f5;
  border-radius: 12px;*/
}

.blog-share h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1em;
  color: #333;
}

.share-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: white;
  color: #333;
  text-decoration: none;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-weight: 500;
  transition: all 0.2s;
  font-size: 0.95em;
}

.share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.share-twitter:hover {
  background: #1da1f2;
  color: white;
  border-color: #1da1f2;
}

.share-facebook:hover {
  background: #1877f2;
  color: white;
  border-color: #1877f2;
}

.share-linkedin:hover {
  background: #0a66c2;
  color: white;
  border-color: #0a66c2;
}

.share-whatsapp:hover {
  background: #25d366;
  color: white;
  border-color: #25d366;
}

.blog-nav {
  display: flex;
  gap: 1rem;
  margin-top: 3rem;
}

.blog-nav-btn {
  /*padding: 1rem 2rem;
  background: #333;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.2s;
  display: inline-block;*/
  padding: 0.5rem 1.5rem;
  min-width: 38px;
  min-height: 38px;
  border: 2px solid white;
  background: linear-gradient(to bottom right, #ffffff, #e8e8e8);
  color: #222;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 500;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  text-decoration: none;
}

.blog-nav-btn:hover {
  /* background: #555;
  transform: translateY(-2px);*/
  transform: translateY(1px);
  background: linear-gradient(to top left, #ffffff, #e8e8e8);
  border: 2px solid #e8e8e8;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transform: translateY(-1px);
}

.back-link {
  color: #666;
  text-decoration: none;
  font-weight: 500;
  display: inline-block;
  margin-bottom: 1.5rem;
  transition: color 0.2s;
}

.back-link:hover {
  color: #1e3f7f;
  text-decoration: underline;
}

/* Blog Container and Posts */
.blog-container {
  padding-right: 10px;
}

.blog-post {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 30px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.blog-post:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.blog-image {
  flex-shrink: 0;
  width: 150px;
  height: 100px;
  overflow: hidden;
  border-radius: 8px;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-post:hover .blog-image img {
  transform: scale(1.05);
}

.blog-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-header {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  margin-bottom: 15px;
  gap: 20px;
  flex-wrap: wrap;
  align-content: center;
  flex-direction: row;
  padding: 0;
  background-color: transparent;
  height: auto;
}

.blog-title {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0;
  color: black;
  flex: 1;
  min-width: 200px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.blog-title a {
  color: black;
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-title a:hover {
  color: rgba(0, 0, 0, 0.7);
}

.blog-date {
  font-size: clamp(1.2rem, 3vw, 1.4rem);
  font-style: italic;
  color: black;
  white-space: nowrap;
  flex-shrink: 0;
  align-self: flex-start;
}

.blog-text-container {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.blog-text {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.blog-excerpt {
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  line-height: 1.6;
  color: black;
  margin-bottom: 0;
  transition: all 0.3s ease;
}
.blog-excerpt a,
.blog-detail-content a {
  color: #666 !important;
}
.blog-excerpt a:hover,
.blog-detail-content a:hover {
  color: #222 !important;
}

@media (max-width: 768px) {
  .blog-post {
    flex-direction: column;
  }

  .blog-image {
    width: 100%;
    height: 200px;
  }

  .blog-header {
    flex-direction: column;
    gap: 10px;
  }

  .blog-date {
    align-self: flex-start;
  }
}

/* Blog Grid and Post Cards - Legacy styles (keep for compatibility) */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  width: 100%;
  margin: 2rem 0;
}

.blog-post-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.blog-post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.blog-post-header {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.blog-post-header h3 {
  margin: 0;
  font-size: 1.3em;
  font-weight: 600;
  line-height: 1.4;
}

.blog-post-header h3 a {
  color: #333;
  text-decoration: none;
  transition: color 0.2s;
}

.blog-post-header h3 a:hover {
  color: #2c5aa0;
}

.blog-post-badge {
  display: inline-block;
  background: #f0f0f0;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  font-size: 0.85em;
  color: #666;
  width: fit-content;
}

.blog-post-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.9em;
  color: #999;
}

.blog-post-date {
  display: flex;
  align-items: center;
}

.blog-post-excerpt {
  flex-grow: 1;
  font-size: 0.95em;
  line-height: 1.6;
  color: #555;
}

.blog-post-link {
  color: #2c5aa0;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
  align-self: flex-start;
}

.blog-post-link:hover {
  color: #1e3f7f;
  text-decoration: underline;
}

/* Video Slide Link */
.video-slide-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  position: relative;
}

.video-slide-link:hover {
  text-decoration: none;
}

/* Payment Confirmation Styles */
#payment-confirmation .secciones {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  overflow-y: auto;
}

#payment-confirmation .presentation {
  padding: 4rem 2rem;
  background: linear-gradient(to bottom right, #ffffff, #e8e8e8);
}

#payment-confirmation .cunt {
  max-width: 900px;
  margin: 0 auto;
}

.payment-confirmation-card {
  background: white;
  border-radius: 12px;
  padding: 3rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.payment-success,
.payment-cancelled,
.payment-error,
.payment-unknown {
  text-align: center;
}

.payment-icon {
  font-size: 64px;
  margin-bottom: 1.5rem;
}

.payment-icon.warning {
  color: #f59e0b;
}

.payment-icon.error {
  color: #ef4444;
}

.payment-success .payment-icon {
  color: #22c55e;
}

.order-details {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  text-align: left;
}

.order-details h3 {
  margin-top: 0;
  color: #166534;
}

.info-box {
  background: #eff6ff;
  border: 1px solid #93c5fd;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  text-align: left;
}

.info-box h4 {
  margin-top: 0;
  color: #1e40af;
}

.info-box ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.error-details {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  text-align: left;
  color: #991b1b;
}

.error-info {
  color: #666;
  font-size: 0.95em;
  line-height: 1.6;
}

.note {
  color: #666;
  font-size: 0.95em;
  margin: 1.5rem 0;
}

.button-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.payment-btn {
  padding: 1rem 2rem;
  background: #2563eb;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.2s;
  display: inline-block;
}

.payment-btn:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
}

.payment-btn.secondary {
  background: #6b7280;
}

.payment-btn.secondary:hover {
  background: #4b5563;
}

/* Subscriptions Styles */
#subscriptions .secciones {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  overflow-y: auto;
}

#subscriptions .presentation {
  padding: 4rem 2rem;
  background: linear-gradient(to bottom right, #ffffff, #e8e8e8);
}

#subscriptions .cunt {
  max-width: 1000px;
  margin: 0 auto;
}

.subscriptions-container {
  margin-top: 2rem;
}

.subscription-info {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.subscription-form {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  margin: 0 auto;
}

.alert {
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.alert-success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.alert-error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.alert h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.info-section {
  background: white;
  padding: 1.5rem;
  margin-bottom: 2rem;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.info-section h3 {
  margin-top: 0;
  color: #333;
  border-bottom: 2px solid #2563eb;
  padding-bottom: 0.75rem;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.info-table th,
.info-table td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

.info-table th {
  background: #f5f5f5;
  font-weight: 600;
  width: 30%;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.data-table th,
.data-table td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

.data-table th {
  background: #2563eb;
  color: white;
  font-weight: 600;
}

.status-badge {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  font-size: 0.85em;
  font-weight: 600;
}

.status-completed {
  background: #4caf50;
  color: white;
}
.status-pending {
  background: #ff9800;
  color: white;
}
.status-failed {
  background: #f44336;
  color: white;
}
.status-declined {
  background: #f44336;
  color: white;
}
.status-paid_queued,
.status-paid-queued {
  background: #2196f3;
  color: white;
}

/* Support Form Styles */
#support .secciones {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  overflow-y: auto;
}

#support .presentation {
  padding: 4rem 2rem;
  background: linear-gradient(to bottom right, #ffffff, #e8e8e8);
}

#support .cunt {
  max-width: 800px;
  margin: 0 auto;
}

.support-container {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.support-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.field-row {
  display: flex;
  /*flex-direction: column;*/
  gap: 0.5rem;
}

.field-row.checkbox {
  flex-direction: row;
  align-items: flex-start;
}

.field-row label {
  font-weight: 500;
  color: #333;
}

.field-row input[type="email"],
.field-row input[type="text"],
.field-row select,
.field-row textarea {
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1em;
  font-family: inherit;
  transition: border-color 0.2s;
}

.field-row input[type="email"]:focus,
.field-row input[type="text"]:focus,
.field-row select:focus,
.field-row textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.field-row textarea {
  resize: vertical;
  min-height: 120px;
}

.field-row.checkbox input[type="checkbox"] {
  margin-right: 0.5rem;
  margin-top: 0.25rem;
}

.field-row.checkbox span {
  font-size: 0.95em;
}

.field-row.checkbox a {
  color: #2563eb;
  text-decoration: none;
}

.field-row.checkbox a:hover {
  text-decoration: underline;
}

.support-btn {
  padding: 1rem 2rem;
  background: #2563eb;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1em;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-block;
  text-decoration: none;
  text-align: center;
}

.support-btn:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* Modal Styles */
/*.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.modal-content {
  background-color: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}
body#brows .modal-content {padding:0;}

.close-btn {
  position: absolute;
  right: 1.5rem;
  top: 1.5rem;
  font-size: 2em;
  font-weight: bold;
  color: #999;
  cursor: pointer;
  transition: color 0.2s;
}

.close-btn:hover {
  color: #333;
}*/

.terms-body {
  margin-top: 1.5rem;
  line-height: 1.8;
}

.terms-body h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.1em;
}

.terms-body p {
  margin-bottom: 1rem;
  color: #555;
}

/* Responsive */
@media (max-width: 768px) {
  .button-group {
    flex-direction: column;
  }

  .payment-btn {
    width: 100%;
  }

  .payment-confirmation-card {
    padding: 1.5rem;
  }

  #blog-detail .presentation,
  #payment-confirmation .presentation,
  #subscriptions .presentation,
  #support .presentation {
    padding: 2rem 1rem;
  }

  .modal-content {
    margin: 1rem;
    max-height: none;
  }
}

/* Upload message container styles */
.upload-message-container {
  position: absolute;
  bottom: 6rem;
  right: 0;
  z-index: 9;
  width: 400px;
  box-sizing: border-box;
  padding: 10px;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
}

.upload-status-message {
  padding: 8px 15px;
  background: #e6f3ff;
  border-radius: 5px;
  font-size: 13px;
  color: #000;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

/*nuevo altavoz*/
.speaker-wrapper {
  position: relative;
  width: 150px;
  height: 150px;
}
.speaker-wrapper .tooltip {
  bottom: 80% !important;
}
canvas {
  width: 150px;
  height: 150px;
}
#coding canvas,
.spread canvas,
.doc canvas {
  width: 120px;
  height: 120px;
}
#coding .speaker-wrapper,
.spread .speaker-wrapper,
.doc .speaker-wrapper {
  position: relative;
  width: 120px;
  height: 120px;
}

.speaker-wrapper canvas {
  cursor: pointer;
}

.speech-bubble {
  padding: 1rem !important;
}

.email-izquierda,
.email-derecha,
.event-izquierda,
.event-derecha,
.txtplan-izquierda,
.txtplan-derecha,
.spreadsheet-izquierda,
.spreadsheet-derecha,
.research-izquierda,
  .instrucciones,
  #browse-recap {
  font-size: 0.9em !important;
}

/*scrolls en paneles izquierdos*/
.scroll-container {
  flex: 1 1 auto;
  width: 100%;
  height: 100%;

  min-width: 0;
  min-height: 0;

  overflow: auto;
}

#wyswyg .wraper-iz {
  padding: 2px !important;
}

/*scrolls en paneles derechos*/
.scroll-container-der {
  flex: 1 1 auto;
  width: 100%;
  height: 100%;

  min-width: 0;
  min-height: 0;

  overflow: auto;
}

#wyswyg .wraper-de {
  padding: 2px !important;
}

#wyswyg .wraper-iz::after,
#wyswyg .wraper-de::after {
  bottom: 16px !important;
}
