* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
  font-family: "Segoe UI", Arial, sans-serif;
  background: #ffffff;
}

.card {
  width: 100%;
  max-width: 560px;
  background: #ffffff;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.logo {
  display: block;
  max-width: 220px;
  height: auto;
  margin: 0 auto 24px;
}

h1 {
  margin: 0 0 8px;
  font-size: 28px;
  color: #1f2937;
  text-align: center;
}

.subtitle {
  margin: 0 0 28px;
  color: #6b7280;
  text-align: center;
  font-size: 14px;
}

.field {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.row {
  display: flex;
  gap: 16px;
}

.row .field {
  margin-bottom: 18px;
}

label {
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 6px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="file"],
textarea {
  padding: 12px 14px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  color: #111827;
  background: #f9fafb;
  transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #4f46e5;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
  background: #fff;
}

textarea {
  resize: vertical;
}

.hint {
  margin-top: 6px;
  font-size: 12px;
  color: #9ca3af;
}

button {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 10px;
  background: #4f46e5;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

button:hover {
  background: #4338ca;
}

button:active {
  transform: scale(0.98);
}

button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.button-link {
  display: inline-block;
  margin-top: 12px;
  padding: 14px 24px;
  border-radius: 10px;
  background: #4f46e5;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
}

.button-link:hover {
  background: #4338ca;
}

.button-link:active {
  transform: scale(0.98);
}

.status {
  margin: 0 0 18px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
}

.status-error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.status-success {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

@media (max-width: 480px) {
  .row {
    flex-direction: column;
    gap: 0;
  }
}
