:root {
  --bg: #f7f2ea;
  --card: #fff7ee;
  --ink: #1d1a16;
  --accent: #d9533f;
  --accent-dark: #b24332;
  --muted: #6f6457;
  --ring: rgba(217, 83, 63, 0.35);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "IBM Plex Sans", sans-serif;
  background: radial-gradient(circle at top, #fdf7ef 0%, #f4e7d7 45%, #efe2d3 100%);
  color: var(--ink);
}

.page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 20px;
}

.hero {
  max-width: 1040px;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.7rem;
  color: var(--muted);
  margin: 0 0 12px;
}

h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.1rem, 3vw, 3.2rem);
  margin: 0 0 16px;
}

.subtitle {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 420px;
}

.panel {
  background: var(--card);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 30px 60px rgba(29, 26, 22, 0.18);
  animation: float-in 0.6s ease-out;
}

@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

label {
  font-weight: 600;
  font-size: 0.9rem;
}

input[type="text"],
input[type="file"] {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #dfd4c7;
  background: #fffdfb;
  font-size: 0.95rem;
}

.select2-container--default .select2-selection--single {
  height: 44px;
  border-radius: 12px;
  border: 1px solid #dfd4c7;
  background: #fffdfb;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 42px;
  padding-left: 12px;
  color: var(--ink);
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 42px;
  right: 10px;
}

input[type="text"]:focus,
input[type="file"]:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--ring);
}

button,
.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 18px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.primary {
  background: var(--accent);
  color: #fff7ee;
  box-shadow: 0 16px 30px rgba(217, 83, 63, 0.32);
}

.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 32px rgba(217, 83, 63, 0.4);
}

.ghost {
  background: transparent;
  color: var(--accent);
  border: 1px solid rgba(217, 83, 63, 0.4);
}

.hint {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0;
}

.status {
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--muted);
  min-height: 24px;
}

.actions {
  margin-top: 12px;
  display: none;
}

.actions.visible {
  display: block;
}

@media (max-width: 720px) {
  .panel {
    padding: 22px;
  }

  h1 {
    font-size: 2rem;
  }
}
