/* ============================================================================
   THE NEWS FRONTLINE — "Select Your City" modal
   ========================================================================== */

#tnf-city-modal-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  color: #E5E7EB;
  font-size: 11.5px;
  font-weight: 700;
  padding: 6px 10px;
  cursor: pointer;
  box-sizing: border-box;
  white-space: nowrap;
}
#tnf-city-modal-trigger svg { width: 12px; height: 12px; flex-shrink: 0; }
#tnf-city-modal-trigger .tnf-city-chevron { display: none; }
#tnf-city-modal-trigger:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #FBBF24;
  color: #fff;
}

#tnf-city-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
#tnf-city-modal.open { display: flex; }

.tnf-city-modal-card {
  width: 100%;
  max-width: 460px;
  max-height: 80vh;
  background: #0B0F19;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.tnf-city-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.tnf-city-modal-header h3 {
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  margin: 0;
}
#tnf-city-modal-close {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #9CA3AF;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
#tnf-city-modal-close:hover { background: rgba(255, 255, 255, 0.15); color: #fff; }

.tnf-city-modal-search-wrap {
  position: relative;
  padding: 14px 20px;
}
.tnf-city-modal-search-wrap svg {
  position: absolute;
  left: 34px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: #6B7280;
  pointer-events: none;
}
#tnf-city-modal-search {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  padding: 11px 16px 11px 40px;
  color: #fff;
  font-size: 14px;
  outline: none;
  box-sizing: border-box;
}
#tnf-city-modal-search:focus { border-color: #FBBF24; }
#tnf-city-modal-search::placeholder { color: #6B7280; }

.tnf-city-modal-list {
  overflow-y: auto;
  padding: 4px 8px 16px;
}
.tnf-city-row {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  border-radius: 10px;
  color: #E5E7EB;
  font-size: 15px;
  font-weight: 500;
  padding: 12px 12px;
  cursor: pointer;
}
.tnf-city-row:hover { background: rgba(255, 255, 255, 0.06); color: #FBBF24; }
.tnf-city-empty {
  text-align: center;
  color: #6B7280;
  font-size: 14px;
  padding: 30px 10px;
}
