/* BlueLoop WhatsApp Widget v2 — Velora Systems */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600;700&family=Fraunces:ital,wght@0,300;0,600;1,300&display=swap');

/* ═══ TOKENS ═══════════════════════════════════════════════ */
:root {
  --blw-accent:    #0EA5E9;
  --blw-accent2:   #0284C7;
  --blw-dark:      #0C1B2E;
  --blw-mid:       #1E3A5F;
  --blw-surface:   #FFFFFF;
  --blw-muted:     #F8FAFB;
  --blw-border:    #E4EBF0;
  --blw-text:      #0C1B2E;
  --blw-sub:       #64748B;
  --blw-r:         14px;
  --blw-font-body: 'DM Sans', system-ui, sans-serif;
  --blw-font-disp: 'Fraunces', Georgia, serif;
  --blw-shadow:    0 24px 64px rgba(12,27,46,.16), 0 4px 16px rgba(12,27,46,.08);
}

/* ═══ POSITION WRAP ═══════════════════════════════════════ */
#blw-wrap {
  position: fixed;
  z-index: 9999999;
  font-family: var(--blw-font-body);
}
.blw-bottom-right { bottom: 28px; right: 28px; }
.blw-bottom-left  { bottom: 28px; left: 28px;  }

/* ═══ BUBBLE — perfectly round ════════════════════════════ */
#blw-bubble {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #0bbcd4;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(11,188,212,.55), 0 2px 6px rgba(0,0,0,.12);
  transition: transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .25s ease;
  color: white;
}
#blw-bubble:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 28px rgba(11,188,212,.65);
}
#blw-bubble:active { transform: scale(.95); }

.blw-icon-wa { width: 30px; height: 30px; fill: white; }

.blw-bubble-ping {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #F43F5E;
  border: 2.5px solid white;
  animation: blw-ping 2.4s ease-in-out infinite;
}
@keyframes blw-ping {
  0%,100% { transform: scale(1);   opacity: 1; }
  50%      { transform: scale(1.5); opacity: .6; }
}

/* ═══ MODAL OVERLAY ═══════════════════════════════════════ */
#blw-modal {
  position: fixed;
  inset: 0;
  background: rgba(6,14,26,.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 28px;
  z-index: 9999998;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
}
.blw-bottom-left #blw-modal { justify-content: flex-start; }

#blw-modal.blw-open {
  opacity: 1;
  pointer-events: all;
}

/* ═══ MODAL BOX ════════════════════════════════════════════ */
#blw-modal-box {
  width: 400px;
  max-width: calc(100vw - 32px);
  max-height: calc(100dvh - 96px);
  background: var(--blw-surface);
  border-radius: 20px;
  box-shadow: var(--blw-shadow);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(24px) scale(.98);
  transition: transform .3s cubic-bezier(.34,1.56,.64,1);
  border: 1px solid rgba(255,255,255,.6);
}
#blw-modal.blw-open #blw-modal-box {
  transform: translateY(0) scale(1);
}

/* ═══ HEADER ═══════════════════════════════════════════════ */
.blw-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: var(--blw-dark);
  color: white;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  min-height: 0;
}
/* subtle accent glow — top right only */
.blw-header::after {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 130px; height: 130px;
  border-radius: 50%;
  background: var(--blw-accent);
  opacity: .1;
  pointer-events: none;
}
/* remove the wave ::before that was masking content */
.blw-header::before { display: none; }

.blw-header-left { display: flex; align-items: center; gap: 10px; position: relative; z-index: 2; }

.blw-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(11,188,212,.18);
  border: 1.5px solid rgba(11,188,212,.45);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}
.blw-avatar svg {
  width: 22px; height: 22px;
  fill: #0bbcd4;
}

.blw-header-name {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.15;
  font-family: var(--blw-font-disp);
  color: white;
}
.blw-header-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: rgba(255,255,255,.55);
  margin-top: 1px;
}
.blw-status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 0 2px rgba(34,197,94,.2);
}

#blw-close {
  position: relative; z-index: 2;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.8);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background .15s, color .15s;
}
#blw-close svg { width: 10px; height: 10px; }
#blw-close:hover { background: rgba(255,255,255,.22); color: white; }

/* ═══ TABS ═════════════════════════════════════════════════ */
.blw-tabs {
  display: flex;
  background: white;
  border-bottom: 1px solid var(--blw-border);
  padding: 0 4px;
  flex-shrink: 0;
}
.blw-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 11px 6px;
  border: none;
  background: transparent;
  font-family: var(--blw-font-body);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--blw-sub);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
  white-space: nowrap;
  letter-spacing: .01em;
}
.blw-tab svg { width: 13px; height: 13px; opacity: .7; transition: opacity .2s; }
.blw-tab:hover { color: var(--blw-dark); }
.blw-tab.active { color: var(--blw-accent); border-bottom-color: var(--blw-accent); }
.blw-tab.active svg { opacity: 1; stroke: var(--blw-accent); }

/* ═══ PANELS ════════════════════════════════════════════════ */
.blw-panels { flex: 1; overflow-y: auto; overscroll-behavior: contain; }
.blw-panels::-webkit-scrollbar { width: 4px; }
.blw-panels::-webkit-scrollbar-track { background: transparent; }
.blw-panels::-webkit-scrollbar-thumb { background: var(--blw-border); border-radius: 4px; }

.blw-panel { display: none; animation: blw-fadein .18s ease; }
.blw-panel.active { display: block; }
@keyframes blw-fadein { from { opacity:0; transform:translateY(4px); } to { opacity:1; transform:translateY(0); } }

/* ═══ SEARCH PANEL ══════════════════════════════════════════ */
.blw-search-head { padding: 16px 16px 0; }

#blw-results { padding: 8px 16px 16px; }

.blw-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 16px 20px;
}
.blw-empty-graphic { margin-bottom: 12px; }
.blw-empty-title {
  font-family: var(--blw-font-disp);
  font-size: 16px;
  font-weight: 600;
  color: var(--blw-dark);
  margin: 0 0 6px;
}
.blw-empty-sub {
  font-size: 12px;
  color: var(--blw-sub);
  line-height: 1.55;
  max-width: 260px;
  margin: 0;
}

/* Search results */
.blw-results-list { display: flex; flex-direction: column; gap: 10px; }

/* ── Result Card — single row layout ── */
.blw-result-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: white;
  border: 1px solid var(--blw-border);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s;
  text-decoration: none;
}
.blw-result-card:hover {
  border-color: var(--blw-accent);
  box-shadow: 0 3px 12px rgba(14,165,233,.08);
}

/* Thumbnail — square, left side */
.blw-rc-thumb {
  width: 52px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}
.blw-rc-placeholder {
  width: 52px;
  height: 48px;
  border-radius: 8px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--blw-dark) 0%, var(--blw-mid) 60%, var(--blw-accent) 100%);
  display: flex; align-items: center; justify-content: center;
}
.blw-rc-placeholder svg { width: 20px; height: 20px; opacity: .5; color: white; }

/* Body — title + meta, grows to fill space */
.blw-rc-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
}

.blw-rc-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--blw-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
  letter-spacing: -.01em;
  line-height: 1.3;
}
.blw-rc-meta {
  font-size: 11px;
  color: var(--blw-sub);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  overflow: hidden;
}
.blw-rc-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--blw-border); flex-shrink: 0; }
.blw-rc-price {
  font-size: 11px;
  font-weight: 700;
  color: var(--blw-accent);
}

/* Actions — right side, vertical stack of two buttons */
.blw-rc-actions {
  display: flex;
  flex-direction: row;
  gap: 6px;
  align-items: center;
  flex-shrink: 0;
}

.blw-rc-btn {
  font-family: var(--blw-font-body);
  font-size: 11px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 6px;
  border: 1.5px solid;
  cursor: pointer;
  transition: all .15s;
  letter-spacing: .01em;
  line-height: 1.4;
  white-space: nowrap;
}
/* Book — teal outline */
.blw-rc-btn-book {
  border-color: var(--blw-accent);
  color: var(--blw-accent);
  background: transparent;
}
.blw-rc-btn-book:hover { background: var(--blw-accent); color: white; }
/* Enquire — grey outline */
.blw-rc-btn-enq {
  border-color: var(--blw-border);
  color: var(--blw-sub);
  background: transparent;
}
.blw-rc-btn-enq:hover { border-color: var(--blw-sub); color: var(--blw-dark); }

/* spinner */
.blw-loading {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 24px; color: var(--blw-sub); font-size: 12.5px;
}
.blw-spinner {
  width: 16px; height: 16px;
  border: 2px solid var(--blw-border);
  border-top-color: var(--blw-accent);
  border-radius: 50%;
  animation: blw-spin .55s linear infinite;
}
@keyframes blw-spin { to { transform: rotate(360deg); } }

/* no results */
.blw-no-results {
  text-align: center;
  padding: 24px 16px;
  font-size: 13px;
  color: var(--blw-sub);
}

/* ═══ FORMS — shared styles ════════════════════════════════ */
.blw-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 12px;
  padding: 16px 16px 4px;
}
.blw-full { grid-column: 1 / -1; }

.blw-field {
  margin-bottom: 12px;
}
.blw-field label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--blw-sub);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 5px;
}
.blw-opt {
  font-size: 10px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--blw-border);
}

/* all inputs */
#blw-wrap input[type="text"],
#blw-wrap input[type="tel"],
#blw-wrap input[type="date"],
#blw-wrap input[type="email"],
#blw-wrap input[type="number"],
#blw-wrap select,
#blw-wrap textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1.5px solid var(--blw-border);
  border-radius: 10px;
  padding: 0 12px;
  height: 40px;
  font-family: var(--blw-font-body);
  font-size: 13px;
  color: var(--blw-text);
  background: white;
  outline: none;
  transition: border-color .18s, box-shadow .18s;
  -webkit-appearance: none;
  appearance: none;
  line-height: normal;
  vertical-align: middle;
}
#blw-wrap textarea {
  height: auto;
  padding: 10px 12px;
  line-height: 1.5;
}
#blw-wrap input::placeholder,
#blw-wrap textarea::placeholder {
  color: #B0C4CE;
  font-size: 12.5px;
}
#blw-wrap input:focus,
#blw-wrap select:focus,
#blw-wrap textarea:focus {
  border-color: var(--blw-accent);
  box-shadow: 0 0 0 3px rgba(14,165,233,.1);
}
#blw-wrap select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2394a3b8' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 11px center;
  padding-right: 30px;
  cursor: pointer;
}
#blw-wrap textarea { resize: none; min-height: 68px; line-height: 1.5; height: auto; }

/* search field with icon */
.blw-search-field .blw-input-icon-wrap {
  position: relative;
}
.blw-search-field .blw-ico {
  position: absolute;
  left: 11px; top: 50%;
  transform: translateY(-50%);
  width: 14px; height: 14px;
  color: var(--blw-sub);
  pointer-events: none;
}
.blw-search-field input { padding-left: 36px !important; height: 40px !important; }
.blw-clear-btn {
  position: absolute;
  right: 10px; top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: var(--blw-sub);
  width: 18px; height: 18px;
  display: flex; align-items: center; justify-content: center;
  background: none; border: none; padding: 0;
}
.blw-clear-btn svg { width: 10px; height: 10px; }

/* filter row */
.blw-filter-row { margin-top: 8px; }
.blw-filter-row select { margin: 0; }

/* phone row */
.blw-phone-row {
  display: flex;
  align-items: stretch;
  border: 1.5px solid var(--blw-border);
  border-radius: 10px;
  overflow: hidden;
  background: white;
  transition: border-color .18s, box-shadow .18s;
  height: 40px;
}
.blw-phone-row:focus-within {
  border-color: var(--blw-accent);
  box-shadow: 0 0 0 3px rgba(14,165,233,.1);
}
.blw-country-code {
  padding: 0 10px;
  display: flex; align-items: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--blw-sub);
  background: var(--blw-muted);
  border-right: 1.5px solid var(--blw-border);
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: .01em;
  min-width: 48px;
  justify-content: center;
}
.blw-phone-row input {
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  flex: 1;
  height: 100%;
  padding: 0 12px !important;
  font-size: 13px;
}

/* stepper */
.blw-stepper {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--blw-border);
  border-radius: 10px;
  overflow: hidden;
  background: white;
  height: 40px;
}
.blw-step {
  width: 36px; height: 100%;
  border: none;
  background: var(--blw-muted);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
  flex-shrink: 0;
  color: var(--blw-text);
}
.blw-step:hover { background: var(--blw-border); }
.blw-step svg { width: 10px; }
.blw-step-val {
  flex: 1;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--blw-dark);
  letter-spacing: -.01em;
}

/* duration pill */
.blw-duration-pill {
  height: 40px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border: 1.5px solid var(--blw-border);
  border-radius: 10px;
  font-size: 12.5px;
  color: var(--blw-sub);
  background: var(--blw-muted);
  font-weight: 500;
}
.blw-duration-pill.active {
  color: var(--blw-accent);
  border-color: rgba(14,165,233,.3);
  background: rgba(14,165,233,.05);
  font-weight: 700;
}

/* listing preview inside booking */
.blw-listing-preview {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 12px 16px 0;
  padding: 11px 13px;
  background: linear-gradient(135deg, rgba(14,165,233,.06), rgba(14,165,233,.02));
  border: 1px solid rgba(14,165,233,.2);
  border-radius: 12px;
  position: relative;
}
.blw-listing-preview img {
  width: 46px; height: 42px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}
.blw-lp-name { font-size: 13px; font-weight: 700; color: var(--blw-dark); line-height: 1.2; }
.blw-lp-loc  { font-size: 11px; color: var(--blw-sub); margin-top: 2px; }
.blw-lp-clear {
  position: absolute; top: 8px; right: 8px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--blw-border);
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--blw-sub);
  transition: background .15s;
}
.blw-lp-clear:hover { background: #e2e8f0; }
.blw-lp-clear svg { width: 8px; height: 8px; }

/* dropdown for autocomplete */
.blw-dropdown {
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: white;
  border: 1.5px solid var(--blw-border);
  border-radius: 11px;
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
  z-index: 200;
  overflow: hidden;
  margin-top: 4px;
}
.blw-dd-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  cursor: pointer;
  transition: background .12s;
  font-size: 12.5px;
  color: var(--blw-dark);
  font-weight: 500;
}
.blw-dd-item:hover { background: var(--blw-muted); }
.blw-dd-item img {
  width: 32px; height: 28px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}
.blw-dd-item .blw-dd-placeholder {
  width: 32px; height: 28px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--blw-mid), var(--blw-accent));
  flex-shrink: 0;
}

/* booking summary */
.blw-summary {
  margin: 0 16px 4px;
  padding: 11px 13px;
  background: var(--blw-dark);
  border-radius: 12px;
  color: white;
}
.blw-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  padding: 2px 0;
}
.blw-summary-row span { color: rgba(255,255,255,.5); font-size: 11px; }
.blw-summary-row strong { font-weight: 700; font-size: 12.5px; }

/* autocomplete wrap needs relative */
.blw-autocomplete-wrap { position: relative; }

/* ═══ WA icon in CTA buttons ════════════════════════════════ */
.blw-wa-ico {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  display: block;
}

/* ═══ ENQUIRY PILLS ═════════════════════════════════════════ */
.blw-pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 4px;
  cursor: default;
}
.blw-pill {
  padding: 5px 12px;
  border-radius: 50px;
  border: 1.5px solid var(--blw-border);
  background: white;
  font-family: var(--blw-font-body);
  font-size: 11px;
  font-weight: 600;
  color: var(--blw-sub);
  cursor: pointer;
  transition: all .15s;
  letter-spacing: .01em;
  user-select: none;
  -webkit-user-select: none;
  line-height: 1.4;
}
.blw-pill:hover { border-color: var(--blw-accent); color: var(--blw-accent); }
.blw-pill.active {
  background: var(--blw-accent);
  border-color: var(--blw-accent);
  color: white;
}

/* ═══ CTA BUTTON ════════════════════════════════════════════ */
.blw-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: calc(100% - 32px);
  margin: 4px 16px 16px;
  padding: 13px 16px;
  background: #25D366;
  color: white;
  border: none;
  border-radius: 12px;
  font-family: var(--blw-font-body);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
  letter-spacing: .01em;
  position: relative;
  overflow: hidden;
}
.blw-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #128C7E, #25D366);
  opacity: 0;
  transition: opacity .2s;
}
.blw-cta:hover::before { opacity: 1; }
.blw-cta > * { position: relative; z-index: 1; }
.blw-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(37,211,102,.4); }
.blw-cta:active { transform: translateY(0); }
.blw-cta:disabled { background: #94A3B8 !important; box-shadow: none; transform: none; cursor: not-allowed; }
.blw-cta:disabled::before { display: none; }
/* WhatsApp icon inside CTA */
.blw-cta .blw-wa-ico {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ═══ SUCCESS STATE ═════════════════════════════════════════ */
.blw-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 36px 24px 28px;
}
.blw-success-mark {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: rgba(34,197,94,.1);
  border: 2px solid rgba(34,197,94,.2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  animation: blw-pop .4s cubic-bezier(.34,1.56,.64,1);
}
.blw-success-mark svg { width: 26px; height: 26px; color: #22C55E; }
@keyframes blw-pop { from { transform:scale(.4); opacity:0; } to { transform:scale(1); opacity:1; } }
.blw-success-title {
  font-family: var(--blw-font-disp);
  font-size: 20px;
  font-weight: 600;
  color: var(--blw-dark);
  margin: 0 0 8px;
  letter-spacing: -.02em;
}
.blw-success-body {
  font-size: 13px;
  color: var(--blw-sub);
  line-height: 1.6;
  max-width: 280px;
  margin: 0 0 20px;
}
.blw-success-reset {
  padding: 10px 24px;
  border-radius: 50px;
  border: 1.5px solid var(--blw-border);
  background: transparent;
  color: var(--blw-sub);
  font-family: var(--blw-font-body);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s;
}
.blw-success-reset:hover { border-color: var(--blw-accent); color: var(--blw-accent); }

/* ═══ FOOTER ════════════════════════════════════════════════ */
.blw-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px 16px;
  border-top: 1px solid var(--blw-border);
  background: var(--blw-muted);
  font-size: 10px;
  color: var(--blw-sub);
  flex-shrink: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-wrap: nowrap;
}
.blw-footer span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.blw-footer-lock { width: 9px; height: 11px; color: var(--blw-sub); flex-shrink: 0; }
.blw-footer a {
  color: var(--blw-accent);
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
}
.blw-footer a:hover { text-decoration: underline; }

/* ═══ INPUT VALIDATION SHAKE ════════════════════════════════ */
@keyframes blw-shake {
  0%,100% { transform: translateX(0); }
  20%     { transform: translateX(-5px); }
  40%     { transform: translateX(4px); }
  60%     { transform: translateX(-3px); }
  80%     { transform: translateX(2px); }
}
.blw-invalid { animation: blw-shake .4s ease; border-color: #F43F5E !important; }

/* ═══ MOBILE ════════════════════════════════════════════════ */
@media (max-width: 480px) {
  #blw-modal {
    padding: 0;
    align-items: flex-end;
  }
  #blw-modal-box {
    width: 100%;
    max-width: 100%;
    max-height: 94dvh;
    border-radius: 20px 20px 0 0;
  }
  .blw-form { grid-template-columns: 1fr; }
  .blw-full { grid-column: 1; }
  .blw-bottom-right { right: 16px; bottom: 16px; }
  .blw-bottom-left  { left:  16px; bottom: 16px; }
}
