/* Feltöltő oldal */
.up-head {
  position: relative;
  overflow: hidden;
  min-height: min(78svh, 40rem);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 5rem var(--gutter) 4.5rem;
  color: var(--ink);
  background:
    radial-gradient(60% 60% at 50% 45%, #f9f6f1, transparent 70%),
    var(--ivory);
}
.up-head > :not(.flowers) { position: relative; z-index: 3; }
.up-head .monogram { color: var(--wine); font-size: 2.4rem; margin-bottom: 1.5rem; }
.up-head h1 {
  font-weight: 500;
  font-size: clamp(2.1rem, 5.5vw, 3.6rem);
  line-height: 1.05;
  color: var(--wine);
  max-width: 14ch;
  margin: 0 0 1rem;
  text-wrap: balance;
}
.up-head p { max-width: 38ch; font-style: italic; color: var(--olive); margin: 0; }

.up-main {
  max-width: 46rem;
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 3.5rem) var(--gutter) 5rem;
}

.notice {
  background: var(--paper);
  border-left: 3px solid var(--wine);
  padding: .9rem 1.1rem;
  margin: 0 0 1.75rem;
  color: var(--ink);
}

.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.25rem; margin-bottom: 1.5rem; }
.fields label { display: grid; gap: .35rem; }
.fields span { font-weight: 600; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--wine); }
.fields small { color: var(--olive); font-size: 1rem; font-style: italic; }
.fields input {
  font: inherit;
  min-height: 48px;
  padding: .7rem .9rem;
  border: 1px solid var(--olive-line);
  border-radius: 1px;
  background: var(--paper);
  color: var(--ink);
}
.fields input:focus { border-color: var(--olive); outline: none; box-shadow: 0 0 0 3px rgb(94 101 72 / .2); }

.drop {
  position: relative;
  display: grid;
  justify-items: center;
  gap: .4rem;
  padding: clamp(2.5rem, 8vw, 4rem) 1.5rem;
  border: 1px dashed var(--olive);
  outline: 1px solid var(--olive-line);
  outline-offset: -8px;
  border-radius: 1px;
  background: var(--paper);
  color: var(--wine);
  text-align: center;
  cursor: pointer;
  transition: background-color .2s, border-color .2s;
}
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop svg { width: 3.2rem; height: 3.2rem; margin-bottom: .4rem; }
.drop__title { font-weight: 500; font-size: clamp(1.4rem, 3.5vw, 1.8rem); color: var(--burgundy); }
.drop__sub { color: var(--olive); }
.drop.is-over { background: #ede3e6; border-color: var(--wine); border-style: solid; }
.drop:focus-within { outline: 2px solid var(--blush); outline-offset: 3px; }

.queue { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: .5rem; }
.queue li {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr) auto;
  gap: .9rem;
  align-items: center;
  padding: .55rem;
  border-radius: 1px;
  background: var(--paper);
  border: 1px solid #e0d2c9;
}
.thumb {
  width: 3.25rem; height: 3.25rem;
  border-radius: 1px;
  object-fit: cover;
  background: #e2ddd0;
}
.q-name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .95rem; }
.q-meta { font-size: .95rem; font-style: italic; color: var(--olive); }
.bar { height: 4px; background: #e6dde0; border-radius: 4px; overflow: hidden; margin-top: .35rem; }
.bar i { display: block; height: 100%; width: 0; background: var(--olive); transition: width .2s; }
li.done .bar i { background: var(--wine); }
li.error .bar i { background: #a33; }
li.error .q-meta { color: #a33; }
.q-remove {
  width: 40px; height: 40px;
  border: 0; background: none; border-radius: 50%;
  color: var(--olive); cursor: pointer; font-size: 1.3rem; line-height: 1;
}
.q-remove:hover { background: #e9e0e3; }

.up-actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }
.up-actions .btn:disabled { opacity: .5; cursor: default; }
#summary { color: var(--olive); }

@media (max-width: 640px) {
  .fields { grid-template-columns: 1fr; }
  .up-actions .btn { width: 100%; justify-content: center; }
}
