/* Velora Luxe — Eva Concierge Styles */
/* ── EVA LAUNCHER ── */
.eva-launcher {
  position: fixed;
  bottom: 104px;
  right: 28px;
  width: 64px;
  height: 64px;
  z-index: 950;
  cursor: pointer;
}
.eva-pulse-ring {
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid rgba(201,165,92,0.55);
  animation: evaPulse 2.2s ease-out infinite;
  pointer-events: none;
}
@keyframes evaPulse {
  0%  { transform: scale(1); opacity: 1; }
  100%{ transform: scale(1.5); opacity: 0; }
}
.eva-launcher-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(145deg, #0C1A30, #111E36);
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 28px rgba(201,165,92,0.4), 0 2px 8px rgba(0,0,0,0.5);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}
.eva-launcher-btn:hover {
  transform: scale(1.06);
  box-shadow: 0 8px 36px rgba(201,165,92,0.55);
}
.eva-launcher {
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.eva-launcher-e {
  font-family: 'Playfair Display', serif;
  font-size: 27px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  user-select: none;
}
.eva-notif-dot {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 12px;
  height: 12px;
  background: #E63B4A;
  border-radius: 50%;
  border: 2px solid var(--navy);
  animation: evaBlink 1.8s infinite;
}
@keyframes evaBlink { 0%,100%{opacity:1} 50%{opacity:0.3} }
.eva-tooltip {
  position: absolute;
  bottom: 72px;
  right: 0;
  background: #111827;
  color: var(--gold);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 5px 11px;
  border-radius: 6px;
  border: 1px solid rgba(201,165,92,0.3);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(4px);
  transition: all 0.2s;
  pointer-events: none;
}
.eva-launcher:hover .eva-tooltip { opacity: 1; transform: translateY(0); }

/* ── EVA PANEL ── */
.eva-panel {
  position: fixed;
  bottom: 112px;
  right: 20px;
  width: 390px;
  height: 590px;
  max-height: 82vh;
  background: #091422;
  border-radius: 22px;
  border: 1px solid rgba(201,165,92,0.28);
  box-shadow: 0 28px 90px rgba(0,0,0,0.75), 0 0 0 1px rgba(201,165,92,0.08), inset 0 1px 0 rgba(255,255,255,0.05);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 945;
  transform: translateY(calc(100% + 140px)) scale(0.93);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.42s cubic-bezier(0.34,1.38,0.64,1), opacity 0.28s ease;
}
.eva-panel.open {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: all;
}

/* Header */
.eva-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 18px 14px;
  background: linear-gradient(135deg, #0A1828 0%, #0D2040 100%);
  border-bottom: 1px solid rgba(201,165,92,0.18);
  flex-shrink: 0;
  cursor: grab;
  user-select: none;
}
.eva-hdr:active { cursor: grabbing; }
.eva-hdr button { cursor: pointer; }
/* Drag handle dots */
.eva-drag-dots {
  display: flex;
  gap: 3px;
  opacity: 0.3;
  margin-right: 4px;
  flex-shrink: 0;
}
.eva-drag-dots span {
  display: block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold);
}
/* Dragged state — panel detaches cleanly */
.eva-panel.dragged {
  bottom: auto !important;
  right: auto !important;
  transition: opacity 0.28s ease !important;
}
.eva-hdr-left { display: flex; align-items: center; gap: 11px; }
.eva-av-wrap { position: relative; flex-shrink: 0; }
.eva-av {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #C9A55C 0%, #E8C97A 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
}
.eva-online {
  position: absolute;
  bottom: 1px;
  right: 1px;
  width: 11px;
  height: 11px;
  background: #25D366;
  border-radius: 50%;
  border: 2px solid #0A1828;
}
.eva-hdr-name {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.1;
}
.eva-hdr-role { font-size: 10.5px; color: var(--gold); letter-spacing: 0.5px; font-weight: 500; }
.eva-hdr-right { display: flex; gap: 8px; }
.eva-hdr-btn {
  background: rgba(255,255,255,0.07);
  border: none;
  color: rgba(255,255,255,0.55);
  width: 30px; height: 30px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.18s;
}
.eva-hdr-btn:hover { background: rgba(255,255,255,0.14); color: var(--white); }

/* Messages */
.eva-msgs {
  flex: 1;
  overflow-y: auto;
  padding: 14px 14px 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scroll-behavior: smooth;
}
.eva-msgs::-webkit-scrollbar { width: 3px; }
.eva-msgs::-webkit-scrollbar-thumb { background: rgba(201,165,92,0.25); border-radius: 2px; }

/* Message rows */
.eva-row { display: flex; gap: 8px; align-items: flex-end; }
.eva-row.user { flex-direction: row-reverse; }
.eva-row-av {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #C9A55C, #E8C97A);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 11px; font-weight: 700;
  color: var(--navy);
  flex-shrink: 0;
}
.eva-bubble {
  max-width: 78%;
  padding: 10px 13px;
  font-size: 13.5px;
  line-height: 1.55;
  word-break: break-word;
}
.eva-row.bot .eva-bubble {
  background: #132030;
  color: rgba(255,255,255,0.88);
  border-radius: 16px 16px 16px 3px;
  border: 1px solid rgba(255,255,255,0.07);
}
.eva-row.user .eva-bubble {
  background: linear-gradient(135deg, #C9A55C, #B59040);
  color: #080E1D;
  font-weight: 500;
  border-radius: 16px 16px 3px 16px;
}

/* Typing indicator */
.eva-typing {
  background: #132030;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px 16px 16px 3px;
  padding: 13px 16px;
  display: flex; gap: 5px; align-items: center;
}
.tdot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  animation: tdot 1.3s infinite ease-in-out;
}
.tdot:nth-child(2) { animation-delay: 0.18s; }
.tdot:nth-child(3) { animation-delay: 0.36s; }
@keyframes tdot { 0%,60%,100%{transform:translateY(0);opacity:0.35} 30%{transform:translateY(-5px);opacity:1} }

/* Yacht suggestion card inside chat */
.eva-yacht-card {
  background: linear-gradient(135deg, #162438, #0F1C30);
  border: 1px solid rgba(201,165,92,0.28);
  border-radius: 10px;
  padding: 12px 14px;
  margin-top: 6px;
  cursor: pointer;
  transition: all 0.2s;
}
.eva-yacht-card:hover { border-color: var(--gold); transform: translateY(-1px); }
.eva-yc-name { font-family: 'Playfair Display', serif; font-size: 14px; color: var(--gold); margin-bottom: 3px; }
.eva-yc-detail { font-size: 12px; color: rgba(255,255,255,0.6); margin-bottom: 8px; }
.eva-yc-price { font-size: 13px; font-weight: 600; color: var(--white); }
.eva-yc-book {
  display: inline-block;
  margin-top: 8px;
  background: var(--gold);
  color: var(--navy);
  font-size: 11px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 6px 14px; border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s;
}
.eva-yc-book:hover { background: var(--gold-light); }

/* Escalation card */
.eva-escalation {
  background: linear-gradient(135deg, #0D2A1A, #061A10);
  border: 1px solid rgba(37,211,102,0.35);
  border-radius: 10px;
  padding: 14px;
  margin-top: 6px;
}
.eva-esc-title { font-size: 12px; color: #25D366; font-weight: 600; letter-spacing: 0.5px; margin-bottom: 6px; }
.eva-esc-text { font-size: 12.5px; color: rgba(255,255,255,0.75); margin-bottom: 10px; line-height: 1.5; }
.eva-esc-btn {
  display: flex; align-items: center; gap: 8px;
  background: #25D366;
  color: #fff;
  border: none; border-radius: 6px;
  padding: 9px 14px;
  font-size: 13px; font-weight: 600;
  cursor: pointer; width: 100%;
  justify-content: center;
  text-decoration: none;
  transition: background 0.2s;
}
.eva-esc-btn:hover { background: #1FB958; }

/* Quick Replies */
.eva-qrs {
  padding: 8px 12px 6px;
  display: flex; gap: 7px;
  overflow-x: auto; flex-shrink: 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.eva-qrs::-webkit-scrollbar { height: 0; }
.eva-qr {
  background: rgba(201,165,92,0.09);
  border: 1px solid rgba(201,165,92,0.32);
  color: var(--gold);
  font-size: 12px; font-weight: 500;
  font-family: 'Inter', sans-serif;
  padding: 6px 12px;
  border-radius: 20px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.18s;
  flex-shrink: 0;
}
.eva-qr:hover { background: var(--gold); color: var(--navy); }

/* Input */
.eva-inp-area {
  padding: 10px 13px 12px;
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex; gap: 9px; align-items: center;
  background: #091422;
  flex-shrink: 0;
}
.eva-inp {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 22px;
  padding: 9px 15px;
  color: var(--white);
  font-size: 13.5px;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color 0.2s;
}
.eva-inp::placeholder { color: rgba(255,255,255,0.3); }
.eva-inp:focus { border-color: rgba(201,165,92,0.5); }
.eva-send {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--gold);
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s; flex-shrink: 0;
}
.eva-send:hover { background: var(--gold-light); transform: scale(1.06); }
.eva-send svg { width: 17px; height: 17px; fill: var(--navy); }

/* Footer bar */
.eva-foot {
  padding: 5px 14px 8px;
  text-align: center;
  font-size: 9.5px;
  color: rgba(255,255,255,0.18);
  letter-spacing: 0.5px;
  background: #091422;
  flex-shrink: 0;
}
.eva-foot a { color: rgba(201,165,92,0.4); text-decoration: none; }

/* ── YACHT IMAGE CARDS IN CHAT ── */
.eva-img-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
  margin-left: 34px;
  margin-top: 6px;
}
.eva-img-strip::-webkit-scrollbar { display: none; }
.eva-img-card {
  width: 112px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(201,165,92,0.22);
  background: #0e1e30;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.eva-img-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}
.eva-img-card img {
  width: 100%;
  height: 70px;
  object-fit: cover;
  display: block;
}
.eva-img-card-label {
  font-size: 9.5px;
  font-weight: 600;
  color: var(--gold);
  padding: 5px 7px 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.2px;
}
.eva-img-card-price {
  font-size: 9px;
  color: rgba(255,255,255,0.45);
  padding: 0 7px 6px;
}

/* ── FULL-SCREEN LIGHTBOX ── */
.eva-lb {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(4,9,20,0.95);
  backdrop-filter: blur(18px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  cursor: pointer;
  padding: 24px;
}
.eva-lb.open {
  opacity: 1;
  pointer-events: all;
}
.eva-lb-inner {
  cursor: default;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 780px;
  width: 100%;
  animation: lbScale 0.38s cubic-bezier(0.34,1.36,0.64,1);
}
@keyframes lbScale {
  from { transform: scale(0.86); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}
.eva-lb-img {
  width: 100%;
  max-height: 54vh;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 20px 80px rgba(0,0,0,0.8);
  display: block;
}
.eva-lb-info { text-align: center; width: 100%; }
.eva-lb-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: var(--white);
  font-weight: 600;
  margin-bottom: 8px;
}
.eva-lb-prices {
  color: rgba(255,255,255,0.55);
  font-size: 13px;
  margin-bottom: 18px;
  line-height: 2;
}
.eva-lb-prices span { margin: 0 4px; }
.eva-lb-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.eva-lb-book {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--navy);
  padding: 13px 30px;
  border-radius: 7px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.4px;
  transition: background 0.2s;
}
.eva-lb-book:hover { background: var(--gold-light); }
.eva-lb-close {
  position: fixed;
  top: 20px;
  right: 24px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.75);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  z-index: 2001;
}
.eva-lb-close:hover { background: rgba(255,255,255,0.18); color: var(--white); }
@media (max-width: 600px) {
  .eva-lb-inner { gap: 14px; }
  .eva-lb-img   { max-height: 40vh; }
  .eva-lb-title { font-size: 17px; }
  .eva-lb-prices { font-size: 11px; }
}

/* ── PAYMENT MODAL ── */
.eva-pay-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.88);
  backdrop-filter: blur(10px);
  z-index: 1200;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
.eva-pay-overlay.open { opacity: 1; pointer-events: all; }

.eva-pay-card {
  background: #091422;
  border: 1px solid rgba(201,165,92,0.32);
  border-radius: 22px;
  width: 100%; max-width: 460px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 40px 120px rgba(0,0,0,0.85);
  animation: paySlideIn 0.38s cubic-bezier(0.34,1.36,0.64,1);
}
@keyframes paySlideIn { from{transform:scale(0.9) translateY(20px);opacity:0} to{transform:scale(1) translateY(0);opacity:1} }

.eva-pay-hdr {
  background: linear-gradient(135deg, #0A1828, #0D2040);
  padding: 22px 24px 18px;
  border-bottom: 1px solid rgba(201,165,92,0.18);
  display: flex; align-items: flex-start; justify-content: space-between;
  border-radius: 22px 22px 0 0;
}
.eva-pay-hdr-text {}
.eva-pay-hdr h3 { font-family: 'Playfair Display', serif; font-size: 20px; color: var(--white); margin-bottom: 3px; }
.eva-pay-hdr span { font-size: 11px; color: var(--gold); letter-spacing: 1px; }
.eva-pay-close {
  background: rgba(255,255,255,0.08);
  border: none; color: rgba(255,255,255,0.6);
  width: 32px; height: 32px; border-radius: 50%;
  cursor: pointer; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.18s; flex-shrink: 0;
}
.eva-pay-close:hover { background: rgba(255,255,255,0.16); color: var(--white); }

/* Booking summary */
.eva-pay-summary {
  margin: 18px 22px;
  background: rgba(201,165,92,0.06);
  border: 1px solid rgba(201,165,92,0.2);
  border-radius: 12px;
  padding: 16px;
}
.eva-pay-summary h4 { font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; font-weight: 600; }
.sum-row { display: flex; justify-content: space-between; font-size: 13px; padding: 4px 0; color: rgba(255,255,255,0.75); }
.sum-row strong { color: var(--white); font-weight: 600; }
.sum-total {
  display: flex; justify-content: space-between;
  font-size: 18px; padding-top: 12px; margin-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: var(--gold);
  font-family: 'Playfair Display', serif; font-weight: 700;
}
.sum-deposit-note { font-size: 11px; color: rgba(255,255,255,0.35); margin-top: 8px; text-align: center; }

.pay-methods-title {
  font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase;
  color: rgba(255,255,255,0.35); padding: 0 22px 12px;
  font-weight: 600;
}

.eva-pay-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  padding: 0 22px 22px;
}

.pay-opt {
  display: flex; flex-direction: column; align-items: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 13px;
  padding: 16px 10px 12px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  text-align: center;
  gap: 0;
}
.pay-opt:hover { background: rgba(255,255,255,0.09); border-color: rgba(255,255,255,0.22); transform: translateY(-2px); }

.pay-logo {
  width: 46px; height: 46px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 9px; font-weight: 800;
  font-size: 20px; letter-spacing: -1px;
  flex-shrink: 0;
}

.pay-lbl { font-size: 12.5px; font-weight: 600; color: var(--white); margin-bottom: 3px; }
.pay-hdl { font-size: 10.5px; color: rgba(255,255,255,0.38); word-break: break-all; }

.pay-or-divider {
  display: flex; align-items: center; gap: 12px;
  padding: 0 22px 16px;
  color: rgba(255,255,255,0.2); font-size: 11px;
}
.pay-or-divider::before,.pay-or-divider::after {
  content: ''; flex: 1; height: 1px;
  background: rgba(255,255,255,0.08);
}

.pay-wa-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin: 0 22px 10px;
  background: #25D366; color: #fff;
  border: none; border-radius: 10px;
  padding: 13px; font-size: 14px; font-weight: 700;
  cursor: pointer; width: calc(100% - 44px);
  text-decoration: none;
  transition: background 0.2s;
}
.pay-wa-btn:hover { background: #1FB958; }

.pay-foot-note {
  text-align: center; font-size: 11px;
  color: rgba(255,255,255,0.25);
  padding: 0 22px 20px; line-height: 1.65;
}
.pay-security { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 6px; color: rgba(255,255,255,0.2); font-size: 10px; }

/* ── TABLET (600–900px) ── */
@media (min-width: 601px) and (max-width: 900px) {
  .eva-panel {
    width: min(420px, calc(100vw - 32px));
    height: min(640px, calc(100dvh - 120px));
    max-height: none;
  }
}

/* ── MOBILE (≤600px) — full-screen sheet ── */
@media (max-width: 600px) {
  .eva-panel {
    width: 100vw;
    right: 0;
    bottom: 0;
    height: calc(100dvh - 68px);
    max-height: none;
    border-radius: 20px 20px 0 0;
    border-left: none;
    border-right: none;
    border-bottom: none;
  }
  /* Disable drag on mobile — panel is already full width */
  .eva-hdr { cursor: default; }
  .eva-drag-dots { display: none; }
  .eva-launcher { bottom: 16px; right: 16px; }
  .eva-pay-grid { grid-template-columns: 1fr 1fr; }
  /* Larger tap targets in chat */
  .eva-inp { font-size: 16px; } /* prevents iOS zoom */
  .eva-qr { font-size: 11px; padding: 7px 12px; }
  /* Lightbox stacks on mobile */
  .eva-lb-inner { flex-direction: column; }
  .eva-lb-img { width: 100%; height: 220px; object-fit: cover; border-radius: 12px 12px 0 0; }
  .eva-lb-info { padding: 20px 20px 28px; }
}
