/* Overlay */
#bf-logout-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.55);   /* slate-950 @ 55% */
  backdrop-filter: blur(2px);
  z-index: 1050;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease-out;
}
#bf-logout-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

/* Centered modal container */
#bf-logout-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1051;
  pointer-events: none;
}
#bf-logout-modal .bf-card {
  width: 420px;
  max-width: calc(100vw - 32px);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0,0,0,.25);
  overflow: hidden;
  transform: translateY(8px) scale(.98);
  opacity: 0;
  transition: transform .18s ease-out, opacity .18s ease-out;
  pointer-events: all;
  font-family: inherit;
}
#bf-logout-modal.show .bf-card {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.bf-header {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 18px 8px 18px; border-bottom: 0;
}
.bf-icon {
  width: 32px; height: 32px; border-radius: 10px;
  background: #FEE2E2; display: inline-flex; align-items: center; justify-content: center;
}
.bf-icon svg { width: 18px; height: 18px; stroke: #DC2626; }

.bf-title { margin: 0; font-size: 18px; font-weight: 600; }

.bf-body { padding: 8px 18px 6px 18px; color: #334155; font-size: 14px; }

.bf-footer {
  display: flex; gap: 10px; justify-content: flex-end;
  padding: 12px 18px 18px 18px; border-top: 0;
}

/* Buttons */
.bf-btn {
  appearance: none; border: 1px solid transparent; border-radius: 10px;
  padding: 8px 14px; font-size: 14px; cursor: pointer; line-height: 1.2;
}
.bf-btn:focus { outline: 3px solid rgba(59,130,246,.35); outline-offset: 2px; }

.bf-btn-secondary {
  background: #fff; color: #111827; border-color: #D1D5DB;
}
.bf-btn-secondary:hover { background: #F9FAFB; }

.bf-btn-danger {
  background: #DC2626; color: #fff;
}
.bf-btn-danger:hover { background: #B91C1C; }

/* Small screens spacing */
@media (max-width: 400px) {
  .bf-header, .bf-body, .bf-footer { padding-left: 14px; padding-right: 14px; }
}
