/* Fresi Concierge — widget styles. Navy + gold, theme-agnostic. */
.fc-panel[hidden],
.fc-overlay[hidden] { display: none !important; }
.fc-launch {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 99998;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 20px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #c8a24a, #a9853a);
  color: #fff;
  font: 600 15px/1.2 Georgia, 'Times New Roman', serif;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 24px rgba(14, 42, 71, 0.35);
  cursor: pointer;
}
.fc-launch:hover { filter: brightness(1.07); }
.fc-launch-dot { font-size: 13px; }

.fc-overlay {
  position: fixed;
  inset: 0;
  z-index: 99998;
  background: rgba(10, 25, 41, 0.45);
}
.fc-panel {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  width: 400px;
  max-width: calc(100vw - 24px);
  height: 620px;
  max-height: calc(100vh - 40px);
  background: #fdfcf9;
  border: 1px solid #e5ddcb;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(14, 42, 71, 0.4);
  overflow: hidden;
  font-family: -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: #22303e;
}
.fc-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px 8px;
  background: #0e2a47;
  color: #fff;
}
.fc-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #c8a24a;
  color: #0e2a47;
  display: flex;
  align-items: center;
  justify-content: center;
  font: 700 18px Georgia, serif;
  flex: none;
}
.fc-identity { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.fc-identity strong { font: 600 16px Georgia, serif; letter-spacing: 0.01em; }
.fc-identity span { font-size: 12px; color: #cfd9e4; }
.fc-tools { display: flex; gap: 4px; }
.fc-icon {
  border: none;
  background: transparent;
  color: inherit;
  font-size: 17px;
  line-height: 1;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  cursor: pointer;
}
.fc-icon:hover { background: rgba(127, 140, 155, 0.18); }
.fc-header .fc-icon { color: #fff; }
.fc-tagline {
  margin: 0;
  padding: 6px 16px 8px;
  background: #0e2a47;
  color: #e8dfc8;
  font: italic 12.5px Georgia, serif;
}
.fc-progress { padding: 10px 16px 4px; }
.fc-progress-label { font-size: 12px; font-weight: 600; color: #7a6a3f; text-transform: uppercase; letter-spacing: 0.06em; }
.fc-progress-dots { display: flex; gap: 4px; margin-top: 6px; }
.fc-progress-dots i { flex: 1; height: 4px; border-radius: 2px; background: #e5ddcb; }
.fc-progress-dots i.complete { background: #c8a24a; }

.fc-body { flex: 1; overflow-y: auto; padding: 12px 16px; }
.fc-msg { display: flex; margin: 0 0 10px; }
.fc-msg-assistant { justify-content: flex-start; }
.fc-msg-user { justify-content: flex-end; }
.fc-bubble {
  max-width: 85%;
  padding: 10px 13px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.45;
  white-space: pre-wrap;
  word-wrap: break-word;
}
.fc-msg-assistant .fc-bubble { background: #f0ead9; border-bottom-left-radius: 4px; }
.fc-msg-user .fc-bubble { background: #0e2a47; color: #fff; border-bottom-right-radius: 4px; }
.fc-safety { font-size: 11.5px; color: #8a7a4d; margin: 2px 0 12px; }

.fc-entry { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.fc-entry-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid #d9cfb4;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #0e2a47;
  cursor: pointer;
  text-align: left;
}
.fc-entry-btn:hover { border-color: #c8a24a; background: #fbf7ec; }
.fc-hours { font-size: 12.5px; color: #5d6a76; line-height: 1.6; margin: 6px 0 0; }
.fc-hours a { color: #0e2a47; }

.fc-controls { margin: 4px 0 8px; }
.fc-choices { border: none; margin: 0 0 12px; padding: 0; }
.fc-choices legend { font-size: 12px; font-weight: 600; color: #5d6a76; margin-bottom: 6px; padding: 0; }
.fc-chip-row { display: flex; flex-wrap: wrap; gap: 6px; }
.fc-chip {
  padding: 7px 12px;
  border: 1px solid #cbbd93;
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  color: #33475c;
  cursor: pointer;
}
.fc-chip:hover { border-color: #c8a24a; }
.fc-chip.selected { background: #0e2a47; border-color: #0e2a47; color: #fff; }
.fc-field { display: block; margin: 0 0 12px; }
.fc-field span { display: block; font-size: 12px; font-weight: 600; color: #5d6a76; margin-bottom: 5px; }
.fc-field input {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1px solid #cfc5a8;
  border-radius: 10px;
  font-size: 14px;
  background: #fff;
  color: #22303e;
}
.fc-field input:focus { outline: 2px solid #c8a24a; outline-offset: 0; border-color: #c8a24a; }

.fc-footer { padding: 10px 16px 14px; }
.fc-nav { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.fc-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid #cbbd93;
  background: #fff;
  color: #0e2a47;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}
.fc-btn:hover { border-color: #c8a24a; }
.fc-btn-gold { background: linear-gradient(135deg, #c8a24a, #a9853a); border-color: transparent; color: #fff; }
.fc-btn-gold:hover { filter: brightness(1.07); }
.fc-btn-gold:disabled { opacity: 0.6; cursor: wait; }
.fc-btn-quiet { border-color: transparent; color: #5d6a76; }
.fc-error {
  margin: 0;
  padding: 8px 16px;
  font-size: 13px;
  color: #8c1d18;
  background: #fbeae8;
}

.fc-review-title { font: 600 17px Georgia, serif; color: #0e2a47; margin: 6px 0 4px; }
.fc-review-intro { font-size: 13px; color: #5d6a76; margin: 0 0 10px; }
.fc-review-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  padding: 9px 10px;
  background: #fff;
  border: 1px solid #e5ddcb;
  border-radius: 10px;
  margin-bottom: 7px;
}
.fc-review-row strong { font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; color: #7a6a3f; }
.fc-review-row p { margin: 3px 0 0; font-size: 13.5px; }
.fc-review-row .fc-icon { color: #7a6a3f; flex: none; }
.fc-send { width: 100%; justify-content: center; margin: 6px 0 8px; }

.fc-confirm { text-align: left; background: #fff; border: 1px solid #e5ddcb; border-radius: 14px; padding: 16px; }
.fc-check {
  width: 38px; height: 38px; border-radius: 50%;
  background: #2e7d4f; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 19px; margin-bottom: 10px;
}
.fc-confirm h3 { font: 600 17px Georgia, serif; color: #0e2a47; margin: 0 0 6px; }
.fc-confirm p { font-size: 13.5px; line-height: 1.55; margin: 0 0 12px; }
.fc-contact-links { display: flex; flex-direction: column; gap: 8px; }
.fc-contact-links .fc-btn { justify-content: center; }

@media (max-width: 480px) {
  .fc-panel { right: 0; bottom: 0; width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; border-radius: 0; }
  .fc-launch { right: 14px; bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .fc-launch, .fc-chip, .fc-btn { transition: none; }
}
