/* ════════════════════════════════════════════════════════════════
   BLAJET FIGMA — Complete Component Extension
   Adds all Figma-specific components to the base blajet.css
   Design: Dark Navy headers + White card content areas
   ════════════════════════════════════════════════════════════════ */

/* ── Page Shell ── */
.bj-page {
  min-height: 100vh;
  background: var(--gray-50);
  font-family: var(--font-family);
}
.bj-page-dark {
  background: var(--brand-dark);
}
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ════════════════════════════════════════════════════════════════
   SIDEBAR NAVIGATION (Imagen 10, 34)
   ════════════════════════════════════════════════════════════════ */
.bj-sidebar-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,0.5);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.bj-sidebar-overlay.open { opacity: 1; pointer-events: all; }
.bj-sidebar {
  position: fixed; top: 0; left: 0; bottom: 0;
  width: 300px; z-index: 1001;
  background: var(--white);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  display: flex; flex-direction: column;
  box-shadow: 4px 0 24px rgba(0,0,0,0.15);
}
.bj-sidebar.open { transform: translateX(0); }

.bj-sidebar-header {
  background: var(--primary-blue);
  padding: 2rem 1.5rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
}
.bj-sidebar-user {
  display: flex; align-items: center; gap: 1rem;
}
.bj-sidebar-avatar {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--accent-blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; font-weight: 700; color: #fff;
  border: 3px solid rgba(255,255,255,0.3);
  overflow: hidden;
}
.bj-sidebar-avatar img { width: 100%; height: 100%; object-fit: cover; }
.bj-sidebar-name { font-weight: 700; color: #fff; font-size: 1rem; }
.bj-sidebar-role { font-size: 0.75rem; color: rgba(255,255,255,0.65); margin-top: 2px; }
.bj-sidebar-close {
  background: none; border: none; color: rgba(255,255,255,0.7);
  cursor: pointer; font-size: 1.4rem; padding: 0;
  transition: color 0.2s;
}
.bj-sidebar-close:hover { color: #fff; }

.bj-sidebar-nav { flex: 1; overflow-y: auto; padding: 1rem 0; }
.bj-sidebar-item {
  display: flex; align-items: center; gap: 0.875rem;
  padding: 0.875rem 1.5rem;
  font-size: 0.95rem; font-weight: 500;
  color: var(--gray-700); text-decoration: none;
  transition: background 0.15s, color 0.15s;
  border: none; background: none; width: 100%; text-align: left; cursor: pointer;
}
.bj-sidebar-item:hover { background: var(--gray-50); color: var(--secondary-blue); }
.bj-sidebar-item.active { background: rgba(0,119,182,0.07); color: var(--secondary-blue); border-right: 3px solid var(--secondary-blue); }
.bj-sidebar-item svg, .bj-sidebar-item .si-icon { width: 22px; height: 22px; flex-shrink: 0; }
.bj-sidebar-item.danger { color: var(--danger); }
.bj-sidebar-item.danger:hover { background: rgba(217,4,41,0.05); }
.bj-sidebar-divider { height: 1px; background: var(--gray-100); margin: 0.5rem 1.5rem; }

/* ════════════════════════════════════════════════════════════════
   TOP NAVBAR — app-style (Imagen 7, 8, 10, 11)
   ════════════════════════════════════════════════════════════════ */
.bj-topbar {
  background: var(--primary-blue);
  padding: 0.875rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 100;
}
.bj-topbar-left { display: flex; align-items: center; gap: 0.75rem; }
.bj-topbar-title {
  font-size: 0.95rem; font-weight: 800; color: #fff;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.bj-topbar-right { display: flex; align-items: center; gap: 0.75rem; }
.bj-topbar-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--accent-blue);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1rem; font-weight: 700;
  cursor: pointer; overflow: hidden;
}
.bj-topbar-avatar img { width: 100%; height: 100%; object-fit: cover; }
.bj-icon-btn {
  background: none; border: none; cursor: pointer;
  color: rgba(255,255,255,0.8); padding: 0.4rem;
  display: flex; align-items: center; border-radius: 6px;
  transition: all 0.2s;
}
.bj-icon-btn:hover { color: #fff; background: rgba(255,255,255,0.1); }

/* ════════════════════════════════════════════════════════════════
   HOME — Search Form (Imagen 7, 11, 41)
   ════════════════════════════════════════════════════════════════ */
.bj-search-card {
  background: var(--white);
  border-radius: 0;
  padding: 1.25rem;
  border-bottom: 1px solid var(--gray-100);
}
.bj-search-field {
  display: flex; align-items: center;
  padding: 0.875rem 1rem;
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  margin-bottom: 0.75rem;
  cursor: pointer;
  transition: border-color 0.2s;
  background: var(--white);
  gap: 0.75rem;
}
.bj-search-field:hover { border-color: var(--secondary-blue); }
.bj-search-field.focused { border-color: var(--accent-blue); box-shadow: 0 0 0 3px rgba(0,180,216,0.12); }
.bj-search-field-icon { color: var(--gray-400); flex-shrink: 0; }
.bj-search-field-content { flex: 1; }
.bj-search-field-label { font-size: 0.72rem; color: var(--gray-400); font-weight: 500; text-transform: uppercase; letter-spacing: 0.04em; }
.bj-search-field-val { font-size: 0.95rem; font-weight: 600; color: var(--gray-800); margin-top: 1px; }
.bj-search-field-iata { font-size: 0.85rem; font-weight: 800; color: var(--secondary-blue); }
.bj-search-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-bottom: 0.75rem; }

/* Active Bids Section */
.bj-active-bids-title {
  font-size: 0.9rem; font-weight: 700; color: var(--gray-700);
  padding: 1rem 1.25rem 0.5rem;
  text-align: center;
}
.bj-bid-summary-card {
  margin: 0 1.25rem 0.75rem;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 0.875rem;
  display: flex; align-items: center; justify-content: space-between;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.bj-bid-route {
  display: flex; align-items: center; gap: 0.5rem;
}
.bj-bid-iata {
  font-size: 1.5rem; font-weight: 900;
  color: var(--primary-blue);
}
.bj-bid-arrow { color: var(--accent-blue); font-size: 1rem; }
.bj-bid-logo { height: 20px; }
.bj-bid-detail { font-size: 0.7rem; color: var(--gray-500); margin-top: 2px; }
.bj-btn-ver-puja {
  font-size: 0.7rem; font-weight: 700;
  color: var(--secondary-blue);
  border: 1.5px solid var(--secondary-blue);
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: all 0.2s;
}
.bj-btn-ver-puja:hover { background: var(--secondary-blue); color: #fff; }
.bj-btn-ver-todas {
  display: block; width: calc(100% - 2.5rem);
  margin: 0.5rem 1.25rem 1.5rem;
  padding: 1rem;
  background: var(--primary-blue);
  color: #fff; text-align: center;
  font-weight: 800; font-size: 0.82rem;
  text-transform: uppercase; letter-spacing: 0.06em;
  border: none; cursor: pointer;
  border-radius: 6px; text-decoration: none;
  transition: background 0.2s;
}
.bj-btn-ver-todas:hover { background: var(--secondary-blue); }

/* ════════════════════════════════════════════════════════════════
   FLIGHT RESULTS — Date Tabs + Cards (Imagen 8, 9, 42)
   ════════════════════════════════════════════════════════════════ */
.bj-date-tabs {
  display: flex; overflow-x: auto;
  background: var(--white);
  border-bottom: 2px solid var(--gray-100);
  padding: 0 1rem;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.bj-date-tabs::-webkit-scrollbar { display: none; }
.bj-date-tab {
  padding: 0.875rem 1.25rem;
  font-size: 0.82rem; font-weight: 600;
  color: var(--gray-500);
  border-bottom: 3px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: all 0.2s; border-top: none; border-left: none; border-right: none;
  background: none;
}
.bj-date-tab:hover { color: var(--secondary-blue); }
.bj-date-tab.active { color: var(--secondary-blue); border-bottom-color: var(--secondary-blue); }

.bj-flight-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 0;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow 0.2s;
}
.bj-flight-card:hover { box-shadow: var(--shadow-md); }
.bj-flight-timer {
  font-size: 0.72rem; font-weight: 600;
  color: var(--accent-blue);
  display: flex; align-items: center; gap: 0.35rem;
  margin-bottom: 0.5rem;
}
.bj-flight-route {
  display: flex; align-items: center; gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.bj-flight-iata {
  font-size: 2rem; font-weight: 900;
  color: var(--primary-blue);
  line-height: 1;
}
.bj-flight-iata-label {
  font-size: 0.65rem; color: var(--gray-500);
  text-align: center; margin-top: 2px;
}
.bj-flight-arrow-wrap { flex: 1; text-align: center; }
.bj-flight-arrow-line {
  display: flex; align-items: center; gap: 0.25rem;
  color: var(--gray-300);
}
.bj-flight-duration { font-size: 0.72rem; color: var(--gray-400); text-align: center; }
.bj-flight-time { font-size: 0.8rem; font-weight: 600; color: var(--gray-700); }
.bj-flight-meta {
  display: flex; align-items: center; gap: 1rem;
  font-size: 0.72rem; color: var(--gray-500);
  margin-bottom: 0.75rem;
}
.bj-flight-footer {
  display: flex; align-items: center; justify-content: space-between;
}
.bj-btn-info {
  font-size: 0.72rem; color: var(--secondary-blue);
  background: none; border: none; cursor: pointer;
  text-decoration: underline; padding: 0;
}
.bj-btn-pujar {
  background: var(--primary-blue); color: #fff;
  padding: 0.65rem 1.5rem;
  font-weight: 800; font-size: 0.85rem;
  text-transform: uppercase; letter-spacing: 0.06em;
  border: none; border-radius: 6px; cursor: pointer;
  transition: all 0.2s;
}
.bj-btn-pujar:hover { background: var(--secondary-blue); transform: translateY(-1px); }

/* ════════════════════════════════════════════════════════════════
   BIDDING MODAL (Imagen 12, 13, 14, 15, 30, 31)
   ════════════════════════════════════════════════════════════════ */
.bj-modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,18,46,0.6);
  display: flex; align-items: flex-end; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
.bj-modal-overlay.open { opacity: 1; pointer-events: all; }
.bj-bid-sheet {
  background: var(--white);
  border-radius: 20px 20px 0 0;
  padding: 1.5rem;
  width: 100%; max-width: 560px;
  max-height: 90vh; overflow-y: auto;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
.bj-modal-overlay.open .bj-bid-sheet { transform: translateY(0); }
.bj-sheet-handle {
  width: 40px; height: 4px; background: var(--gray-200);
  border-radius: 2px; margin: 0 auto 1.25rem;
}
.bj-sheet-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 1rem; padding-bottom: 1rem;
  border-bottom: 1px solid var(--gray-100);
}
.bj-sheet-flight-info { flex: 1; }
.bj-sheet-timer { font-size: 0.72rem; color: var(--accent-blue); font-weight: 600; margin-bottom: 0.25rem; }
.bj-sheet-route {
  display: flex; align-items: center; gap: 0.5rem;
  margin-bottom: 0.25rem;
}
.bj-sheet-iata { font-size: 1.8rem; font-weight: 900; color: var(--primary-blue); }
.bj-sheet-meta { font-size: 0.72rem; color: var(--gray-500); }
.bj-sheet-close {
  background: none; border: none; cursor: pointer;
  font-size: 1.2rem; color: var(--gray-400);
  padding: 0.25rem; transition: color 0.2s;
}
.bj-sheet-close:hover { color: var(--gray-800); }
.bj-sheet-pilot {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.78rem; color: var(--gray-500);
  margin-bottom: 1.25rem;
}

/* Express bid row */
.bj-expres-row {
  display: flex; align-items: center; gap: 0.75rem;
  background: var(--gray-50);
  border-radius: 8px; padding: 0.875rem;
  margin-bottom: 1rem;
}
.bj-seat-select {
  border: 1.5px solid var(--gray-200);
  border-radius: 6px; padding: 0.6rem 0.875rem;
  font-size: 0.875rem; font-weight: 600;
  color: var(--gray-700); background: var(--white);
  cursor: pointer; min-width: 110px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236c757d' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2rem;
}
.bj-seat-select:focus { outline: none; border-color: var(--secondary-blue); }
.bj-btn-expres {
  flex: 1; background: var(--secondary-blue); color: #fff;
  padding: 0.65rem 1rem;
  font-weight: 800; font-size: 0.78rem;
  text-transform: uppercase; letter-spacing: 0.06em;
  border: none; border-radius: 6px; cursor: pointer;
  transition: all 0.2s; white-space: nowrap;
}
.bj-btn-expres:hover { background: var(--primary-blue); }
.bj-expres-help {
  font-size: 0.68rem; color: var(--secondary-blue);
  cursor: pointer; text-decoration: underline; white-space: nowrap;
}

/* Slider section */
.bj-slider-section { margin-bottom: 1.25rem; }
.bj-slider-label {
  font-size: 0.8rem; font-weight: 600; color: var(--gray-700);
  margin-bottom: 0.5rem;
}
.bj-slider-value {
  text-align: center; font-size: 1.5rem; font-weight: 900;
  color: var(--secondary-blue); margin-bottom: 0.75rem;
}
.bj-bid-slider {
  width: 100%; -webkit-appearance: none; appearance: none;
  height: 6px; border-radius: 3px;
  background: linear-gradient(to right, var(--secondary-blue) var(--pct, 50%), var(--gray-200) var(--pct, 50%));
  outline: none; cursor: pointer; margin-bottom: 0.5rem;
}
.bj-bid-slider::-webkit-slider-thumb {
  -webkit-appearance: none; width: 24px; height: 24px;
  background: var(--secondary-blue); border-radius: 50%;
  cursor: pointer; border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0,119,182,0.4);
}
.bj-bid-slider::-moz-range-thumb {
  width: 24px; height: 24px;
  background: var(--secondary-blue); border-radius: 50%;
  cursor: pointer; border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0,119,182,0.4);
}
.bj-slider-range {
  display: flex; justify-content: space-between;
  font-size: 0.72rem; color: var(--gray-400); font-weight: 600;
}
.bj-btn-puja-confirm {
  display: block; width: 100%;
  background: var(--primary-blue); color: #fff;
  padding: 1rem; text-align: center;
  font-weight: 800; font-size: 0.875rem;
  text-transform: uppercase; letter-spacing: 0.08em;
  border: none; border-radius: 8px; cursor: pointer;
  transition: all 0.2s;
}
.bj-btn-puja-confirm:hover { background: var(--secondary-blue); }

/* Bid status */
.bj-bid-status {
  border-radius: 8px; padding: 1rem;
  margin-bottom: 1rem;
  border: 2px solid transparent;
}
.bj-bid-status.winning { background: rgba(0,168,107,0.06); border-color: var(--success); }
.bj-bid-status.losing  { background: rgba(217,4,41,0.06);  border-color: var(--danger); }
.bj-bid-status-badge {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.72rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.06em; padding: 0.25rem 0.6rem;
  border-radius: 4px; margin-bottom: 0.5rem;
}
.bj-bid-status.winning .bj-bid-status-badge { background: var(--success); color: #fff; }
.bj-bid-status.losing  .bj-bid-status-badge { background: var(--danger); color: #fff; }

/* Success confirmation */
.bj-bid-success {
  text-align: center; padding: 1.5rem 1rem;
}
.bj-bid-success-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(0,168,107,0.1); border: 2px solid var(--success);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; margin: 0 auto 1rem;
}
.bj-bid-success-title { font-size: 1.1rem; font-weight: 900; margin-bottom: 0.5rem; }
.bj-bid-success-sub { font-size: 0.82rem; color: var(--gray-500); margin-bottom: 1.25rem; }

/* ════════════════════════════════════════════════════════════════
   MY BIDS — Tabs (Imagen 28, 43, 47)
   ════════════════════════════════════════════════════════════════ */
.bj-tabs {
  display: flex; background: var(--white);
  border-bottom: 2px solid var(--gray-100);
}
.bj-tab {
  flex: 1; padding: 0.875rem;
  text-align: center; font-size: 0.82rem;
  font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.05em; color: var(--gray-400);
  border: none; background: none; cursor: pointer;
  border-bottom: 3px solid transparent; transition: all 0.2s;
}
.bj-tab.active { color: var(--secondary-blue); border-bottom-color: var(--secondary-blue); }
.bj-tab-content { display: none; }
.bj-tab-content.active { display: block; }

/* ════════════════════════════════════════════════════════════════
   CHAT — List + Conversation (Imagen 5, 6, 33)
   ════════════════════════════════════════════════════════════════ */
.bj-chat-search {
  padding: 0.875rem 1rem;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
}
.bj-chat-search-input {
  width: 100%; padding: 0.65rem 1rem;
  border: 1.5px solid var(--gray-200); border-radius: 20px;
  font-size: 0.875rem; outline: none; transition: border-color 0.2s;
  background: var(--gray-50);
}
.bj-chat-search-input:focus { border-color: var(--accent-blue); }

.bj-contact-item {
  display: flex; align-items: center; gap: 0.875rem;
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--gray-50);
  cursor: pointer; transition: background 0.15s;
  text-decoration: none; color: inherit;
}
.bj-contact-item:hover { background: var(--gray-50); }
.bj-contact-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--secondary-blue);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: #fff; font-size: 1rem;
  flex-shrink: 0; overflow: hidden;
}
.bj-contact-avatar img { width: 100%; height: 100%; object-fit: cover; }
.bj-contact-info { flex: 1; min-width: 0; }
.bj-contact-name { font-weight: 700; font-size: 0.9rem; color: var(--gray-800); }
.bj-contact-preview { font-size: 0.78rem; color: var(--gray-500); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bj-contact-meta { text-align: right; flex-shrink: 0; }
.bj-contact-time { font-size: 0.68rem; color: var(--gray-400); margin-bottom: 0.35rem; }
.bj-unread-badge {
  background: var(--success); color: #fff;
  font-size: 0.68rem; font-weight: 700;
  width: 20px; height: 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-left: auto;
}

/* Chat Conversation */
.bj-chat-messages {
  flex: 1; overflow-y: auto; padding: 1rem;
  display: flex; flex-direction: column; gap: 0.75rem;
  background: var(--gray-50);
}
.bj-msg { display: flex; flex-direction: column; max-width: 80%; }
.bj-msg.mine { align-self: flex-end; align-items: flex-end; }
.bj-msg.theirs { align-self: flex-start; align-items: flex-start; }
.bj-msg-bubble {
  padding: 0.75rem 1rem;
  border-radius: 16px; font-size: 0.875rem; line-height: 1.5;
}
.bj-msg.theirs .bj-msg-bubble { background: var(--white); color: var(--gray-800); border-bottom-left-radius: 4px; box-shadow: var(--shadow-sm); }
.bj-msg.mine   .bj-msg-bubble { background: var(--secondary-blue); color: #fff; border-bottom-right-radius: 4px; }
.bj-msg-time { font-size: 0.65rem; color: var(--gray-400); margin-top: 3px; padding: 0 0.25rem; }
.bj-msg-checks { color: var(--accent-blue); font-size: 0.75rem; }

/* Voice message */
.bj-voice-msg {
  display: flex; align-items: center; gap: 0.75rem; min-width: 180px;
}
.bj-voice-play {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--secondary-blue); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: #fff; flex-shrink: 0; transition: all 0.2s;
}
.bj-voice-play:hover { background: var(--primary-blue); transform: scale(1.05); }
.bj-voice-wave {
  flex: 1; height: 28px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,0.6) 0, rgba(255,255,255,0.6) 2px, transparent 2px, transparent 5px);
  border-radius: 2px;
}
.bj-msg.theirs .bj-voice-wave { background: repeating-linear-gradient(90deg, rgba(0,119,182,0.5) 0, rgba(0,119,182,0.5) 2px, transparent 2px, transparent 5px); }
.bj-voice-dur { font-size: 0.68rem; color: rgba(255,255,255,0.7); flex-shrink: 0; }
.bj-msg.theirs .bj-voice-dur { color: var(--gray-500); }

/* Image message */
.bj-img-msg { max-width: 200px; border-radius: 12px; overflow: hidden; }
.bj-img-msg img { width: 100%; height: auto; display: block; }

/* Chat input bar */
.bj-chat-input-bar {
  background: var(--white);
  border-top: 1px solid var(--gray-100);
  padding: 0.75rem 1rem;
  display: flex; align-items: center; gap: 0.75rem;
}
.bj-chat-input {
  flex: 1; padding: 0.65rem 1rem;
  border: 1.5px solid var(--gray-200); border-radius: 20px;
  font-size: 0.875rem; outline: none; transition: border-color 0.2s;
  resize: none; max-height: 100px; font-family: inherit;
}
.bj-chat-input:focus { border-color: var(--accent-blue); }
.bj-chat-send {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--secondary-blue); border: none;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  color: #fff; transition: all 0.2s; flex-shrink: 0;
}
.bj-chat-send:hover { background: var(--primary-blue); transform: scale(1.05); }
.bj-chat-attach {
  background: none; border: none; cursor: pointer;
  color: var(--gray-400); padding: 0.35rem;
  display: flex; align-items: center; transition: color 0.2s;
}
.bj-chat-attach:hover { color: var(--secondary-blue); }
.bj-chat-mic {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--primary-blue); border: none;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  color: #fff; flex-shrink: 0; transition: all 0.2s;
}
.bj-chat-mic.recording { background: var(--danger); animation: pulse-rec 1s infinite; }
@keyframes pulse-rec { 0%,100%{transform:scale(1)} 50%{transform:scale(1.1)} }

/* ════════════════════════════════════════════════════════════════
   NOTIFICATIONS (Imagen 29, 32, 45, 49)
   ════════════════════════════════════════════════════════════════ */
.bj-notif-card {
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  padding: 1rem 1.25rem;
  display: flex; align-items: flex-start;
  justify-content: space-between; gap: 1rem;
}
.bj-notif-card.read { opacity: 0.65; }
.bj-notif-title { font-weight: 700; font-size: 0.9rem; margin-bottom: 0.25rem; color: var(--gray-800); }
.bj-notif-date { font-size: 0.72rem; color: var(--gray-400); font-weight: 600; flex-shrink: 0; }
.bj-notif-body { font-size: 0.78rem; color: var(--gray-600); line-height: 1.55; margin-bottom: 0.5rem; }
.bj-btn-saber-mas {
  font-size: 0.72rem; font-weight: 800;
  background: var(--secondary-blue); color: #fff;
  padding: 0.35rem 0.875rem;
  border-radius: 4px; border: none; cursor: pointer;
  text-transform: uppercase; letter-spacing: 0.04em;
  transition: all 0.2s;
}
.bj-btn-saber-mas:hover { background: var(--primary-blue); }
.bj-btn-marcar-leidas {
  display: block; width: calc(100% - 2.5rem);
  margin: 1rem 1.25rem;
  padding: 0.875rem;
  background: var(--primary-blue); color: #fff;
  text-align: center; font-weight: 800;
  font-size: 0.82rem; text-transform: uppercase;
  letter-spacing: 0.06em; border: none; cursor: pointer;
  border-radius: 6px; transition: all 0.2s;
}
.bj-btn-marcar-leidas:hover { background: var(--secondary-blue); }

/* ════════════════════════════════════════════════════════════════
   PROFILE (Imagen 27)
   ════════════════════════════════════════════════════════════════ */
.bj-profile-hero {
  background: var(--primary-blue);
  padding: 1.5rem 1.25rem;
  display: flex; align-items: center; gap: 1rem;
}
.bj-profile-big-avatar {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--accent-blue);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: #fff; font-size: 1.6rem;
  border: 3px solid rgba(255,255,255,0.3);
  overflow: hidden; position: relative;
}
.bj-profile-big-avatar img { width: 100%; height: 100%; object-fit: cover; }
.bj-profile-edit-icon {
  position: absolute; bottom: 0; right: 0;
  width: 22px; height: 22px; background: var(--secondary-blue);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 0.6rem; color: #fff;
}
.bj-profile-name { font-weight: 800; color: #fff; font-size: 1.1rem; }
.bj-profile-email { font-size: 0.78rem; color: rgba(255,255,255,0.65); margin-top: 2px; }

.bj-menu-section { padding: 0.75rem 0 0; }
.bj-menu-section-title {
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--gray-400);
  padding: 0 1.25rem 0.5rem;
}
.bj-menu-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.875rem 1.25rem;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  cursor: pointer; text-decoration: none; color: var(--gray-800);
  transition: background 0.15s;
}
.bj-menu-item:hover { background: var(--gray-50); }
.bj-menu-item-left { display: flex; align-items: center; gap: 0.875rem; }
.bj-menu-item-icon { width: 38px; height: 38px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1rem; }
.bj-menu-item-title { font-weight: 600; font-size: 0.9rem; }
.bj-menu-item-sub { font-size: 0.72rem; color: var(--gray-500); margin-top: 1px; }
.bj-menu-chevron { color: var(--gray-300); }
.bj-menu-item.danger .bj-menu-item-title { color: var(--danger); }
.bj-menu-item.danger .bj-menu-item-icon { background: rgba(217,4,41,0.08); color: var(--danger); }

/* ════════════════════════════════════════════════════════════════
   SETTINGS — Toggles (Imagen 50)
   ════════════════════════════════════════════════════════════════ */
.bj-setting-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.25rem;
  background: var(--white); border-bottom: 1px solid var(--gray-100);
}
.bj-setting-label { font-weight: 600; font-size: 0.9rem; color: var(--gray-800); }
.bj-setting-sub { font-size: 0.72rem; color: var(--gray-500); margin-top: 2px; }
.bj-toggle {
  position: relative; width: 50px; height: 27px;
  flex-shrink: 0;
}
.bj-toggle input { opacity: 0; width: 0; height: 0; position: absolute; }
.bj-toggle-track {
  position: absolute; inset: 0;
  background: var(--gray-300); border-radius: 13px;
  cursor: pointer; transition: background 0.2s;
}
.bj-toggle input:checked ~ .bj-toggle-track { background: var(--secondary-blue); }
.bj-toggle-thumb {
  position: absolute; top: 3px; left: 3px;
  width: 21px; height: 21px; border-radius: 50%;
  background: #fff; transition: transform 0.2s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
  pointer-events: none;
}
.bj-toggle input:checked ~ .bj-toggle-track .bj-toggle-thumb { transform: translateX(23px); }

/* ════════════════════════════════════════════════════════════════
   PREFIX (COUNTRY CODE) SELECTOR (Imagen 16-20)
   ════════════════════════════════════════════════════════════════ */
.bj-prefix-wrap { position: relative; }
.bj-prefix-trigger {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--gray-200); border-radius: 6px;
  background: var(--white); cursor: pointer;
  font-size: 0.875rem; font-weight: 600;
  color: var(--gray-800); transition: border-color 0.2s;
  white-space: nowrap;
}
.bj-prefix-trigger:hover { border-color: var(--secondary-blue); }
.bj-prefix-trigger.open { border-color: var(--accent-blue); border-radius: 6px 6px 0 0; }
.bj-prefix-flag { font-size: 1.1rem; }
.bj-prefix-code { font-size: 0.78rem; color: var(--gray-500); }
.bj-prefix-chevron { font-size: 0.7rem; color: var(--gray-400); margin-left: auto; transition: transform 0.2s; }
.bj-prefix-trigger.open .bj-prefix-chevron { transform: rotate(180deg); }

.bj-prefix-dropdown {
  position: absolute; top: 100%; left: 0; right: 0; z-index: 500;
  background: var(--white);
  border: 1.5px solid var(--accent-blue);
  border-top: none; border-radius: 0 0 6px 6px;
  max-height: 260px; overflow-y: auto;
  display: none;
  box-shadow: var(--shadow-md);
}
.bj-prefix-wrap.open .bj-prefix-dropdown { display: block; }
.bj-prefix-search {
  padding: 0.5rem;
  border-bottom: 1px solid var(--gray-100);
  position: sticky; top: 0; background: var(--white);
}
.bj-prefix-search input {
  width: 100%; padding: 0.5rem 0.75rem;
  border: 1px solid var(--gray-200); border-radius: 4px;
  font-size: 0.8rem; outline: none;
}
.bj-prefix-option {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.65rem 0.875rem;
  cursor: pointer; font-size: 0.82rem;
  transition: background 0.15s;
}
.bj-prefix-option:hover { background: rgba(0,119,182,0.07); }
.bj-prefix-option.selected { background: rgba(0,119,182,0.1); color: var(--secondary-blue); font-weight: 700; }
.bj-prefix-option-code { font-weight: 700; font-size: 0.78rem; color: var(--gray-600); min-width: 40px; }
.bj-prefix-option-name { flex: 1; }
.bj-prefix-option-num { font-size: 0.72rem; color: var(--gray-400); }

/* ════════════════════════════════════════════════════════════════
   CUSTOM SEAT DROPDOWN (Imagen 23-26)
   ════════════════════════════════════════════════════════════════ */
.bj-seat-wrap { position: relative; display: inline-block; }
.bj-seat-trigger {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--gray-200); border-radius: 6px;
  background: var(--white); cursor: pointer;
  font-size: 0.875rem; font-weight: 600; color: var(--gray-800);
  min-width: 130px; transition: border-color 0.2s;
}
.bj-seat-trigger:hover { border-color: var(--secondary-blue); }
.bj-seat-trigger.open { border-color: var(--accent-blue); border-radius: 6px 6px 0 0; }
.bj-seat-trigger .chevron { margin-left: auto; font-size: 0.7rem; color: var(--gray-400); transition: transform 0.2s; }
.bj-seat-trigger.open .chevron { transform: rotate(180deg); }

.bj-seat-dropdown {
  position: absolute; top: 100%; left: 0; right: 0; z-index: 500;
  background: var(--white);
  border: 1.5px solid var(--accent-blue);
  border-top: none; border-radius: 0 0 6px 6px;
  display: none;
  box-shadow: var(--shadow-md);
}
.bj-seat-wrap.open .bj-seat-dropdown { display: block; }
.bj-seat-option {
  padding: 0.75rem 1rem;
  font-size: 0.875rem; cursor: pointer;
  transition: background 0.15s; display: flex; align-items: center; gap: 0.5rem;
}
.bj-seat-option:hover { background: rgba(0,119,182,0.07); }
.bj-seat-option.selected { background: rgba(0,119,182,0.1); color: var(--secondary-blue); font-weight: 700; }

/* ════════════════════════════════════════════════════════════════
   FLOATING ACTION BUTTON
   ════════════════════════════════════════════════════════════════ */
.bj-fab {
  position: fixed; bottom: 1.5rem; right: 1.5rem;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--secondary-blue);
  color: #fff; font-size: 1.5rem;
  border: none; cursor: pointer; z-index: 500;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,119,182,0.4);
  transition: all 0.2s;
}
.bj-fab:hover { background: var(--primary-blue); transform: scale(1.05); }

/* ════════════════════════════════════════════════════════════════
   IATA AUTOCOMPLETE INPUT
   ════════════════════════════════════════════════════════════════ */
.bj-iata-wrap { position: relative; flex: 1; }
.bj-iata-input {
  width: 100%; padding: 0.75rem 1rem;
  border: 1.5px solid var(--gray-200); border-radius: 6px;
  font-size: 0.875rem; outline: none; transition: border-color 0.2s;
}
.bj-iata-input:focus { border-color: var(--accent-blue); }
.bj-iata-suggestions {
  position: absolute; top: 100%; left: 0; right: 0; z-index: 300;
  background: var(--white); border: 1.5px solid var(--accent-blue);
  border-top: none; border-radius: 0 0 6px 6px;
  max-height: 220px; overflow-y: auto;
  display: none; box-shadow: var(--shadow-md);
}
.bj-iata-wrap.has-results .bj-iata-suggestions { display: block; }
.bj-iata-option {
  padding: 0.75rem 1rem; cursor: pointer;
  font-size: 0.875rem; display: flex; align-items: center; gap: 0.75rem;
  transition: background 0.15s;
}
.bj-iata-option:hover { background: var(--gray-50); }
.bj-iata-option-code { font-weight: 800; color: var(--secondary-blue); min-width: 40px; }
.bj-iata-option-name { color: var(--gray-700); }

/* ════════════════════════════════════════════════════════════════
   VIP PAGE
   ════════════════════════════════════════════════════════════════ */
.bj-vip-banner {
  background: linear-gradient(135deg, var(--primary-blue), var(--brand-dark));
  padding: 4rem 1.5rem; text-align: center; color: #fff;
}
.bj-vip-icon { font-size: 3rem; margin-bottom: 1rem; }
.bj-vip-title { font-size: 2rem; font-weight: 900; margin-bottom: 0.75rem; }
.bj-vip-sub { font-size: 1rem; opacity: 0.75; max-width: 520px; margin: 0 auto 2rem; line-height: 1.7; }

/* ════════════════════════════════════════════════════════════════
   UTILITY + ANIMATIONS
   ════════════════════════════════════════════════════════════════ */
.live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--success);
  animation: blink 1.5s ease-in-out infinite;
  display: inline-block; flex-shrink: 0;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }

.bj-empty-state {
  text-align: center; padding: 3rem 1.5rem;
  color: var(--gray-400);
}
.bj-empty-icon { font-size: 3rem; margin-bottom: 1rem; }
.bj-empty-title { font-weight: 700; color: var(--gray-600); margin-bottom: 0.5rem; }
.bj-empty-sub { font-size: 0.875rem; }

.bj-state-badge {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.25rem 0.6rem; border-radius: 4px;
  font-size: 0.65rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em;
}
.bj-state-badge.activa { background: rgba(0,168,107,0.12); color: var(--success); }
.bj-state-badge.ganando { background: rgba(0,168,107,0.12); color: var(--success); }
.bj-state-badge.perdiendo { background: rgba(217,4,41,0.12); color: var(--danger); }
.bj-state-badge.cerrada { background: var(--gray-100); color: var(--gray-500); }
.bj-state-badge.pendiente { background: rgba(255,183,3,0.15); color: #b07d00; }

/* Responsive */
@media (max-width: 768px) {
  .bj-sidebar { width: 85vw; }
  .bj-modal-overlay { align-items: flex-end; }
}
