/* frontend/location/index.css */

/* ===================== VARIABLES (same system as settings) ===================== */
:root{
  --brand: #f36b21;
  --brand-deep: #eb4d04;
  --brand-soft: rgba(243,107,33,.12);

  --bg: #f7f7f5;
  --card: #ffffff;
  --line: rgba(15, 23, 42, 0.08);

  --text: #0f172a;
  --muted: rgba(15, 23, 42, 0.72);

  --shadow-soft: 0 6px 18px rgba(15, 23, 42, 0.06);

  --head-h: 52px;
  --maxw: 1180px;
  --pad: 14px;

  --font: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* ===================== BASE ===================== */
*{ box-sizing: border-box; }
html, body{ height: 100%; }
body{
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
}
a{ color: inherit; text-decoration: none; }
button{ font-family: inherit; }

*{ scrollbar-width: none; }
*::-webkit-scrollbar{ width: 0; height: 0; }

/* ===================== HEADER ===================== */
.lHead{
  position: sticky;
  top: 0;
  z-index: 50;

  height: var(--head-h);
  background: var(--bg);
  border-bottom: 1px solid var(--line);

  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;

  padding: 0 10px;
  max-width: var(--maxw);
  margin: 0 auto;
}

.backBtn{
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(15, 23, 42, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.backBtn i{ color: var(--text); }

.lTitle{
  text-align: center;
  font-weight: 950;
  letter-spacing: -0.2px;
  font-size: 14.5px;
}
.lSpacer{ width: 44px; }

/* ===================== MAIN ===================== */
.lMain{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 12px var(--pad) 18px;
}

/* ===================== PANEL (Me-page list style) ===================== */
.panel{
  background: transparent;
}

.row{
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 10px;
  align-items: center;

  padding: 12px 12px;
  border-radius: 14px;

  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);

  margin-bottom: 10px;
}

.rowIcon{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-soft);
  border: 1px solid rgba(243,107,33,0.22);
  color: var(--brand-deep);
}

.rowText{
  font-weight: 900;
  letter-spacing: -0.2px;
  font-size: 13px;
}

.rowValue{
  font-weight: 950;
  font-size: 12.5px;
  color: rgba(15,23,42,0.80);
  white-space: nowrap;
}

/* purely read-only: no chevron, no hover cue */
.row--readonly{
  cursor: default;
}

/* ===================== HINT ===================== */
.hint{
  margin-top: 10px;
  padding: 14px 12px;
  border-radius: 14px;
  background: rgba(15,23,42,0.03);
  border: 1px solid rgba(15,23,42,0.06);
}
.hint p{
  margin: 0;
  font-size: 12.5px;
  font-weight: 650;
  color: var(--muted);
  line-height: 1.35;
}

/* ===================== RESPONSIVE ===================== */
@media (min-width: 520px){
  .lHead{ padding: 0 14px; }
  .lMain{ padding-left: 14px; padding-right: 14px; }
}
