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

body {
  font-family: 'Segoe UI', sans-serif;
  background: #f5f6fa;
  color: #333;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
}

.container {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 48px 40px;
  width: 100%;
  max-width: 520px;
}

h1 {
  font-size: 1.8rem;
  margin-bottom: 8px;
  color: #1a1a2e;
}

.desc {
  color: #666;
  margin-bottom: 32px;
  font-size: 0.95rem;
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: #444;
}

.required {
  color: #e74c3c;
}

input,
textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 0.95rem;
  transition: border-color 0.2s;
  outline: none;
  font-family: inherit;
}

input:focus,
textarea:focus {
  border-color: #4f46e5;
}

textarea {
  resize: vertical;
}

button[type="submit"] {
  width: 100%;
  padding: 12px;
  background: #4f46e5;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 8px;
  transition: background 0.2s;
}

button[type="submit"]:hover {
  background: #3730a3;
}

button[type="submit"]:disabled {
  background: #a5b4fc;
  cursor: not-allowed;
}

#success-msg {
  text-align: center;
  color: #16a34a;
  font-size: 1rem;
  font-weight: 600;
  margin-top: 24px;
  padding: 16px;
  background: #f0fdf4;
  border-radius: 8px;
}

.hidden {
  display: none;
}
