/* CONTENEDOR GENERAL */


.auth-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
  overflow: hidden;
}

/* LOGO CENTRADO */
.logo {
  text-align: center;
  margin-bottom: 20px;
}
.logo img {
  max-width: 180px;
  height: auto;
}

/* BOTONES DE NAVEGACIÓN */
.auth-toggle {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  gap: 10px;
}
.toggle-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  background-color: #eee;
  transition: background 0.3s ease, color 0.3s ease;
}
.toggle-btn.active {
  background-color: #4ba3a6;
  color: white;
}

/* BLOQUES DE LOGIN Y REGISTRO */


/* Panel base */
.auth-block {
  position: absolute;
  width: 100%;
  max-width: 500px;
  padding: 2rem;
  box-sizing: border-box;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  top: 0;
  left: 100%;
  opacity: 0;
  transition: all 0.5s ease;
}

/* Panel activo */
.auth-block.active {
  left: 0;
  opacity: 1;
  position: relative;
}

/* Panel oculto */
.hidden {
  display: none;
}


/* LOGIN: lavanda suave */
.auth-block.sign-in {
  background: linear-gradient(135deg, #e1bee7, #d1c4e9);
  color: #333;
}

/* REGISTRO: menta-celeste */
.auth-block.sign-up {
  background: linear-gradient(135deg, #a8e6cf, #dcedf2);
  color: #333;
}

/* TÍTULOS */
.auth-block h1 {
  font-size: 24px;
  margin-bottom: 1rem;
  text-align: center;
}

/* INPUTS */
.form-control {
  width: 100%;
  max-width: 100%;
  margin-bottom: 1rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  padding: 0.75rem;
  font-size: 15px;
  box-sizing: border-box;
}

/* BOTONES */
.btn-primary {
  width: 100%;
  border: none;
  border-radius: 6px;
  padding: 0.75rem;
  font-size: 16px;
  font-weight: bold;
  transition: background 0.3s ease, color 0.3s ease;
  color: white;
}
.auth-block.sign-in .btn-primary {
  background-color: #9575cd;
}
.auth-block.sign-in .btn-primary:hover {
  background-color: #7e57c2;
}
.auth-block.sign-up .btn-primary {
  background-color: #6ec6ca;
  color: #333;
}
.auth-block.sign-up .btn-primary:hover {
  background-color: #4ba3a6;
}

/* ENLACE DE RESET */
.reset-link {
  font-size: 13px;
  margin-top: 10px;
  text-align: center;
}

/* MENSAJE DE INVITACIÓN */
.welcome-invite {
  background: linear-gradient(90deg, #ffecd2 0%, #fcb69f 100%);
  border-left: 5px solid #ff6f61;
  padding: 12px 15px;
  margin-bottom: 15px;
  border-radius: 6px;
  font-size: 14px;
  color: #333;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  animation: fadeIn 0.8s ease-in-out;
}
.goosfe-brand {
  font-weight: bold;
  color: #4CAF50;
}

/* ANIMACIONES AUXILIARES */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* RESPONSIVO */
@media (max-width: 600px) {
  .auth-wrapper {
    padding: 0 10px;
  }

  .auth-block {
    padding: 1.5rem;
    margin-bottom: 20px;
  }

  .toggle-btn {
    padding: 9px 16px;
    font-size: 14px;
  }

  .btn-primary {
    font-size: 14px;
    padding: 10px;
  }

  .welcome-invite {
    font-size: 13px;
    padding: 8px 10px;
    margin-bottom: 10px;
  }
}
