/* =========================================================
   quickfind.css — Food & Fuel Quick Find Panel
   Weather Compass · weathercompass.ca
   ========================================================= */

.qf-panel[hidden] { display: none; }
.qf-panel {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px;
  background: rgba(18, 26, 42, 0.92);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  z-index: 25;
  min-width: 260px;
  max-width: 340px;
  max-height: 70vh;
  overflow-y: auto;
}

.qf-title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  padding: 4px 6px 8px;
}

.qf-loading {
  font-size: 13px;
  color: #aaa;
  padding: 16px 6px;
  text-align: center;
}

.qf-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.qf-info { flex: 1; min-width: 0; }

.qf-name {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.qf-meta {
  font-size: 12px;
  color: #aaa;
  margin-top: 2px;
}

.qf-open { color: #4ade80; font-weight: 600; }
.qf-closed { color: #f87171; font-weight: 600; }

.qf-addr {
  font-size: 11px;
  color: #888;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.qf-phone-row { margin-top: 3px; }

.qf-phone {
  font-size: 12px;
  color: #60a5fa;
  text-decoration: none;
  font-weight: 500;
}
.qf-phone:active { color: #93c5fd; }

.qf-go {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 18px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.qf-go:active { background: #1d4ed8; }

/* ===== Toolbar button styles ===== */
.qf-toolbar-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  padding: 4px 6px;
  min-width: 36px;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  transition: background 200ms ease;
}
.qf-toolbar-btn:hover { background: rgba(255, 255, 255, 0.15); }
.qf-toolbar-btn:active { transform: scale(0.96); }
.qf-toolbar-btn svg { width: 18px; height: 18px; }
.qf-toolbar-btn span {
  font-size: 9px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1;
}
