/* LUUPIGO submit-premium-o5d-20260722-01 */
:root {
  --purple: #6f35dc;
  --green: #16b85f;
  --red: #f04455;
  --blue: #1769e8;
  --ink: #06152f;
  --muted: #60708a;
  --line: #dbe6f5;
  --soft: #f8fbff;
  --shadow: 0 22px 70px rgba(17, 24, 39, .16);
}

* { box-sizing: border-box; }

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% 0%, rgba(111,53,220,.08), transparent 38%),
    linear-gradient(135deg, #f2efff, #ffffff 54%, #eefafa);
}

a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

.o5d-app {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  justify-items: center;
  padding: 20px 18px 112px;
}

.o5d-top {
  width: min(520px, 100%);
  height: 56px;
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
}

.o5d-top button {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--blue);
  background: white;
  font-size: 24px;
  line-height: 1;
}

.o5d-top a {
  color: var(--blue);
  font-weight: 900;
}

.o5d-card {
  width: min(520px, 100%);
  align-self: start;
  overflow: hidden;
  border: 1px solid #e5ddff;
  border-radius: 28px;
  background: rgba(255,255,255,.97);
  box-shadow: var(--shadow);
}

.o5d-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px;
  border-bottom: 1px solid #edf0f6;
}

.o5d-brand span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: white;
  background: var(--purple);
}

.o5d-form {
  display: grid;
  gap: 18px;
  padding: 18px;
}

.o5d-step {
  display: grid;
  gap: 12px;
}

.o5d-step small {
  color: var(--purple);
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 950;
}

.o5d-step h1,
.o5d-step h2 {
  margin: 0;
  line-height: 1.08;
}

.o5d-step h1 {
  font-size: 32px;
}

.o5d-step h2 {
  font-size: 20px;
}

.o5d-type-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.o5d-type {
  min-height: 56px;
  border: 0;
  border-radius: 17px;
  color: white;
  font-weight: 950;
  opacity: .62;
}

.o5d-type.active {
  opacity: 1;
  box-shadow: 0 14px 32px rgba(15,23,42,.14);
}

.o5d-type.lost {
  background: var(--red);
}

.o5d-type.found {
  background: var(--green);
}

.o5d-categories {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.o5d-categories button {
  min-height: 70px;
  display: grid;
  place-items: center;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--soft);
  font-weight: 900;
}

.o5d-categories button.active {
  border-color: #c7b4ff;
  color: var(--purple);
  background: #f4efff;
}

.o5d-categories button span {
  font-size: 12px;
}

.o5d-photo {
  min-height: 154px;
  display: grid;
  place-items: center;
  gap: 6px;
  padding: 18px;
  border: 2px dashed #d6c5ff;
  border-radius: 22px;
  color: var(--purple);
  background: #fbf8ff;
  text-align: center;
  cursor: pointer;
}

.o5d-photo.has-image {
  border-style: solid;
  background-size: cover;
  background-position: center;
  color: white;
  text-shadow: 0 2px 12px rgba(0,0,0,.45);
}

.o5d-photo-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: #eee5ff;
  font-size: 26px;
  font-weight: 950;
}

.o5d-photo em {
  color: var(--muted);
  font-style: normal;
  font-size: 12px;
  font-weight: 750;
}

.o5d-field {
  display: grid;
  gap: 7px;
}

.o5d-field span {
  color: #53647f;
  font-size: 12px;
  font-weight: 900;
}

.o5d-field input,
.o5d-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 13px 14px;
  outline: none;
  background: #fff;
  color: var(--ink);
  font-weight: 750;
}

.o5d-field textarea {
  resize: vertical;
}

.o5d-location {
  min-height: 52px;
  border: 1px solid #bbf7d0;
  border-radius: 16px;
  color: #08723f;
  background: #ecfdf3;
  font-weight: 950;
}

.o5d-share-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.o5d-share-row span {
  min-height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #f4efff;
  color: var(--purple);
  font-size: 11px;
  font-weight: 900;
}

.o5d-submit {
  min-height: 56px;
  border: 0;
  border-radius: 18px;
  color: white;
  background: linear-gradient(135deg, #7c3aed, #5b21b6);
  font-weight: 950;
  box-shadow: 0 16px 36px rgba(111,53,220,.24);
}

.o5d-status {
  min-height: 20px;
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.o5d-success {
  margin: 18px;
  padding: 20px;
  border: 1px solid #bbf7d0;
  border-radius: 22px;
  background: #ecfdf3;
}

.o5d-success h2 {
  margin: 0 0 8px;
}

.o5d-success button,
.o5d-success a {
  min-height: 50px;
  display: grid;
  place-items: center;
  width: 100%;
  margin-top: 10px;
  border: 0;
  border-radius: 16px;
  font-weight: 950;
}

.o5d-success button {
  color: var(--purple);
  background: white;
}

.o5d-success a {
  color: white;
  background: var(--purple);
}

.o5d-bottom {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 20;
  width: min(430px, 100%);
  min-height: 70px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  transform: translateX(-50%);
  padding: 8px 14px max(8px, env(safe-area-inset-bottom));
  background: rgba(255,255,255,.97);
  border-top: 1px solid #e5edf7;
  box-shadow: 0 -14px 36px rgba(15,23,42,.08);
}

.o5d-bottom a {
  display: grid;
  place-items: center;
  gap: 3px;
  color: #64748b;
  font-size: 18px;
  font-weight: 850;
}

.o5d-bottom a.active {
  color: var(--purple);
}

.o5d-bottom span {
  font-size: 11px;
}

@media (max-width: 520px) {
  .o5d-app {
    padding: 0 0 96px;
  }

  .o5d-top,
  .o5d-card {
    width: 100%;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
  }

  .o5d-top {
    margin: 0;
  }

  .o5d-step h1 {
    font-size: 30px;
  }
}

@media (min-width: 900px) {
  .o5d-card,
  .o5d-top {
    width: min(620px, calc(100vw - 60px));
  }

  .o5d-categories {
    grid-template-columns: repeat(4, 1fr);
  }

  .o5d-bottom {
    width: 420px;
    bottom: 16px;
  }
}
