/* public/garage-chat.css */
/* Directory & Rating styling – dark theme, consistent with the dashboard */

/* ── Full‑page container ──────────────────────────── */
#chatFullView {
  background: #0f172a;
  color: #e2e8f0;
  padding: 1.5rem;
  min-height: 100vh;
}

/* ── Upgrade banner ───────────────────────────────── */
.upgrade-banner {
  background: #f39c12;
  color: #0f172a;
  padding: 0.75rem 1rem;
  text-align: center;
  font-weight: 700;
  margin-bottom: 1.5rem;
  border-radius: 8px;
  font-size: 0.95rem;
}

/* ── Garage directory cards ───────────────────────── */
.garage-directory h3 {
  margin: 0 0 1rem;
  font-size: 1.2rem;
  color: #f39c12;
}

.garage-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.garage-item {
  background: #1e293b;
  border-radius: 10px;
  padding: 1rem 1.2rem;
  border-left: 4px solid #f39c12;
  transition: background 0.15s;
}
.garage-item:hover {
  background: #273349;
}

.garage-name {
  font-weight: 700;
  font-size: 1.05rem;
  color: #f1f5f9;
  margin-bottom: 0.3rem;
}

.garage-stars {
  margin-bottom: 0.3rem;
  font-size: 0.95rem;
}

.garage-specs {
  font-size: 0.85rem;
  color: #94a3b8;
  margin-bottom: 0.2rem;
}

.garage-location {
  font-size: 0.85rem;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}

.garage-actions {
  margin-top: 0.3rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.btn-contact,
.btn-rate {
  background: #f39c12;
  color: #0f172a;
  border: none;
  border-radius: 6px;
  padding: 0.35rem 1rem;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.85rem;
  transition: background 0.15s;
}
.btn-contact:hover,
.btn-rate:hover {
  background: #e67e22;
}

/* ── Rating modal overlay ─────────────────────────── */
.rate-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
}

.rate-box {
  background: #1e293b;
  color: #e2e8f0;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  min-width: 280px;
}

.rate-box h3 {
  margin: 0 0 1rem;
  color: #f39c12;
}

.rate-stars {
  font-size: 2rem;
  cursor: pointer;
  margin-bottom: 1.5rem;
  user-select: none;
}

.rate-star {
  margin: 0 0.15rem;
  color: #4b5563;
  transition: color 0.1s;
}
.rate-star:hover,
.rate-star.selected {
  color: #f39c12;
}

.rate-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}

/* ── Utility text classes ─────────────────────────── */
.text-muted {
  color: #94a3b8;
  text-align: center;
  padding: 1rem;
}
.text-error {
  color: #fca5a5;
  text-align: center;
  padding: 1rem;
}


/* Deep‑purple scrollbar for the public directory view */
#chatFullView::-webkit-scrollbar {
  width: 8px;
}
#chatFullView::-webkit-scrollbar-track {
  background: #1e293b;
  border-radius: 4px;
}
#chatFullView::-webkit-scrollbar-thumb {
  background: #7e22ce;
  border-radius: 4px;
}
#chatFullView::-webkit-scrollbar-thumb:hover {
  background: #9333ea;
}

/* Firefox */
#chatFullView {
  scrollbar-color: #7e22ce #1e293b;
  scrollbar-width: thin;
}