/* UK poker rooms locator (homepage section) */
#poker-locator { scroll-margin-top: 84px; }
#poker-locator .loc-panel {
  background: linear-gradient(180deg, #141b4a, #10163d);
  border: 1px solid #232c66;
  border-radius: 16px;
  padding: 22px 22px 20px;
}
#poker-locator .loc-form { display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: flex-end; margin: 0; }
#poker-locator .loc-field { flex: 1 1 260px; min-width: 0; max-width: 420px; }
#poker-locator label.loc-label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; color: #e9ecff; }
#poker-locator input[type="text"] {
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: #e9ecff;
  background: #0b1030;
  border: 1px solid #3a4a88;
  border-radius: 10px;
  padding: 11px 14px;
  text-transform: uppercase;
  transition: border-color .15s ease, box-shadow .15s ease;
}
#poker-locator input[type="text"]::placeholder { color: #7d86bd; text-transform: none; }
#poker-locator input[type="text"]:hover { border-color: #5566aa; }
#poker-locator input[type="text"]:focus-visible { outline: 2px solid #3ee8a4; outline-offset: 2px; border-color: #3ee8a4; }
#poker-locator button.cta { margin: 0; border: 0; font: inherit; font-weight: 900; font-size: 16px; padding: 12px 30px; flex: 0 0 auto; }
#poker-locator button.cta[disabled] { opacity: .65; cursor: progress; transform: none; }
#poker-locator .loc-hint { margin: 8px 0 0; font-size: 13px; color: #8d95c8; }
#poker-locator .loc-opt { display: flex; align-items: flex-start; gap: 9px; margin: 14px 0 0; font-size: 14px; color: #aab2e6; line-height: 1.4; cursor: pointer; }
#poker-locator .loc-opt input { margin: 2px 0 0; width: 18px; height: 18px; flex: 0 0 auto; accent-color: #3ee8a4; }
#poker-locator .loc-opt input:focus-visible { outline: 2px solid #3ee8a4; outline-offset: 2px; }

#poker-locator .loc-result { margin-top: 16px; }
#poker-locator .loc-empty { color: #8d95c8; font-size: 14px; margin: 0; }
#poker-locator .loc-msg { margin: 0; padding: 12px 14px; border-radius: 10px; font-size: 14px; line-height: 1.5; background: #0b1030; border: 1px solid #3a4a88; color: #e9ecff; }
#poker-locator .loc-msg.is-error { border-color: #ff8a8a; background: rgba(255, 138, 138, .08); }
#poker-locator .loc-msg.is-info { border-color: #3ee8a4; background: rgba(62, 232, 164, .07); }
#poker-locator .loc-summary { margin: 0 0 12px; font-size: 14px; color: #aab2e6; }
#poker-locator .loc-summary strong { color: #fff; }
#poker-locator .loc-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
#poker-locator .loc-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 4px 14px;
  align-items: center;
  background: #0d1340;
  border: 1px solid #232c66;
  border-radius: 14px;
  padding: 14px 16px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
#poker-locator .loc-item:hover { border-color: #3a4a88; box-shadow: 0 2px 12px rgba(62, 232, 164, 0.08); }
#poker-locator .loc-num {
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(90deg, #3ee8a4, #22c1c3); color: #06203a;
  font-weight: 900; display: flex; align-items: center; justify-content: center; font-size: 15px;
}
#poker-locator .loc-main { min-width: 0; }
#poker-locator .loc-name { font-weight: 800; font-size: 16px; color: #fff; overflow-wrap: anywhere; }
#poker-locator .loc-addr { color: #aab2e6; font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; }
#poker-locator .loc-lic { color: #8d95c8; font-size: 12px; overflow-wrap: anywhere; }
#poker-locator .loc-games { color: #c8ceff; font-size: 13px; line-height: 1.45; margin-top: 6px; overflow-wrap: anywhere; }
#poker-locator .loc-tag { display: inline-block; margin-top: 4px; font-size: 11px; font-weight: 700; letter-spacing: .03em; color: #ffd37a; border: 1px solid #6b5a2a; background: rgba(255, 211, 122, .08); padding: 2px 8px; border-radius: 999px; }
#poker-locator .loc-side { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
#poker-locator .loc-dist { font-weight: 900; font-size: 20px; color: #3ee8a4; line-height: 1.1; white-space: nowrap; }
#poker-locator .loc-dist small { display: block; font-size: 12px; font-weight: 600; color: #8d95c8; }
#poker-locator a.loc-dir {
  display: inline-block; font-weight: 800; font-size: 13px; color: #3ee8a4;
  border: 1px solid #3ee8a4; border-radius: 8px; padding: 6px 12px; white-space: nowrap;
  transition: background-color .15s ease, color .15s ease;
}
#poker-locator a.loc-dir:hover, #poker-locator a.loc-dir:focus-visible { background: #3ee8a4; color: #06203a; }
#poker-locator a.loc-dir:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
#poker-locator .loc-note { margin: 16px 0 0; font-size: 12.5px; line-height: 1.55; color: #8d95c8; }
#poker-locator .loc-note a { color: #aab2e6; text-decoration: underline; }

@media (max-width: 640px) {
  #poker-locator .loc-panel { padding: 16px 14px 16px; }
  #poker-locator .loc-field { flex: 1 1 100%; max-width: none; }
  #poker-locator button.cta { width: 100%; }
  #poker-locator .loc-item { grid-template-columns: 30px minmax(0, 1fr); padding: 12px; }
  #poker-locator .loc-num { width: 30px; height: 30px; font-size: 14px; }
  #poker-locator .loc-side { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; text-align: left; margin-top: 6px; }
  #poker-locator .loc-dist small { display: inline; margin-left: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  #poker-locator * { transition: none !important; }
}

/* Confirmed rooms link to their own page (poker-rooms/<slug>.html). */
#poker-locator .loc-name a { color: inherit; text-decoration: underline; text-decoration-color: #3ee8a4; text-underline-offset: 3px; }
#poker-locator .loc-name a:hover, #poker-locator .loc-name a:focus-visible { color: #3ee8a4; }
