* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  background: #f4f5f7;
  color: #1a1a1a;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.card {
  width: 100%;
  max-width: 520px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  padding: 32px 28px;
}

h1 {
  font-size: 24px;
  text-align: center;
  margin-bottom: 8px;
}

.subtitle {
  font-size: 14px;
  color: #666;
  text-align: center;
  margin-bottom: 24px;
  line-height: 1.5;
}

form {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

label {
  font-size: 13px;
  font-weight: 600;
  margin-top: 12px;
}

input {
  height: 48px;
  padding: 0 14px;
  font-size: 15px;
  border: 1px solid #d5d7dd;
  border-radius: 10px;
  outline: none;
  transition: border-color 0.15s ease;
}

input:focus {
  border-color: #ff0000;
}

input.invalid {
  border-color: #e02424;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
}

.privacy-note {
  margin-top: 16px;
  font-size: 11px;
  line-height: 1.5;
  color: #9aa0a6;
  text-align: center;
}

.btn-submit {
  margin-top: 10px;
  background: #ff0000;
  color: #ffffff;
}

.btn-submit:hover {
  background: #d90000;
}

.divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 28px 0 18px;
  color: #b0b4ba;
  font-size: 12px;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e4e6ea;
}

.divider span {
  padding: 0 12px;
}

.telegram-note {
  font-size: 13px;
  line-height: 1.6;
  color: #555;
  text-align: center;
  margin-bottom: 12px;
}

.btn-telegram {
  margin-top: 0;
  gap: 8px;
  background: #229ed9;
  color: #ffffff;
}

.btn-telegram:hover {
  background: #1c8dc2;
}

.tg-icon {
  width: 22px;
  height: 22px;
}

.message {
  margin-top: 14px;
  font-size: 14px;
  text-align: center;
  min-height: 18px;
}

.message.success {
  color: #1f9d55;
}

.message.error {
  color: #e02424;
}
