*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans Georgian', sans-serif;
  background: #b8dfc8;
  color: #1a3028;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-size: 15px;
  line-height: 1.6;
}

/* ── Header ── */
.sz-header {
  background: #2d7a52;
  border-bottom: 1px solid rgba(0,0,0,0.12);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.sz-header-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sz-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.sz-logo img {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1) opacity(0.95);
}
.sz-logo-text { display: flex; flex-direction: column; }
.sz-logo-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
  line-height: 1.2;
}
.sz-logo-sub {
  font-size: 0.6rem;
  font-weight: 400;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.sz-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  padding: 7px 16px;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 8px;
  transition: background 0.2s, border-color 0.2s;
}
.sz-back-btn:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.6);
}

/* ── Main ── */
main { flex: 1; padding: 48px 24px 64px; }

/* ── Page hero ── */
.page-hero {
  max-width: 900px;
  margin: 0 auto 36px;
  text-align: center;
}
.page-hero-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #2ecc84, #1a9960);
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 4px 16px rgba(30,120,70,0.35);
}
.page-hero-icon svg { width: 26px; height: 26px; color: #fff; }
.page-hero h1 {
  font-size: clamp(1.3rem, 4vw, 1.9rem);
  font-weight: 700;
  color: #163320;
  margin-bottom: 8px;
}
.page-hero p {
  font-size: 0.88rem;
  font-weight: 400;
  color: #3a6048;
}

/* ── Form card ── */
.form-card {
  max-width: 680px;
  margin: 0 auto;
  background: #f4fbf7;
  border: 1px solid #a8d8bc;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 4px 24px rgba(30,100,60,0.1);
}

/* ── Section label ── */
.section-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #1a8c50;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #c0e0cc;
}

/* ── Fields ── */
.field-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 20px;
}
.field:last-child { margin-bottom: 0; }
.field label {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #2d6040;
}
.field label .req { color: #1a9960; margin-left: 2px; }

/* ── Inputs ── */
.sz-input,
.sz-select,
.sz-textarea {
  width: 100%;
  background: #fff;
  border: 1px solid #b8d8c4;
  border-radius: 10px;
  color: #1a3028;
  font-family: inherit;
  font-size: 0.92rem;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.06);
}
.sz-input::placeholder,
.sz-textarea::placeholder { color: #90b8a0; }
.sz-input:focus,
.sz-select:focus,
.sz-textarea:focus {
  border-color: #22a064;
  box-shadow: 0 0 0 3px rgba(34,160,100,0.14), inset 0 1px 3px rgba(0,0,0,0.04);
}
.sz-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2322a064' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-color: #fff;
  padding-right: 40px;
}
.sz-select option { background: #fff; color: #1a3028; }
.sz-textarea { resize: vertical; min-height: 120px; }

/* ── File upload ── */
.file-upload-wrap { position: relative; }
.file-upload-label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #fff;
  border: 1px dashed #90c8a8;
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  font-size: 0.87rem;
  color: #3a6048;
}
.file-upload-label:hover {
  border-color: #22a064;
  background: rgba(34,160,100,0.04);
  color: #1a9960;
}
.file-upload-label svg { flex-shrink: 0; opacity: 0.65; }
.file-name {
  font-size: 0.8rem;
  color: #1a9960;
  margin-left: auto;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

/* ── GPS ── */
.gps-wrap { display: flex; flex-direction: column; gap: 10px; }
.gps-input-group { display: flex; gap: 10px; }
.gps-input-group .sz-input { font-size: 0.92rem; padding: 12px 16px; color: #3a6048; width: 100%; }
.btn-gps { width: 100%; justify-content: center; }


.btn-gps {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 500;
  color: #1a8c50;
  background: #e8f8ee;
  border: 1px solid #90c8a8;
  border-radius: 10px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s;
  flex-shrink: 0;
}
.btn-gps:hover {
  background: #d4f0e0;
  border-color: #22a064;
}
.btn-gps svg { width: 15px; height: 15px; }
.gps-status { font-size: 0.75rem; color: #4a7a62; margin-top: 6px; min-height: 18px; }
.gps-status.ok  { color: #1a9960; }
.gps-status.err { color: #e53935; }

/* ── Divider ── */
.form-divider {
  border: none;
  border-top: 1px solid #c8e8d4;
  margin: 26px 0;
}

/* ── Submit ── */
.btn-submit {
  width: 100%;
  margin-top: 30px;
  padding: 15px;
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  background: linear-gradient(135deg, #2ecc84 0%, #1a9960 100%);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: none;
  transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.btn-submit:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}
.btn-submit:active {
  transform: translateY(0);
}
.btn-submit svg { width: 18px; height: 18px; }

/* ── Footer ── */
.sz-footer {
  border-top: 1px solid #a8d0b8;
  padding: 20px 24px;
  text-align: center;
}
.sz-footer-inner {
  font-size: 0.75rem;
  font-weight: 400;
  color: #5a8868;
}