* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  background: linear-gradient(135deg, #e8f5e9 0%, #e3f2fd 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
  padding: 28px;
  max-width: 440px;
  width: 100%;
}

h1 {
  font-size: 1.4em;
  color: #333;
  margin-bottom: 8px;
}

.subtitle {
  color: #888;
  font-size: 14px;
  margin-bottom: 24px;
  line-height: 1.5;
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #555;
  margin-bottom: 6px;
}

.field input {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
}

.field input:focus {
  border-color: #4CAF50;
}

button {
  width: 100%;
  padding: 14px;
  background: #4CAF50;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 8px;
  transition: background 0.2s;
}

button:hover {
  background: #43A047;
}

button:disabled {
  background: #ccc;
}

.error {
  color: #e74c3c;
  font-size: 13px;
  margin-top: 10px;
}

.info {
  background: #e3f2fd;
  padding: 12px;
  border-radius: 8px;
  font-size: 13px;
  color: #1565c0;
  margin-top: 20px;
  line-height: 1.5;
}

.divider {
  display: flex;
  align-items: center;
  margin: 24px 0 20px;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e0e0e0;
}

.divider span {
  padding: 0 14px;
  font-size: 13px;
  color: #aaa;
  font-weight: 500;
}

.recover-section {
  margin-top: 0;
}

.recover-title {
  font-size: 14px;
  font-weight: 600;
  color: #555;
  margin-bottom: 14px;
}

.btn-recover {
  background: #42A5F5;
  margin-top: 4px;
}

.btn-recover:hover {
  background: #1E88E5;
}

.recover-result {
  margin-top: 12px;
}

.recover-link {
  display: block;
  padding: 10px 14px;
  background: #f5f5f5;
  border-radius: 8px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 6px;
  transition: background 0.2s;
}

.recover-link:hover {
  background: #e8f5e9;
}

@media (min-width: 481px) {
  body {
    padding: 20px;
  }

  .card {
    padding: 40px;
  }

  h1 {
    font-size: 1.6em;
  }
}
