/* Rank Haus Photo Geotagger 1.0.0. Scoped to .rh-geo. Brand: black, white, #ffb7f8, Archivo + Inter (inherited). */
.rh-geo { --rh-geo-pink: #ffb7f8; --rh-geo-line: #e8e8e8; color: #000; text-align: left; }
.rh-geo *, .rh-geo *::before, .rh-geo *::after { box-sizing: border-box; }
.rh-geo-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; row-gap: 32px; align-items: start; }
.rh-geo-card { background: #fff; border: 1px solid var(--rh-geo-line); padding: 32px; position: relative; transition: box-shadow .4s ease, border-color .4s ease; }
.rh-geo-card::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 3px; background: var(--rh-geo-pink); transform: scaleX(0); transform-origin: left; transition: transform .4s ease; }
.rh-geo-card:hover, .rh-geo-card:focus-within { box-shadow: 0 12px 40px rgba(0,0,0,.08); border-color: transparent; }
.rh-geo-card:hover::before, .rh-geo-card:focus-within::before { transform: scaleX(1); }
.rh-geo-step { font: 600 12px/1 Inter, sans-serif; letter-spacing: .15em; text-transform: uppercase; color: #000; margin: 0 0 8px; }
.rh-geo-step span { display: inline-block; background: var(--rh-geo-pink); padding: 4px 8px; margin-right: 8px; }
.rh-geo-card h3 { font-family: Archivo, sans-serif; font-weight: 800; font-size: 1.35rem; margin: 0 0 8px; color: #000; }
.rh-geo-help { color: #555; font-size: .9rem; line-height: 1.6; margin: 0 0 20px; }
.rh-geo-muted { color: #888; font-size: .85rem; }

.rh-geo-drop { display: block; border: 2px dashed #cfcfcf; padding: 36px 20px; text-align: center; cursor: pointer; transition: border-color .3s ease, background .3s ease; }
.rh-geo-drop:hover, .rh-geo-drop.is-over, .rh-geo-drop:focus-within { border-color: #000; background: rgba(255,183,248,.08); }
.rh-geo-drop strong { display: block; font-family: Archivo, sans-serif; font-size: 1.05rem; margin-bottom: 6px; }
.rh-geo-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.rh-geo-list-head { display: flex; justify-content: space-between; align-items: center; margin: 20px 0 8px; min-height: 20px; }
.rh-geo-count { font-weight: 600; font-size: .9rem; }
.rh-geo-list { list-style: none; margin: 0; padding: 0; max-height: 380px; overflow-y: auto; }
.rh-geo-file { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid #f0f0f0; }
.rh-geo-file img { width: 56px; height: 56px; object-fit: cover; flex: 0 0 56px; background: #f4f4f4; }
.rh-geo-file-meta { flex: 1; min-width: 0; font-size: .85rem; line-height: 1.45; }
.rh-geo-file-name { display: block; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rh-geo-file-size { color: #888; margin-right: 8px; }
.rh-geo-gps { color: #888; }
.rh-geo-gps.has { color: #000; }
.rh-geo-remove { background: none; border: 0; font-size: 1.4rem; line-height: 1; cursor: pointer; color: #888; padding: 4px 8px; }
.rh-geo-remove:hover, .rh-geo-remove:focus-visible { color: #000; }

.rh-geo-field { display: block; margin-bottom: 16px; }
.rh-geo-label { display: block; font-weight: 600; font-size: .85rem; margin-bottom: 6px; }
.rh-geo-label em { font-style: normal; font-weight: 400; color: #888; }
.rh-geo input[type="text"], .rh-geo input[type="search"], .rh-geo textarea {
  width: 100%; font: 400 .95rem/1.5 Inter, sans-serif; color: #000; background: #fff;
  border: 1px solid #cfcfcf; border-radius: 0; padding: 11px 12px; transition: border-color .3s ease, box-shadow .3s ease; }
.rh-geo input:focus, .rh-geo textarea:focus { outline: none; border-color: #000; box-shadow: 0 0 0 3px rgba(255,183,248,.6); }
.rh-geo textarea { min-height: 84px; resize: vertical; }
.rh-geo-row { display: flex; gap: 12px; }
.rh-geo-row > * { flex: 1; min-width: 0; }
.rh-geo-search { display: flex; gap: 8px; }
.rh-geo-search input { flex: 1; min-width: 0; }
.rh-geo-results { list-style: none; margin: 8px 0 0; padding: 0; }
.rh-geo-results li { border-bottom: 1px solid #f0f0f0; }
.rh-geo-result { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 10px 4px; font: .85rem/1.45 Inter, sans-serif; color: #000; cursor: pointer; }
.rh-geo-result:hover, .rh-geo-result:focus-visible { background: rgba(255,183,248,.15); }
.rh-geo-map { height: 320px; margin: 16px 0; background: #f4f4f4 repeating-linear-gradient(45deg, #f4f4f4 0 12px, #efefef 12px 24px); border: 1px solid var(--rh-geo-line); position: relative; z-index: 0; }
.rh-geo-map > p { padding: 20px; }
.rh-geo-attrib { font-size: .75rem; color: #888; margin: -8px 0 16px; }
.rh-geo-attrib a, .rh-geo-help a { color: #000; }
.rh-geo-sub { font: 700 .8rem/1 Archivo, sans-serif; letter-spacing: .08em; text-transform: uppercase; margin: 24px 0 12px; padding-top: 20px; border-top: 1px solid #f0f0f0; }
.rh-geo-check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; margin: 8px 0 0; cursor: pointer; }
.rh-geo-check input { margin-top: 3px; accent-color: #000; }

.rh-geo-actions { margin-top: 32px; text-align: center; }
.rh-geo-btn { display: inline-block; font: 600 14px/1 Inter, sans-serif; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: #000; border: 2px solid #000; padding: 18px 48px; cursor: pointer; transition: all .3s ease; }
.rh-geo-btn:hover, .rh-geo-btn:focus-visible { background: var(--rh-geo-pink); color: #000; border-color: var(--rh-geo-pink); box-shadow: 0 0 24px rgba(255,183,248,.6); outline: none; }
.rh-geo-btn:disabled { opacity: .5; cursor: wait; }
.rh-geo-btn-sm { padding: 11px 18px; font-size: 12px; }
.rh-geo-link { background: none; border: 0; padding: 0; font: inherit; color: #000; text-decoration: underline; text-decoration-color: var(--rh-geo-pink); text-decoration-thickness: 2px; text-underline-offset: 3px; cursor: pointer; }
.rh-geo-link:hover, .rh-geo-link:focus-visible { color: #000; text-decoration-color: #000; }
.rh-geo-status { min-height: 1.5em; margin: 16px 0 0; font-size: .9rem; color: #555; }
.rh-geo-status.is-warn { color: #8a5a00; }
.rh-geo-status.is-error { color: #b00020; }
.rh-geo-status.is-ok { color: #000; font-weight: 600; }
.rh-geo-done { margin: 24px auto 0; max-width: 720px; border: 1px solid var(--rh-geo-line); border-bottom: 3px solid var(--rh-geo-pink); padding: 24px; text-align: left; }
.rh-geo-done-head { font-weight: 600; margin: 0 0 16px; }
.rh-geo-dl { list-style: none; margin: 16px 0 0; padding: 0; font-size: .9rem; }
.rh-geo-dl li { padding: 6px 0; }
.rh-geo-privacy { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: #555; margin: 20px 0 0; }
.rh-geo-privacy::before { content: ""; flex: 0 0 8px; height: 8px; margin-top: 6px; background: var(--rh-geo-pink); border-radius: 50%; }

@media (max-width: 1024px) { .rh-geo-grid { grid-template-columns: 1fr; } }
@media (max-width: 768px) {
  .rh-geo-card { padding: 24px 20px; }
  .rh-geo-map { height: 280px; }
  .rh-geo-btn { width: 100%; padding: 18px 20px; }
  .rh-geo-btn.rh-geo-btn-sm { width: auto; flex: 0 0 auto; padding: 11px 16px; }
}
@media (max-width: 480px) { .rh-geo-row { flex-direction: column; gap: 0; } }
@media (prefers-reduced-motion: reduce) { .rh-geo *, .rh-geo *::before { transition: none !important; } }
