* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

body {
  background: #f8fafc;
  color: #1e293b;
}

.container {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.form {
  background: #ffffff;
  padding: 40px 30px;
  border-radius: 12px;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.form h1 {
  text-align: center;
  margin-bottom: 30px;
  font-weight: 500;
}

.field {
  margin-bottom: 25px;
  display: flex;
  flex-direction: column;
}

.field label {
  font-size: 14px;
  margin-bottom: 8px;
  color: #64748b;
}

.field input {
  padding: 8px 2px;
  border: none;
  border-bottom: 1px solid #cbd5f5;
  outline: none;
  background: transparent;
  font-size: 15px;
  transition: border-color 0.2s;
}

.field input:focus {
  border-bottom: 1px solid #3b82f6;
}

.password-wrapper {
  display: flex;
  align-items: center;
}

.password-wrapper input {
  flex: 1;
}

.password-wrapper button {
  margin-left: 8px;
  padding: 4px 6px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 16px;
  opacity: 0.6;
}

.password-wrapper button:hover {
  opacity: 1;
}

button[type="submit"] {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 8px;
  background: #3b82f6;
  color: white;
  font-size: 14px;
  cursor: pointer;
  margin-top: 10px;
  transition: background 0.2s;
}

button[type="submit"]:hover {
  background: #2563eb;
}

#message {
  margin-top: 15px;
  text-align: center;
  font-size: 14px;
  color: #475569;
}