/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Onest', sans-serif;
  background-color: #fefaf7;
  color: #000;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

h1, h2, p {
  margin: 0;
}

/* LOGIN BOX */
.login-box {
  width: 100%;
  height: 100vh;
  background-color: #fefaf7;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-left: 8%;
}

.login-box h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: #0028ff;
  width: 100%;
  text-align: left;
  padding-left: 11%;
}


#login-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 400px;
}

#login-form input {
  padding: 12px;
  border-radius: 12px;
  border: 2px solid #ccc;
  font-size: 1rem;
}

#login-form button {
  background-color: #0028ff;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 12px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

#login-form button:hover {
  background-color: #001bbf;
}

/* WELCOME CONTAINER */
.main-content {
  padding: 80px 20px;
  text-align: center;
  flex-grow: 1;
}

.welcome-title {
  font-size: 3rem;
  font-weight: 700;
  color: #0028ff;
  line-height: 1.2;
}

.gradient-text {
  background: linear-gradient(90deg, #0028ff, #0028ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subtitle {
  margin-top: 16px;
  font-size: 1.1rem;
  color: #555;
}

.main-action-button {
  display: inline-block;
  margin-top: 30px;
  background-color: #d3ff3c;
  color: #0028ff;
  font-weight: 600;
  border-radius: 30px;
  padding: 12px 28px;
  font-size: 1.1rem;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}

.main-action-button:hover {
  transform: scale(1.05);
}

/* BUBBLE BUTTONS (in image, if you add them in future) */
.bubble-button {
  display: inline-block;
  padding: 10px 26px;          /* más alto y más ancho */
  font-size: 1.05rem;          /* un poquito más grande */
  line-height: 1.2;            /* mantiene proporción sin verse inflado */
  border-radius: 36px;         /* más redondeado para compensar el tamaño */
  font-weight: 500;
  white-space: nowrap;
  border: none;
  margin: 0;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}


/* COLORES DE BURBUJAS */
.bubble-green { background-color: #0b3f2f; color: white; }
.bubble-orange { background-color: #fa5e2a; color: white; }
.bubble-blue { background-color: #0028ff; color: white; }
.bubble-pink { background-color: #fbd1de; color: #000; }
.bubble-lime { background-color: #d3ff3c; color: #000; }
.bubble-outline-blue { border: 2px solid #0028ff; color: #0028ff; background: transparent; }
.bubble-outline-red { border: 2px solid #800020; color: #800020; background: transparent; }

/* FOOTER */
.footer {
  padding: 20px;
  font-size: 0.9rem;
  text-align: center;
  background-color: transparent;
  color: #888;
}

/* ANIMACIONES */
.fade-in {
  animation: fadeIn 0.8s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
/* Alinear contenido principal a la izquierda */
.main-content {
  padding: 300px 40px 80px;
  text-align: left;
  max-width: 700px;
}

/* Logo en esquina superior derecha */
.corner-logo {
  position: absolute;
  top: 40px;      /* más margen arriba */
  right: 60px;    /* más separado del borde */
  width: 200px;   /* agranda el logo */
  height: auto;   /* mantiene proporción */
}
/* Contenedor de burbujas */
.bubble-container {
  position: absolute;
  bottom: 0;
  right: 40px;
  width: 1000px;
  height: 500px;
}


/* Burbuja base ya la tienes, pero agregamos más colores */
.bubble-dark-red {
  background-color: #800020;
  color: white;
}

.bubble-pink-dark {
  background-color: #fbd1de;
  color: #6c1c1c;
}

.bubble-outline-orange {
  border: 2px solid #fa5e2a;
  background-color: transparent;
  color: #fa5e2a;
}

.bubble-red {
  background-color: #b3002d;
  color: white;
}
.bubble-container span:nth-child(1)  { position: absolute; top: 270px; right: 0px; }           /* Outsource */
.bubble-container span:nth-child(2)  { position: absolute; top: 270px; right: 140px; }         /* Grow */
.bubble-container span:nth-child(3)  { position: absolute; top: 270px; right: 250px; }         /* Vintitutas */

.bubble-container span:nth-child(4)  { position: absolute; top: 330px; right: 0px; }           /* Negotiate */
.bubble-container span:nth-child(5)  { position: absolute; top: 330px; right: 140px; }         /* Transformation */
.bubble-container span:nth-child(6)  { position: absolute; top: 330px; right: 320px; }         /* Results */

.bubble-container span:nth-child(7)  { position: absolute; top: 390px; right: 0px; }           /* Lead */
.bubble-container span:nth-child(8)  { position: absolute; top: 390px; right: 95px; }         /* Explore */
.bubble-container span:nth-child(9)  { position: absolute; top: 390px; right: 220px; }         /* Interview */

.bubble-container span:nth-child(10) { position: absolute; top: 450px; right: 0px; }           /* Sales-and-Ops */
.bubble-container span:nth-child(11) { position: absolute; top: 450px; right: 175px; }         /* Innovate */
.bubble-container span:nth-child(12) { position: absolute; top: 450px; right: 300px; }         /* Hire */

/* -------------------- BUBBLE BUTTON EFFECT -------------------- */
.bubble-button {
  cursor: url('https://abs.twimg.com/emoji/v2/72x72/2728.png'), auto; /* Cursor de estrellita ✨ */
  transition: all 0.3s ease;
}

.bubble-button:hover {
  transform: scale(1.15);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.3);
  filter: brightness(1.2);
}

/* -------------------- MAIN ACTION BUTTON PULSE -------------------- */
.main-action-button {
  position: relative;
  animation: pulse 2s infinite;
  transition: transform 0.3s ease;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(0, 40, 255, 0.7);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 15px rgba(0, 40, 255, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(0, 40, 255, 0);
  }
}
.bubble-button {
  pointer-events: auto;
  cursor: default;
}

.bubble-button:active {
  pointer-events: none;
}
/* FLOATING + GLOW breathing */
@keyframes float {
  0%   { transform: translateY(0px); }
  50%  { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

@keyframes breathing-glow {
  0% {
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.1), 0 0 15px rgba(255, 255, 255, 0.05);
  }
  50% {
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.4), 0 0 30px rgba(255, 255, 255, 0.2);
  }
  100% {
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.1), 0 0 15px rgba(255, 255, 255, 0.05);
  }
}

.bubble-button {
  animation-name: float, breathing-glow;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

/* Vamos a darle tiempos distintos para que no estén sincronizadas */
.bubble-container span:nth-child(1)  { animation-duration: 4s, 5s; animation-delay: 0s, 0s; }
.bubble-container span:nth-child(2)  { animation-duration: 6s, 4.5s; animation-delay: 0.5s, 1s; }
.bubble-container span:nth-child(3)  { animation-duration: 5.5s, 6s; animation-delay: 0.2s, 0.3s; }
.bubble-container span:nth-child(4)  { animation-duration: 7s, 5.2s; animation-delay: 0.7s, 0.5s; }
.bubble-container span:nth-child(5)  { animation-duration: 4.5s, 4.7s; animation-delay: 1s, 0.6s; }
.bubble-container span:nth-child(6)  { animation-duration: 5s, 7s; animation-delay: 1.2s, 0.8s; }
.bubble-container span:nth-child(7)  { animation-duration: 6.2s, 6s; animation-delay: 0.3s, 0.4s; }
.bubble-container span:nth-child(8)  { animation-duration: 4.8s, 5.5s; animation-delay: 1.5s, 0.9s; }
.bubble-container span:nth-child(9)  { animation-duration: 5.7s, 5.8s; animation-delay: 0.6s, 1.1s; }
.bubble-container span:nth-child(10) { animation-duration: 6.3s, 6.5s; animation-delay: 1.3s, 1.4s; }
.bubble-container span:nth-child(11) { animation-duration: 5.2s, 5s; animation-delay: 0.4s, 1.6s; }
.bubble-container span:nth-child(12) { animation-duration: 7.1s, 7.3s; animation-delay: 0.9s, 0.2s; }
.bubble-particle {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff8dc 0%, #FFD700 40%, #b8860b 100%);
  pointer-events: none;
  animation: particle-fade 0.5s forwards;
  transform: translate(-50%, -50%);
}

@keyframes particle-fade {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(2);
  }
}
/* ANIMACIÓN POST LOGIN */
.login-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fefaf7;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 999;
  opacity: 1;
  transition: opacity 0.8s ease;
}

.login-animation.hidden {
  opacity: 0;
  pointer-events: none;
}

.login-animation-logo {
  width: 120px;
  height: auto;
  animation: scaleIn 1s ease-in-out forwards;
}

.login-animation-text {
  margin-top: 20px;
  font-size: 1.2rem;
  color: #0028ff;
  opacity: 0;
  animation: fadeIn 1.2s ease-in-out 0.8s forwards;
}

@keyframes scaleIn {
  0% { transform: scale(0); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
/* 🎆 Fireworks (sutil) */
.fireworks {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(255, 200, 0, 0.7) 2px, transparent 2px),
    radial-gradient(circle, rgba(255, 80, 80, 0.7) 2px, transparent 2px),
    radial-gradient(circle, rgba(80, 200, 255, 0.7) 2px, transparent 2px);
  background-size: 30px 30px;
  animation: fireworksFade 1.8s ease-out forwards;
  z-index: 999;
}

@keyframes fireworksFade {
  0% { opacity: 1; }
  100% { opacity: 0; }
}

/* 💬 Floating message */
.floating-msg {
  position: fixed;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff0df;
  color: #333;
  padding: 10px 20px;
  border-radius: 16px;
  font-weight: 600;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
  z-index: 1000;
  animation: puffOut 2.5s ease-out forwards;
}

@keyframes puffOut {
  0% {
    transform: translateX(-50%) scale(1);
    opacity: 1;
  }
  100% {
    transform: translateX(-50%) scale(1.3);
    opacity: 0;
  }
}
/* --- Login: mismo tamaño de antes + campos igual de largos --- */

/* ancho del form como antes */
#login-form{
  width: 400px;
}

/* ambos inputs llenan el ancho del form (idénticos) */
#login-form input{
  width: 100%;
  padding: 12px;           /* como antes */
  border-radius: 12px;     /* como antes */
  border: 2px solid #ccc;  /* como antes */
  font-size: 1rem;         /* como antes */
  box-sizing: border-box;  /* asegura mismo ancho con el padding extra */
}

/* email con avatar dentro */
.input-with-avatar{ position: relative; width: 100%; }

/* padding extra sólo para el email para no tapar el texto */
.input-with-avatar input{
  padding-right: 200px;     /* 56 avatar + 10 gap + 10 “aire” */
}

/* avatar MÁS GRANDE */
.login-avatar{
  position: absolute;
  right: -110px;
  top: 50px;
  transform: translateY(-50%);
  width: 100px;             /* antes 36px */
  height: 100px;            /* antes 36px */
  border-radius: 50%;
  object-fit: cover;
  display: none;           /* el JS lo muestra cuando hay src */
  pointer-events: none;
}

/* (opcional) avatar de bienvenida un poco más grande también */
.welcome-avatar{
  width: 100px;
  height: 100px;
  border-radius: 50%;
  vertical-align: middle;
  margin-right: 12px;
  display: none;
  object-fit: cover;
}

/* responsive: que el form se adapte en móvil */
@media (max-width: 640px){
  #login-form{ width: 100%; }
}
.tab-icon{
  display:inline-block;
  vertical-align:middle;
  margin-right:8px;
  border-radius:9999px; /* por si usas fondo */
}
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.modal-box {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px 28px;
  max-width: 400px;
  width: 90%;
  font-family: 'Onest', system-ui, sans-serif;
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.modal-box h3 {
  margin-top: 0;
  margin-bottom: 8px;
}

.modal-box p {
  margin: 4px 0 12px;
  font-size: 14px;
}

.modal-box input[type="email"] {
  width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 14px;
  margin-bottom: 12px;
}

.modal-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  align-items: center;
}

.modal-actions button {
  border-radius: 999px;
  padding: 6px 14px;
  border: none;
  cursor: pointer;
  font-size: 14px;
}

.modal-actions button[type="submit"] {
  background: #0B3D91;
  color: #fff;
}

.modal-actions .secondary-btn {
  background: #f2f2f2;
  color: #333;
}

.link-button {
  border: none;
  background: none;
  padding: 0;
  margin-top: 8px;
  margin-bottom: 8px;
  color: #0B3D91;
  text-decoration: underline;
  cursor: pointer;
  font-size: 13px;
  align-self: flex-start;
}

.reset-feedback {
  margin-top: 8px;
  font-size: 13px;
}

.reset-feedback.ok {
  color: #1a9c3e;
}

.reset-feedback.error {
  color: #d72d2d;
}
.holiday-mini-message {
  text-align: left;
  margin: -5px 0 25px 8px;
  font-size: 1rem;
  font-weight: 500;
  color: #2e2e2e; /* rosadito Vintti */
  opacity: 0.9;
  display: block;
}