:root {
  --silver-light: #f5f5f5;
  --silver: #c0c0c0;
  --silver-mid: #a9a9a9;
  --silver-dark: #808080;
  --silver-accent: #8fd3f4;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  background: #fff;
}

.wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 16px;
  background: linear-gradient(180deg, #fff 0%, var(--silver-light) 100%);
}

.card {
  width: 100%;
  max-width: 560px;
  background: #fff;
  border: 1px solid rgba(169, 169, 169, 0.45);
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(128, 128, 128, 0.12);
  padding: 24px;
}

h2 {
  margin: 0 0 0.5rem;
  text-align: center;
  font-size: 1.8rem;
  font-weight: 600;
  color: #333;
}

.subtitle {
  margin: 0 0 2rem;
  text-align: center;
  color: #666;
  font-size: 0.98rem;
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9rem;
  color: #555;
}

input {
  width: 100%;
  border: 1px solid var(--silver-mid);
  border-radius: 8px;
  padding: 0.75rem;
  font-size: 1rem;
  color: #333;
  background: #fff;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input::placeholder {
  color: #8a8a8a;
}

input:focus {
  border-color: var(--silver-accent);
  box-shadow: 0 0 0 3px rgba(143, 211, 244, 0.25);
}

input.is-invalid {
  border-color: #e53935;
  box-shadow: 0 0 0 4px rgba(229, 57, 53, 0.12);
}

.btn-outline {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: auto;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  border: 2px solid var(--silver-mid);
  background: #fff;
  color: var(--silver-dark);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-outline:hover:not(:disabled) {
  background: var(--silver-mid);
  color: #fff;
}

.btn-outline:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.status {
  margin-top: 12px;
  min-height: 20px;
  font-size: 0.93rem;
  color: #666;
}

.status.ok {
  color: #2d8a56;
}

.status.error {
  color: #b75050;
}

.consent-note {
  margin-top: 14px;
  font-size: 0.8rem;
  color: #7a7a7a;
  line-height: 1.4;
}

.hp {
  display: none;
}

@media (max-width: 768px) {
  .wrap {
    padding: 20px 12px;
  }

  .card {
    padding: 18px;
  }

  h2 {
    font-size: 1.5rem;
  }

  .btn-block {
    width: 100%;
  }
}
