/* ----- crear-usuario.css (adaptado a login.css) ----- */
:root {
  --bg: #0e0f13;
  --bg-card: #1a1c22;
  --text: #e4e6eb;
  --muted: #9b9ca1;
  --accent: #ff4655;
  --accent-hover: #ff6a75;
  --border: #2a2b31;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
}

body {
  background: var(--bg);
  color: var(--text);
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 1.5rem;
}

.logo {
  width: 110px;
  margin-bottom: 1rem;
  display: block;
}

.crear-cuenta-container,
.cambiar-password {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  text-align: center;
}

h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--accent);
}

.form-group {
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  position: relative;
}

label {
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  text-align: left;
}

input {
  background: #23252b;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  padding: 0.6rem;
  padding-right: 2.5rem;
}

input:focus {
  outline: 1px solid var(--accent);
}

.login-btn {
  background: var(--accent);
  border: none;
  border-radius: 8px;
  color: white;
  font-weight: 600;
  padding: 0.7rem;
  width: 100%;
  cursor: pointer;
  margin-top: 0.6rem;
  transition: background 0.2s;
}
.login-btn:hover {
  background: var(--accent-hover);
}

.crear-cuenta,
.form-btn {
  display: block;
  text-align: center;
  color: var(--muted);
  margin-top: 0.7rem;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}
.crear-cuenta:hover,
.form-btn:hover {
  color: var(--accent);
}

.toggle-password {
  position: absolute;
  right: 0.8rem;
  top: 2.2rem;
  cursor: pointer;
  font-size: 1.1rem;
  user-select: none;
}

.mensaje-pass {
  color: var(--accent);
  font-size: 0.85rem;
  margin-top: 0.4rem;
}

/* Móvil */
@media (max-width: 480px) {
  .crear-cuenta-container {
    padding: 1.3rem;
  }
  .toggle-password {
    right: 0.6rem;
    top: 2rem;
  }
}
