/* =================== RESET =================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: "Orbitron", sans-serif; /* fuente gamer */
  background: #0d0d0d;
  color: #f5f5f5;
  min-height: 100vh;
}

/* =================== CONTENEDOR PRINCIPAL =================== */
.form-register {
  width: 95%;
  max-width: 600px;
  margin: 50px auto;
  background: linear-gradient(145deg, #1b1e28, #11131a);
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(255, 0, 64, 0.5), 0 0 25px rgba(160, 0, 255, 0.4);
  overflow: hidden;
}

/* =================== TÍTULO =================== */
.form__titulo {
  background: #1b1e28;
  color: #fff;
  padding: 20px;
  text-align: center;
  font-size: 28px;
  font-weight: bold;
  border-bottom: 4px solid #ff0040;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* =================== INPUTS =================== */
.contenedor-inputs {
  padding: 20px 30px;
  display: grid;
  grid-template-columns: 1fr; /* una columna en móvil */
  gap: 15px;
}

/* en pantallas grandes, dos columnas */
@media screen and (min-width: 768px) {
  .contenedor-inputs {
    grid-template-columns: 1fr 1fr;
  }
}

input {
  width: 100%;
  padding: 14px;
  font-size: 16px;
  border-radius: 6px;
  border: 1px solid #444;
  background: #0f0f0f;
  color: #fff;
  outline: none;
  transition: all 0.3s ease;
}

input:focus {
  border-color: #ff0040;
  box-shadow: 0 0 10px #ff0040, 0 0 20px #a000ff;
}

/* =================== IMÁGENES =================== */
.contenedor-inputs img {
  width: 80px;
  border-radius: 50%;
  margin: 10px auto;
  display: block;
  border: 2px solid #ff0040;
  box-shadow: 0 0 10px #ff0040;
}

.form-control-file {
    display: none;
}

.contenedor_cambiarfoto {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.contenedor_cambiarfoto .label_foto {
  color: #fff;
  cursor: pointer;
  background-color: #222;
  padding: 8px 15px;
  border-radius: 6px;
  transition: background 0.3s, transform 0.2s;
}

.contenedor_cambiarfoto .label_foto:hover {
  background: #ff0040;
  transform: scale(1.05);
}

/* =================== BOTONES =================== */
.btn-enviar {
  background: #ff0040;
  color: #fff;
  margin: 20px auto;
  padding: 12px 40px;
  cursor: pointer;
  font-size: 18px;
  border-radius: 6px;
  border: none;
  display: block;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.btn-enviar:hover {
  background: #a000ff;
  box-shadow: 0 0 12px #ff0040, 0 0 20px #a000ff;
  transform: scale(1.05);
}

/* =================== LINKS =================== */
.form__link {
  width: 100%;
  margin: 10px 0;
  text-align: center;
  font-size: 14px;
}

.form__link a {
  color: #ff0040;
  margin-left: 5px;
  text-decoration: none;
  transition: color 0.3s;
}

.form__link a:hover {
  color: #a000ff;
}
