@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  color: white;
  min-height: 100vh;
}

.register-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 13vh;
  padding-bottom: 15vh;
  min-height: 100vh;
}

.register-container {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  padding: 40px;
  border-radius: 12px;
  width: 90%;
  max-width: 420px;
  text-align: center;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
}

.register-container h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.register-container p {
  color: #ccc;
  margin-bottom: 30px;
}

.input-group {
  text-align: left;
  margin-bottom: 20px;
}

.input-group label {
  font-weight: 600;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 5px;
}

.input-group input {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.15);
  color: white;
  font-size: 1rem;
}

.input-group input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.input-group input:focus {
  outline: none;
  box-shadow: 0 0 6px #2c5364;
}

.btn-principal {
  width: 100%;
  background: #2c5364;
  color: white;
  border: none;
  padding: 12px;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-principal:hover {
  background: #203a43;
}

.register-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.register-links a {
  color: #00bcd4;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.register-links a:hover {
  color: #80deea;
}



.yaregistrado{
  padding-top: 10px;
  color: #ff7060 !important;
  font-weight: bold;
  animation: vertical-shaking 0.4s;
}



.disabled{
  display: none !important;
}


.loader{
  font-size: 30px;
}


.contenedor-texto{
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 20px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  padding: 40px;
  border-radius: 12px;
  width: 90%;
  max-width: 420px;
  text-align: center;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
}


#mensaje {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-direction: column;
}

#mensaje .exito {
  color: #2ecc71 !important;
}

#mensaje .error {
  color: #e74c3c !important;
  font-weight: bold;
  animation: vertical-shaking 0.4s;
}


@keyframes vertical-shaking {
 0% { transform: translateY(0) }
 25% { transform: translateY(5px) }
 50% { transform: translateY(-5px) }
 75% { transform: translateY(5px) }
 100% { transform: translateY(0) }
}