@import url("./navbar.css");
body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: url("../assets/backgrounds/aura2.jpg") no-repeat center center
    fixed;
  background-size: cover;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Josefin Sans", "Montserrat", sans-serif;
}
.register-container {
  background: rgba(34, 34, 68, 0.74);
  border-radius: 16px;
  box-shadow: 0 0 32px rgba(90, 89, 222, 0.25);
  padding: 40px 30px;
  text-align: center;
  min-width: 350px;
}
h2 {
  color: #eef6ff;
  font-family: "Josefin Sans", cursive;
  font-size: 2.3em;
  text-shadow: 0 0 12px #4e62e0;
  margin-bottom: 16px;
  letter-spacing: 2px;
}
label {
  color: #eff3ff;
  font-family: "Montserrat", sans-serif;
  font-size: 1.1em;
  margin-top: 14px;
  display: block;
  margin-bottom: 6px;
}
input[type="text"],
input[type="password"] {
  width: 62%;
  padding: 8px;
  border: 1px solid #aac2ee;
  border-radius: 10px;
  font-size: 1em;
  background: #f6f7fb;
  margin-bottom: 18px;
}
button {
  background: linear-gradient(90deg, #649cff 0%, #a786ff 100%);
  color: white;
  font-size: 1em;
  padding: 10px 28px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-weight: bold;
  letter-spacing: 1px;
  box-shadow: 0 2px 16px rgba(90, 110, 190, 0.15);
  transition: background 0.2s;
}
button:hover {
  background: linear-gradient(90deg, #a786ff 0%, #649cff 100%);
}
.message {
  margin-bottom: 18px;
  padding: 10px;
  background: #ffecec;
  color: #4827e6;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.1em;
  border: 1px solid #b6b0ff;
  box-shadow: 0 1px 8px rgba(44, 34, 122, 0.08);
}

.register-disclaimer {
  margin-top: 22px;
  background: rgba(255, 255, 255, 0.13);
  border-radius: 10px;
  padding: 16px 18px;
  color: #ffd700;
  font-size: 1.18em;
  font-family: "Montserrat", sans-serif;
  box-shadow: 0 2px 12px rgba(90, 89, 222, 0.13);
  letter-spacing: 0.5px;
  display: block;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.register-disclaimer a {
  color: #4e62e0;
  font-weight: bold;
  text-decoration: underline;
  transition: color 0.2s;
}
.register-disclaimer a:hover {
  color: #ffd700;
}
.password-wrapper {
  position: relative;
  width: 80%;
  margin: 0 auto 18px auto;
}

.password-wrapper input {
  width: 70%;
  padding-right: 40px; /* espacio para el icono */
}

.toggle-password {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 18px;
  opacity: 0.7;
  transition: 0.2s;
}

.toggle-password:hover {
  opacity: 1;
}