/* ===========================
   VERSE HIGHLIGHT FROM SEARCH
   =========================== */

.kkb-verse--search-hit {
  background: rgba(255, 153, 51, 0.25);   /* soft orange wash */
  border-radius: 4px;
  padding: 2px 4px;
  box-shadow: inset 0 -2px 0 #FF9933;     /* strong orange underline */
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.kkb-app.kkb-dark .kkb-verse--search-hit {
  background: rgba(255, 153, 51, 0.18);  
  border-radius: 4px;
  padding: 2px 4px;
  box-shadow: inset 0 -2px 0 #FF9933;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

/* ===========================
   MULTI-VERSE SELECTION (ROUNDED PILL)
   =========================== */

.kkb-verse--selected {
  background: rgba(0, 0, 0, 0.08);   /* very soft grey */
  color: inherit;
  padding: 4px 8px;
  border-radius: 10px;              /* half-pill */
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.kkb-app.kkb-dark .kkb-verse--selected {
  background: rgba(255, 255, 255, 0.15);
  color: inherit;
  padding: 4px 8px;
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.5);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

/* Floating share / copy pill for selected verse */

.kkb-verse-actions {
  position: absolute;
  z-index: 100001;
  background: #ffffff;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.18);
  padding: 0.2rem 0.45rem;
  display: inline-flex;
  gap: 0.25rem;
  align-items: center;
}

.kkb-verse-action-btn {
  border: none;
  background: transparent;
  font-size: 0.78rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  cursor: pointer;
  color: #374151;
}

.kkb-verse-action-btn:hover {
  background: #f3f4f6;
}

/* Dark mode floating actions */

.kkb-app.kkb-dark .kkb-verse-actions {
  background: #020617;
  color: #e5e7eb;
  box-shadow: 0 10px 25px rgba(0,0,0,0.6);
}

.kkb-app.kkb-dark .kkb-verse-action-btn {
  color: #e5e7eb;
}

.kkb-app.kkb-dark .kkb-verse-action-btn:hover {
  background: #111827;
}

/* ===========================
   VERSE ACTION BUTTONS (larger, icons, better UX)
   =========================== */

.kkb-verse-actions {
  position: fixed;
  z-index: 2147483645;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.18);
  padding: 0.35rem 0.55rem;
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
}

/* Dark mode container */
.kkb-app.kkb-dark .kkb-verse-actions {
  background: #020617;
  box-shadow: 0 10px 28px rgba(0,0,0,0.55);
}

/* BUTTONS (ikon + label) */
.kkb-verse-action-btn {
  border: none;
  background: #960000;
  color: #ffffff;

  display: flex;
  align-items: center;
  gap: 6px;

  padding: 0.45rem 0.75rem;   /* daha büyük dokunma alanı */
  border-radius: 12px;        /* hafif yuvarlatılmış */
  font-size: 0.85rem;
  font-weight: 500;

  cursor: pointer;
  min-height: 38px;           /* mobil için rahat tap alanı */

  transition:
    background 0.15s ease,
    box-shadow 0.15s ease,
    color 0.15s ease,
    transform 0.1s ease;
}

/* icons inside buttons */
.kkb-verse-action-btn svg {
  width: 16px;
  height: 16px;
  stroke-width: 1.8;
}

/* Hover – desktop */
.kkb-verse-action-btn:hover {
  background: #7f0000;
}

/* “Copied” success state — green pill (#336666) */
.kkb-verse-action-btn--success {
  background: #336666 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(51,102,102,0.45);
  transform: translateY(-1px);
}

/* DARK MODE */
.kkb-app.kkb-dark .kkb-verse-action-btn {
  background: #960000;
  color: #ffffff;
}

.kkb-app.kkb-dark .kkb-verse-action-btn:hover {
  background: #7f0000;
}

.kkb-app.kkb-dark .kkb-verse-action-btn--success {
  background: #336666 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 18px rgba(51,102,102,0.55);
}

body.kkb-body-overlay-open,
html.kkb-body-overlay-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  .kkb-verse-actions {
    width: min(420px, calc(100vw - 32px));
    justify-content: center;
    padding: 0.6rem 0.7rem;
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.24);
  }

  .kkb-verse-action-btn {
    flex: 1 1 0;
    justify-content: center;
    min-height: 44px;
  }
}
