* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: #f3f5f7;
  color: #17212b;
}

.container {
  max-width: 840px;
  margin: 32px auto;
  padding: 24px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

h1 {
  margin: 0 0 8px;
}

.hint {
  margin: 0 0 20px;
  color: #5e6c7a;
}

.form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
}

input,
select,
textarea,
button {
  font: inherit;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #ced7e0;
  border-radius: 8px;
  padding: 10px 12px;
  background: #ffffff;
}

textarea {
  resize: vertical;
}

button {
  width: fit-content;
  border: 0;
  border-radius: 8px;
  padding: 10px 16px;
  background: #0c66e4;
  color: #ffffff;
  cursor: pointer;
  font-weight: 600;
}

button:hover {
  background: #0958c7;
}

.status {
  min-height: 22px;
  margin-top: 14px;
  color: #1d7a1d;
}

.help {
  margin: 0;
  font-size: 13px;
  color: #5e6c7a;
}

.status.error {
  color: #a82020;
}

.result {
  margin-top: 20px;
  display: grid;
  gap: 10px;
}

.result img {
  max-width: 320px;
  width: 100%;
  border: 1px solid #ced7e0;
  border-radius: 8px;
  background: #fff;
}

.result a {
  width: fit-content;
  color: #0c66e4;
  text-decoration: none;
}

.result a:hover {
  text-decoration: underline;
}

.hidden {
  display: none;
}
