/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:       #2d7bf3;
  --blue2:      #2e6bff;
  --dark-blue:  #1a3560;
  --bg:         #f4f4f4;
  --card-bg:    #ededed;
  --shadow-card: 0 4.348px 21.739px rgba(0,0,0,0.12);
  --shadow-side: -15px 0 40px rgba(0,0,0,0.06);
}

html, body {
  height: 100%; width: 100%; overflow: hidden;
  font-family: "Noto Sans Hebrew", sans-serif;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

/* ── LAYOUT: sidebar on RIGHT, chat on LEFT ── */
.layout {
  display: flex;
  flex-direction: row;
  direction: ltr;
  height: 100vh; width: 100%; overflow: hidden;
}

/* ════════════════════════
   SIDEBAR
════════════════════════ */
.sidebar {
  width: 400px;
  min-width: 400px;
  background: #fff;
  border-radius: 42px 0 0 42px;
  box-shadow: var(--shadow-side);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 10;
  direction: rtl;
  order: 2;
}

/* — top section — */
.sidebar-top {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 30px 18px;
  gap: 18px;
}

/* Search */
.search-wrap {
  width: 100%; height: 43px;
  background: rgba(218,218,218,0.65);
  border-radius: 296px;
  display: flex; align-items: center;
  padding: 0 16px; gap: 8px;
  flex-shrink: 0;
}
.search-wrap input {
  flex: 1; background: transparent; border: none; outline: none;
  font-family: inherit; font-size: 14px; font-weight: 500; color: #2c2c2e;
  text-align: right; direction: rtl; min-width: 0;
}
.search-wrap input::placeholder { color: #6a6a6a; }
.search-wrap svg { flex-shrink: 0; }

/* Brand row */
.brand-row {
  display: flex; align-items: center; justify-content: center;
  gap: 20px; width: 100%;
  direction: ltr;
}
.brand-logo {
  height: 46px; width: auto; max-width: 126px; object-fit: contain; flex-shrink: 0;
}
.brand-text {
  flex: 1; display: flex; flex-direction: column; align-items: flex-start;
  min-width: 0; direction: rtl; text-align: right;
}
.brand-name {
  font-size: 13px; font-weight: 700; color: var(--dark-blue);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%;
}
.brand-sub {
  font-size: 11px; font-weight: 400; color: #6b7a99;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%;
}
.sigbot-avatar {
  width: 86px; height: 86px; border-radius: 50%;
  border: 1.5px solid var(--blue);
  box-shadow: 0 0 8px rgba(0,0,0,0.15);
  object-fit: cover; flex-shrink: 0;
}

/* Title */
.sidebar-title {
  font-size: 22px; font-weight: 400; color: var(--dark-blue);
  text-align: center; white-space: nowrap; direction: rtl; line-height: 1;
}

/* Tab Bar */
.tab-bar {
  width: 100%; height: 44px;
  background: rgba(240,246,255,0.75);
  border-radius: 160px;
  box-shadow: var(--shadow-card);
  display: flex; align-items: center;
  padding: 0 4px;
  flex-shrink: 0; overflow: hidden;
  direction: rtl;
}
.tab {
  flex: 1; height: 34px;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 500; color: #1b2333;
  cursor: pointer; border-radius: 54px;
  white-space: nowrap; overflow: hidden;
  transition: all .18s; padding: 0 2px;
}
.tab.active {
  background: var(--card-bg);
  color: var(--blue);
  font-weight: 700;
  flex: 1.4;
}
.tab:hover:not(.active) { color: var(--blue); }

/* Divider */
.divider {
  flex-shrink: 0; height: 1px; background: #e0e0e0; width: 100%;
}

/* Conversation list */
.conv-list {
  flex: 1; overflow-y: auto;
  padding: 8px 0;
  display: flex; flex-direction: column; gap: 0;
  direction: rtl;
  scrollbar-width: thin; scrollbar-color: #ddd transparent;
}
.conv-list::-webkit-scrollbar { width: 3px; }
.conv-list::-webkit-scrollbar-thumb { background: #ccc; border-radius: 3px; }

/* — Chat Card — WhatsApp style */
.chat-card {
  background: transparent;
  height: 72px;
  border-radius: 0;
  box-shadow: none;
  width: 100%;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
  overflow: hidden;
  transition: background .12s;
  direction: ltr;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.chat-card.unhandled { background: #f0f0f0; }
.chat-card:hover     { background: rgba(45,123,243,0.06); }
.chat-card.selected  { background: rgba(45,123,243,0.11); }

/* Delete button — right margin of card (between card edge and card-inner), no overlap */
.card-delete-btn {
  position: absolute;
  left: 4px; top: 0; bottom: 0; transform: none;
  width: 28px; height: 100%;
  background: transparent;
  border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  opacity: 0.35;
  transition: opacity .15s;
  padding: 0;
  z-index: 5;
}
.chat-card:hover .card-delete-btn { opacity: 0.7; }
.card-delete-btn:active { opacity: 1 !important; }
.card-delete-btn:hover { opacity: 1 !important; }
.card-delete-btn svg { width: 16px; height: 16px; color: #888; }


/* Card inner row */
.card-inner {
  position: absolute;
  left: 34px; right: 20px; top: 0; bottom: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
}

/* Text block */
.card-text {
  flex: 1; min-width: 0;
  position: relative;
  display: flex; flex-direction: column;
  gap: 5px;
  align-items: flex-end;
  direction: rtl;
  overflow: hidden;
}
.card-time-stamp {
  position: absolute; left: 0; top: 2px;
  font-size: 10.5px; color: #8e8e93; font-weight: 400;
  white-space: nowrap; line-height: 1;
}
.card-name {
  font-size: 14.5px; font-weight: 600; color: var(--dark-blue);
  text-align: right; direction: rtl;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  width: 100%; line-height: 1.3;
  margin-top: 4px;
}
.card-name .car-model { font-size: 12px; font-weight: 400; color: #5a6a85; }
.card-issue {
  font-size: 11px; color: #8e8e93; font-weight: 400;
  text-align: right; direction: rtl;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  width: 100%; line-height: 1;
}

/* Source icon circle */
.card-icon {
  width: 46px; height: 46px;
  background: #f0f4ff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; overflow: hidden;
}
.card-icon img { width: 26px; height: 26px; object-fit: contain; display: block; }

/* ════════════════════════
   CHAT AREA
════════════════════════ */
.chat-area {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column;
  overflow: hidden;
  padding: 28px 28px 0 28px;
  order: 1;
  direction: ltr;
}

/* — Info Pill — */
.info-pill {
  flex-shrink: 0;
  background: var(--blue);
  border-radius: 150px;
  height: 74px;
  padding: 0 18px 0 22px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  direction: ltr;
  gap: 16px;
}

.pill-fields {
  flex: 1; min-width: 0;
  display: flex; flex-direction: row;
  justify-content: space-around;
  align-items: center;
  gap: 8px;
}
.pill-field {
  display: flex; flex-direction: column;
  gap: 7px; align-items: flex-end;
  min-width: 0;
}
.pill-label {
  font-size: 11px; font-weight: 400; color: #cde;
  line-height: 1; white-space: nowrap; direction: rtl;
}
.pill-value {
  font-size: 13px; font-weight: 600; color: #fff;
  line-height: 1;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  max-width: 160px;
  direction: rtl; text-align: right;
}
.pill-value.ltr-val { direction: ltr; unicode-bidi: isolate; text-align: left; }

/* Checkmark button */
.pill-btn {
  width: 46px; height: 46px;
  background: #ececec; border-radius: 50%;
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background .15s, transform .1s;
  font-size: 18px; color: #555;
}
.pill-btn:hover      { background: #ddd; transform: scale(1.05); }
.pill-btn.handled    { background: #d4edda; color: #1a7a3c; }

/* Delete button in pill — icon */
.pill-delete-btn {
  height: 32px; width: 32px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; flex-shrink: 0;
  transition: background .15s;
  padding: 0;
}
.pill-delete-btn:hover { background: rgba(220,50,50,0.5); }
.pill-delete-btn svg {
  width: 15px; height: 15px;
  color: rgba(255,255,255,0.8);
}
.pill-delete-btn:hover svg { color: #fff; }

/* Source icon in pill */
.pill-source-icon {
  width: 46px; height: 46px;
  background: rgba(255,255,255,0.18);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; overflow: hidden;
}
.pill-source-icon img {
  width: 26px; height: 26px;
  object-fit: contain; display: block;
  filter: brightness(0) invert(1);
}

/* — Messages — */
.messages-wrap {
  flex: 1; overflow-y: auto;
  padding: 4px 12px 28px 12px;
  display: flex; flex-direction: column; gap: 12px;
  direction: ltr;
  scrollbar-width: thin; scrollbar-color: #ddd transparent;
}
.messages-wrap::-webkit-scrollbar { width: 4px; }
.messages-wrap::-webkit-scrollbar-thumb { background: #ddd; border-radius: 4px; }

/* Message row */
.msg-row {
  display: flex; flex-direction: row;
  align-items: flex-start;
  gap: 7px;
  max-width: 68%;
}
.msg-row.user {
  margin-left: auto;
  flex-direction: row;
  justify-content: flex-end;
}

/* Avatar */
.msg-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid #1a56c4;
  object-fit: cover; flex-shrink: 0;
  margin-top: 1px;
}

/* Bubble */
.bubble {
  padding: 10px 13px 8px;
  max-width: 100%;
  position: relative;
  word-break: break-word;
}
.bubble.bot {
  background: #fff;
  border-radius: 0 12px 12px 12px;
  box-shadow: 0 0 7.5px rgba(0,0,0,0.15);
}
.bubble.bot::before {
  content: ''; position: absolute;
  left: -8px; top: 0;
  width: 0; height: 0;
  border-top: 10px solid #fff;
  border-left: 9px solid transparent;
}
.bubble.user {
  background: var(--blue2);
  border-radius: 12px 0 12px 12px;
  box-shadow: 0 0 7.5px rgba(0,0,0,0.15);
}
.bubble.user::before {
  content: ''; position: absolute;
  right: -8px; top: 0;
  width: 0; height: 0;
  border-top: 10px solid var(--blue2);
  border-right: 9px solid transparent;
}

.bubble-sender {
  font-size: 14px; font-weight: 700;
  margin-bottom: 6px; line-height: 1;
  direction: rtl; text-align: right;
}
.bubble.bot  .bubble-sender { color: var(--blue2); }
.bubble.user .bubble-sender { color: rgba(239,239,239,0.9); }

.bubble-text {
  font-size: 15px; font-weight: 400;
  line-height: 1.6;
  direction: rtl; text-align: right;
  white-space: pre-wrap;
}
.bubble.bot  .bubble-text { color: #2c2c2e; }
.bubble.user .bubble-text { color: #fff; }

.bubble-time {
  font-size: 12px; font-weight: 400;
  margin-top: 6px;
  direction: ltr; text-align: right; line-height: 1;
}
.bubble.bot  .bubble-time { color: #666668; }
.bubble.user .bubble-time { color: rgba(255,255,255,0.65); }

/* — Empty / Loading states — */
.state-msg {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px; padding: 40px 20px;
  direction: rtl;
}
.state-msg p    { font-size: 14px; color: #aaa; text-align: center; line-height: 1.6; }
.state-msg small { font-size: 11px; color: #bbb; }

.no-conv-state {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 14px; direction: rtl;
}
.no-conv-state img {
  width: 68px; height: 68px; border-radius: 50%;
  border: 1.5px solid var(--blue);
  object-fit: cover; opacity: 0.25;
}
.no-conv-state p { font-size: 15px; color: #bbb; font-weight: 400; }

/* Bubble images */
.bubble-images { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 4px; }
.bubble-img {
  width: 120px; height: 90px; object-fit: cover;
  border-radius: 8px; cursor: zoom-in;
  border: 1px solid rgba(0,0,0,0.1);
}

/* PDF download button (below iframe) */
.pdf-dl-btn {
  display: flex; align-items: center; justify-content: center;
  gap: 6px;
  margin-top: 8px;
  width: 100%;
  padding: 9px 0;
  background: var(--blue);
  color: #fff;
  border-radius: 10px;
  font-size: 14px; font-weight: 600;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background .15s;
}
.pdf-dl-btn:active { background: var(--dark-blue); }

/* Bubble PDF */
.bubble-pdf {
  display: flex; align-items: center; gap: 7px;
  background: rgba(0,0,0,0.06); border-radius: 8px;
  padding: 7px 10px; margin-bottom: 4px;
  color: inherit; font-size: 13px;
}
.bubble-pdf svg { flex-shrink: 0; opacity: 0.7; }
.bubble-pdf-name {
  font-size: 12px; opacity: 0.85;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 180px;
}

/* Continuation divider ("לקוח המשיך שיחה") */
.msg-divider {
  display: flex; align-items: center; gap: 8px;
  margin: 12px 0; padding: 0 4px;
  color: #888; font-size: 11px; font-style: italic;
}
.msg-divider::before,
.msg-divider::after {
  content: ''; flex: 1; height: 1px; background: #e0e0e0;
}

/* Handled check badge in card */
.card-handled-v {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px;
  background: #1a7a3c; border-radius: 50%;
  line-height: 1;
}

/* ── Responsive: narrower desktop ── */
@media (max-width: 1200px) {
  .sidebar          { width: 360px; min-width: 360px; }
  .info-pill        { padding: 0 24px; height: 76px; }
  .pill-value       { font-size: 14px; max-width: 140px; }
  .pill-label       { font-size: 13px; }
}
@media (max-width: 960px) {
  .sidebar          { width: 320px; min-width: 320px; }
  .info-pill        { padding: 0 18px; height: 70px; }
  .pill-value       { font-size: 13px; max-width: 110px; }
}

/* ════════════════════════════════════
   MOBILE — max-width 768px
   sidebar = full-screen list
   chat-area = full-screen chat (hidden until tap)
   body.chat-open = show chat, hide sidebar
════════════════════════════════════ */
@media (max-width: 768px) {

  html, body { overflow: hidden; touch-action: pan-y; }

  .layout {
    position: relative;
    height: 100dvh; width: 100vw;
    overflow: hidden;
  }

  /* Sidebar: full screen, slides right to hide */
  .sidebar {
    position: absolute; inset: 0;
    width: 100%; min-width: unset;
    border-radius: 0; box-shadow: none;
    order: unset; z-index: 20;
    transition: transform 0.28s cubic-bezier(.4,0,.2,1);
    transform: translateX(0);
  }
  body.chat-open .sidebar {
    transform: translateX(100%);
    pointer-events: none;
  }

  /* Chat area: full screen, starts off-screen left */
  .chat-area {
    position: absolute; inset: 0;
    width: 100%; order: unset;
    padding: 0; z-index: 19;
    transform: translateX(-100%);
    transition: transform 0.28s cubic-bezier(.4,0,.2,1);
    background: var(--bg);
  }
  body.chat-open .chat-area { transform: translateX(0); }

  /* ── Mobile top bar ── */
  .mobile-topbar {
    display: flex !important;
    flex-direction: row-reverse;
    align-items: center; gap: 12px;
    height: 56px; min-height: 56px;
    padding: 0 16px;
    background: var(--blue);
    flex-shrink: 0;
  }

  /* Back button */
  .mobile-back-btn {
    width: 30px; height: 30px;
    background: rgba(255,255,255,0.2);
    border: none; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; flex-shrink: 0;
    color: #fff; font-size: 16px;
    transform: scaleX(-1);
  }
  .mobile-back-btn:active { background: rgba(255,255,255,0.35); }
  .mobile-lead-name {
    font-size: 15px; font-weight: 600; color: #fff;
    direction: rtl; flex: 1;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  }

  /* ── Info pill: white + shadow on mobile ──
     name + car hidden (shown in topbar already)
     collapses on scroll */
  .info-pill {
    height: auto;
    border-radius: 0; padding: 10px 14px;
    margin-bottom: 0; flex-wrap: wrap; gap: 8px;
    /* White pill — contrast with messages bg */
    background: #fff;
    box-shadow: 0 3px 14px rgba(0,0,0,0.10);
    /* Scroll collapse */
    overflow: hidden;
    max-height: 200px;
    transition: max-height 0.35s cubic-bezier(.4,0,.2,1),
                opacity     0.25s ease,
                padding     0.3s  ease;
  }
  /* Override dark-bg label/value colors for white pill */
  .info-pill .pill-label         { color: #8e8e93; }
  .info-pill .pill-value         { color: var(--dark-blue); }
  .info-pill .pill-btn           { background: #f0f4ff; color: var(--blue); }
  .info-pill .pill-btn.handled   { background: #d4edda; color: #1a7a3c; }
  .info-pill .pill-source-icon   { background: rgba(45,123,243,0.12); }
  .info-pill .pill-source-icon img { filter: none; }

  /* Hide name + car — already visible in mobile-topbar */
  .pill-field[data-field="name"],
  .pill-field[data-field="car"] { display: none; }

  /* Pill collapses when scrolled */
  body.chat-scrolled .info-pill {
    max-height: 0;
    opacity: 0;
    padding-top: 0;
    padding-bottom: 0;
    pointer-events: none;
  }

  .pill-fields { flex-wrap: wrap; gap: 10px 18px; justify-content: flex-end; }
  .pill-field  { gap: 4px; }
  .pill-label  { font-size: 10px; }
  .pill-value  { font-size: 12px; max-width: 110px; }
  .pill-btn          { width: 36px; height: 36px; font-size: 15px; }
  .pill-source-icon  { width: 36px; height: 36px; }
  .pill-source-icon img { width: 20px; height: 20px; }

  /* Messages: fill remaining height */
  .messages-wrap {
    flex: 1; overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 12px 14px;
    padding-bottom: max(20px, env(safe-area-inset-bottom));
  }

  /* Bubbles: smaller */
  .bubble      { max-width: 80vw; }
  .bubble-text { font-size: 14px; }
  .bubble-time { font-size: 10px; }

  /* Sidebar adjustments */
  .sidebar-top   { padding: 20px 20px 14px; gap: 14px; }
  .sigbot-avatar { width: 66px; height: 66px; }
  .brand-logo    { height: 36px; }
  .sidebar-title { font-size: 18px; }
  .chat-card     { height: 68px; }
  .tab           { font-size: 11px; }

  /* Hide placeholder on mobile */
  .no-conv-state { display: none; }
}

/* Desktop: hide mobile-only elements */
.mobile-topbar { display: none; }

/* ════ LIGHTBOX — Card Modal ════ */
#lbOverlay {
  display: none; position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.80);
  align-items: center; justify-content: center;
  padding: 24px 16px;
  touch-action: none;
}
#lbOverlay.open { display: flex; }

/* White card */
.lb-card-modal {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  width: 100%; max-width: 440px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.45);
  animation: lbCardIn .2s cubic-bezier(.4,0,.2,1);
}
@keyframes lbCardIn {
  from { opacity:0; transform:scale(0.94) translateY(12px); }
  to   { opacity:1; transform:scale(1)    translateY(0);    }
}

/* Image area */
.lb-card-img-wrap {
  position: relative;
  background: #111;
  line-height: 0;
}
#lbImg {
  width: 100%;
  max-height: 56vh;
  object-fit: contain;
  display: block;
  user-select: none; -webkit-user-drag: none;
  transition: opacity .15s;
}

/* Close button */
.lb-card-close {
  position: absolute; top: 10px; right: 10px;
  width: 32px; height: 32px;
  background: rgba(0,0,0,0.52);
  border: none; border-radius: 50%;
  color: #fff; font-size: 14px; font-weight: 400;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 2;
  -webkit-tap-highlight-color: transparent;
}
.lb-card-close:active { background: rgba(0,0,0,0.75); }

/* Prev / Next arrows on image */
.lb-card-prev,
.lb-card-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 38px; height: 38px;
  background: rgba(0,0,0,0.42);
  border: none; border-radius: 50%;
  color: #fff; font-size: 26px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.lb-card-prev:active,
.lb-card-next:active { background: rgba(0,0,0,0.68); }
.lb-card-prev { left: 10px; }
.lb-card-next { right: 10px; }

/* Info bar */
.lb-card-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px 15px;
  direction: rtl;
  gap: 10px;
  border-top: 1px solid rgba(0,0,0,0.07);
}
.lb-card-meta { flex: 1; min-width: 0; }
.lb-card-meta p {
  font-size: 14px; font-weight: 600; color: var(--dark-blue);
  margin: 0 0 2px; direction: rtl;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.lb-card-meta small {
  font-size: 11px; color: #8e8e93; direction: rtl;
}
.lb-card-actions {
  display: flex; align-items: center; gap: 7px; flex-shrink: 0;
}
.lb-counter {
  font-size: 12px; color: #8e8e93; min-width: 28px; text-align: center;
}
.lb-card-dl,
.lb-card-dlall {
  height: 30px; padding: 0 11px;
  background: #f0f4ff;
  border: 1px solid #c8d8fc;
  border-radius: 20px;
  color: var(--blue); font-size: 12px;
  cursor: pointer; font-family: inherit;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}

/* ── Card modal: larger on desktop ── */
@media (min-width: 769px) {
  .lb-card-modal { max-width: 620px; }
  #lbImg         { max-height: 68vh; }
  .lb-card-info  { padding: 15px 20px 17px; }
  .lb-card-meta p { font-size: 15px; }
  .lb-card-prev  { left: 14px; width: 42px; height: 42px; font-size: 30px; }
  .lb-card-next  { right: 14px; width: 42px; height: 42px; font-size: 30px; }
}
.lb-card-dl:active,
.lb-card-dlall:active { background: #dce8ff; }
                                               