/* New-shop application — Nida brand, logical properties only. */
:root {
  --ld-teal: #0AA09B;
  --ld-teal-2: #0DB3AD;
  --ld-teal-deep: #088985;
  --ld-ink: #0F1B2D;
  --ld-coral: #FF6B4A;
  --ld-paper: #F4F6F9;
  --ld-muted: #6B6B6B;
  --ld-line: #EEF1F4;
  --ld-font: 'Tajawal', 'Plex Arabic', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.apply-page {
  margin: 0;
  font-family: var(--ld-font);
  color: var(--ld-ink);
  background:
    radial-gradient(900px 480px at 10% -10%, rgba(13, 179, 173, .16), transparent 60%),
    radial-gradient(700px 420px at 100% 10%, rgba(255, 107, 74, .08), transparent 55%),
    var(--ld-paper);
  min-height: 100dvh;
  line-height: 1.5;
}
a { color: var(--ld-teal); text-decoration: none; }
h1, p, fieldset, legend { margin: 0; padding: 0; }
.ap-header, .ap-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; max-width: 720px; margin: 0 auto;
}
.ap-brand img { height: 56px; width: auto; display: block; }
.ap-lang, .ap-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 16px; border-radius: 999px;
  border: 0; background: #fff; color: var(--ld-ink); box-shadow: 0 4px 14px rgba(15, 27, 45, .06);
  font: inherit; font-weight: 600; cursor: pointer;
}
.ap-btn {
  width: 100%; min-height: 52px; margin-block-start: 8px;
  background: linear-gradient(180deg, #0DB3AD, #0AA09B); color: #fff; border: 0; font-size: 1.05rem; font-weight: 800; box-shadow: 0 8px 18px rgba(10, 160, 155, .24);
}
.ap-btn:disabled { opacity: .6; }
.ap-main { max-width: 560px; margin: 0 auto; padding: 8px 20px 48px; }
.ap-card {
  background: #fff; border: 0; border-radius: 24px;
  padding: 24px 20px 28px; box-shadow: 0 16px 40px rgba(15, 27, 45, .10);
  display: flex; flex-direction: column; gap: 14px;
}
.ap-card h1 { font-size: 1.6rem; font-weight: 800; }
.ap-sub { color: var(--ld-muted); }
.field { display: flex; flex-direction: column; gap: 6px; border: 0; }
.field label, .field legend { font-size: .9rem; font-weight: 600; }
.input {
  font: inherit; color: var(--ld-ink); background: var(--ld-paper);
  border: 0; border-radius: 16px;
  min-height: 48px; padding: 10px 12px; width: 100%; background: var(--ld-paper);
}
.input:focus { outline: none; box-shadow: 0 0 0 3px rgba(10, 160, 155, .35); background: #fff; }
.field-error { color: var(--ld-coral); font-size: .85rem; min-height: 1em; }
.ap-types, .ap-daily, .ap-cities { display: flex; flex-wrap: wrap; gap: 8px; }
.ap-choice {
  border: 0; background: var(--ld-paper); border-radius: 16px;
  padding: 10px 12px; font: inherit; cursor: pointer; text-align: start;
}
.ap-choice.on { background: #E8F7F6; box-shadow: 0 0 0 2px var(--ld-teal); }
.ap-choice b { display: block; font-size: .95rem; }
.ap-choice span { display: block; color: var(--ld-muted); font-size: .8rem; }
.ap-login, .ap-foot a { font-weight: 600; text-align: center; }
.ap-foot { gap: 16px; justify-content: center; padding-bottom: 28px; }
.ap-ok { align-items: center; text-align: center; }
.ap-tick {
  width: 64px; height: 64px; border-radius: 32px; background: var(--ld-teal);
  color: #fff; font-size: 1.8rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.ap-map {
  height: 160px; border-radius: 16px; background: #121c2c; position: relative; overflow: hidden;
}
.ap-map-land {
  position: absolute; inset-inline: 8%; inset-block: 10% 22%;
  border-radius: 28px; background: rgba(10, 160, 155, .14);
  border: 1px solid rgba(13, 179, 173, .28);
}
.ap-pin {
  position: absolute; width: 10px; height: 10px; border-radius: 5px;
  background: rgba(255,255,255,.45); transform: translate(-50%, -50%);
  padding: 0; border: 0; cursor: pointer;
}
.ap-pin.on { width: 16px; height: 16px; background: var(--ld-coral); border: 2px solid #fff; }
.ap-map-label {
  position: absolute; inset-inline: 0; inset-block-end: 8px;
  color: rgba(255,255,255,.7); font-size: .8rem; text-align: center;
}

/* Geographic pin positions use physical left/top so the map stays west→east. */
.ap-pin[data-city="riyadh"] { left: 57.36%; top: 46.54%; }
.ap-pin[data-city="jeddah"] { left: 22.39%; top: 66.34%; }
.ap-pin[data-city="makkah"] { left: 25.50%; top: 66.94%; }
.ap-pin[data-city="madinah"] { left: 24.16%; top: 47.70%; }
.ap-pin[data-city="dammam"] { left: 73.31%; top: 36.07%; }
.ap-pin[data-city="khobar"] { left: 73.82%; top: 37.32%; }
.ap-pin[data-city="dhahran"] { left: 73.43%; top: 36.88%; }
.ap-pin[data-city="ahsa"] { left: 70.97%; top: 42.43%; }
.ap-pin[data-city="taif"] { left: 28.11%; top: 67.67%; }
.ap-pin[data-city="tabuk"] { left: 10.07%; top: 24.03%; }
.ap-pin[data-city="buraydah"] { left: 44.74%; top: 36.65%; }
.ap-pin[data-city="hail"] { left: 34.07%; top: 29.38%; }
.ap-pin[data-city="abha"] { left: 37.88%; top: 86.40%; }
.ap-pin[data-city="khamis"] { left: 38.94%; top: 85.89%; }
.ap-pin[data-city="jazan"] { left: 38.09%; top: 94.54%; }
.ap-pin[data-city="najran"] { left: 45.46%; top: 90.84%; }
.ap-pin[data-city="yanbu"] { left: 17.11%; top: 50.37%; }
.ap-pin[data-city="jubail"] { left: 71.13%; top: 32.49%; }
.ap-pin[data-city="skaka"] { left: 27.13%; top: 14.30%; }
.ap-pin[data-city="arar"] { left: 31.02%; top: 8.13%; }
