/* Fondo */
body {
  margin: 0;
  padding: 0;
  height: 100vh;
  background: url('../img/portada/fondo3.png') center center no-repeat;
  background-size: cover;
  font-family: 'Poppins', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Contenedor del formulario */
.container-register {
  background-color: rgba(255, 255, 255, 0.95);
  padding: 2rem 2rem 2.5rem;
  border-radius: 25px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);
  width: 90%;
  max-width: 400px;
  text-align: center;
}

/* Título */
.container-register h2 {
  font-size: 1.5rem;
  margin-bottom: 1.8rem;
  color: #6a1b9a;
  font-weight: 700;
}

/* Input de texto */
.container-register input[type="text"] {
  box-sizing: border-box;    
  width: 100%;
  padding: 10px;
  margin-bottom: 1rem;
  border: none;
  border-bottom: 2px solid #ccc;
  background: transparent;
  font-size: 1rem;
  color: #333;
  transition: border-color 0.3s ease;
  text-align: center;
}

.container-register input[type="text"]:focus {
  outline: none;
  border-color: #6a1b9a;
}

.container-register input[type="text"]::placeholder {
  color: #aaa;
}

/* Botón Registrarse */
.container-register input[type="submit"] {
  background: linear-gradient(145deg, #00c6ff, #0072ff);
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 12px;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 6px #005bb5;
  transition: all 0.2s ease-in-out;
}

.container-register input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px #005bb5;
}

.container-register input[type="submit"]:active {
  transform: translateY(1px);
  box-shadow: 0 4px #005bb5;
}
