* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  overflow: hidden;
}

body {
  background-color: #0f0f0f;
  color: white;
  font-family: 'Helvetica Neue', sans-serif;
  display: flex;
  justify-content: center;
  align-items: stretch;
}

.container {
  width: 100%;
  max-width: 400px;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 0 16px;
}

header {
  display: flex;
  justify-content: space-between;
  padding-top: 24px; /* <- lo bajamos aquí */
  margin-bottom: 40px;
  position: relative;
  height: 48px;
}
a {
  color: inherit;
  text-decoration: none;
}



header h1 {
  font-size: 32px;
  position: absolute;
  left: 50%;
  top: 280%; /* lo empuja debajo del header */
  transform: translate(-50%, -50%);
}


.spacer {
  flex-grow: 1; /* esto crea espacio flexible entre header y main */
}

main {
  padding-bottom: 20px;
}

main h2 {
  font-size: 18px;
  margin-bottom: 20px;
}

.form-group {
  position: relative;
  margin-bottom: 20px;
}

input[type="email"],
input[type="password"],
input[type="text"] {
  width: 100%;
  padding: 14px 40px 14px 14px;
  border: 1px solid #444;
  border-radius: 8px;
  background-color: #1a1a1a;
  color: white;
  font-size: 16px;
}

.eye-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: #888;
  cursor: pointer;
}

.forgot-password {
  display: block;
  text-align: right;
  font-size: 14px;
  color: #ccc;
  margin-bottom: 40px;
  text-decoration: none;
}

.login-btn {
  width: 100%;
  padding: 14px;
  background-color: #2e2f2f;
  color: #666;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  cursor: not-allowed;
}
.code-input {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 30px 0;
}

.code-input input {
  width: 40px;
  height: 50px;
  text-align: center;
  font-size: 24px;
  border-radius: 8px;
  border: 1px solid #444;
  background-color: #1a1a1a;
  color: white;
}

