/* ---------- Harita (arka plan, sadece görsel) ---------- */
.stage { position: relative; min-height: 100vh; }
.leaflet-tile-pane { opacity: .55; }
.vignette {
  position: absolute; inset: 0;
  z-index: 1020;
  pointer-events: none;
  background: radial-gradient(ellipse 80% 74% at 50% 50%,
    rgba(255,255,255,0) 52%,
    rgba(255,255,255,.92) 100%);
}

/* ---------- Üst bar ---------- */
.topbar {
  position: absolute; top: 0; left: 0; right: 0;
  z-index: 1025;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px clamp(20px, 4vw, 56px);
}
.top-cta { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .95rem; }


/* ---------- Popup (koyu kart) ---------- */
.leaflet-popup, .leaflet-popup-content-wrapper, .leaflet-popup-tip { pointer-events: auto; }
.leaflet-popup { text-align: left; margin-bottom: 20px; }
.leaflet-popup-content-wrapper {
  background: var(--paper);
  color: var(--ink);
  border-radius: 26px;
  padding: 0;
  box-shadow: 0 28px 70px rgba(13, 20, 58, 0.45), 0 2px 6px rgba(33, 14, 40, 0.2);
}
.leaflet-popup-tip { background: var(--paper); }
.leaflet-popup-content {
  margin: 0 !important;
  width: min(340px, calc(100vw - 40px)) !important;
  line-height: 1.4;
}
.leaflet-container a.leaflet-popup-close-button { display: none; }

.reg { padding: 30px 26px 22px; }
.reg-head { margin-bottom: 20px; }
.reg-title {
  font-weight: 700; font-size: 1.6rem; letter-spacing: -0.025em; margin: 0; line-height: 1.1;
}
.reg-sub { margin: 6px 0 0; font-size: .9rem; color:var(--muted); }

.reg .form-label { font-size: .8rem; font-weight: 600; margin-bottom: 5px; color: var(--muted); }
.reg .form-control {
  background: rgba(255,255,255,.08);
  border: 1px solid var(--sign-blue);
  color:var(--muted);
  border-radius: 14px;
  padding: 11px 14px; font-size: .95rem;
}
.reg .form-control::placeholder { 
    color: var(--muted);
 }

.reg input[name="password"].form-control::placeholder { 
    position: absolute; top:18px;
}
.reg .form-control:focus {
  background: rgba(255,255,255,.12);
  border-color: var(--aquamarine);
  color: var(--ink);
}
.reg .form-control:-webkit-autofill {
  -webkit-text-fill-color: var(--ink);
}

.reg .invalid-feedback { color: var(--bs-form-invalid-color); }
.reg .form-check-input { background-color: transparent; border-color: rgba(255,255,255,.45); }
.reg .form-check-input:checked { background-color: var(--sun); border-color: var(--sun); }
.reg .form-check-input:focus { box-shadow: 0 0 0 .22rem rgba(242, 181, 68, .25); border-color: var(--sun); }
.reg .form-check-label { font-size: .85rem; color: rgba(255,255,255,.72); }
.reg .mb-field { margin-bottom: 14px; }

.label-row { display: flex; justify-content: space-between; align-items: baseline; }
.label-row a { font-size: .8rem; font-weight: 600; color: var(--sun); text-decoration: none; }
.label-row a:hover { text-decoration: underline; }

.pw-wrap { position: relative; }
.pw-toggle {
  position: absolute; right: 6px; top: 8px;
  border: 0; background: transparent; color: var(--muted);
  font-size: .8rem; font-weight: 600; padding: 6px 8px; border-radius: 8px;
}
.pw-toggle:hover { color:var(--brand); background: rgba(255,255,255,.1); }
.pw-wrap .form-control { padding-right: 66px; }


.reg-foot { text-align: center; margin: 14px 0 0; font-size: .85rem; color:var(--muted); }
.reg-foot a { color: var(--sign-blue-dark); font-weight: 600; text-decoration: none; }
.reg-foot a:hover { text-decoration: underline; }


@media (max-width: 575.98px) { .top-cta span { display: none; } }

/* ---------- Polaroid çerçeveler ---------- */
.polaroid-anchor { position: relative; width: 0; height: 0; }
.polaroid {
  position: absolute; left: 0; top: 0;
  width: 136px;
  padding: 10px 10px 8px;
  background: #fff;
  border-radius: 3px;
  box-shadow: 0 14px 28px rgba(18, 49, 45, .2), 0 2px 5px rgba(18, 49, 45, .1);
  transform: translate(-50%, -50%) rotate(var(--rot, 0deg));
}
.polaroid .photo { display: block; width: 116px; height: 116px; background: #e9efed; }
.polaroid .photo svg { display: block; width: 100%; height: 100%; }
.polaroid .cap {
  font-size: 1.15rem; line-height: 1; text-align: center;
  color: #3a4a47; padding: 9px 0 4px;
}
.polaroid.taped::before {
  content: ""; position: absolute; top: -11px; left: 50%;
  width: 54px; height: 20px; margin-left: -27px;
  background: rgba(242, 181, 68, .55);
  transform: rotate(-4deg);
}