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

body {
  font-family: 'Inter', Arial, sans-serif;
  background: #0d0820;
  color: #e2d9f3;
  min-height: 100vh;
}

/* ── Page shell ──────────────────────────────── */
.rb-page {
  min-height: 100vh;
  background: linear-gradient(160deg, #0d0820 0%, #130a2a 55%, #0a1628 100%);
}

/* ── Banner ──────────────────────────────────── */
.rb-banner-wrap {
  position: relative;
  width: 100%;
  max-height: 220px;
  overflow: hidden;
}
.rb-banner {
  width: 100%;
  display: block;
  object-fit: cover;
  object-position: center 30%;
  max-height: 220px;
}
.rb-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, #0d0820 100%);
}

/* ── Header ──────────────────────────────────── */
.rb-header {
  padding: 0 20px 10px;
  margin-top: -30px;
  position: relative;
  z-index: 1;
  text-align: center;
}
.rb-title {
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  font-weight: 900;
  color: #fff;
  text-shadow: 0 0 30px #ff2d9b88, 0 0 60px #ff2d9b44;
  letter-spacing: -0.5px;
}
.rb-subtitle {
  color: #a78bfa;
  font-size: 0.78rem;
  margin-top: 5px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ── Container ───────────────────────────────── */
.rb-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 16px 120px;
}

/* ── Info box ────────────────────────────────── */
.rb-info {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #1a0d3588;
  border: 1px solid #2d1f5a;
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 20px;
  backdrop-filter: blur(6px);
}
.rb-info-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 2px; }
.rb-info strong { color: #fff; font-size: 0.9rem; }
.rb-steps {
  margin: 8px 0 0 18px;
  color: #a78bfa;
  font-size: 0.82rem;
  line-height: 1.8;
}
.rb-steps li strong { color: #fff; }

/* ── Filters ─────────────────────────────────── */
.rb-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.rb-filter {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #1a0d35;
  color: #a78bfa;
  border: 1px solid #2d1f5a;
  border-radius: 24px;
  padding: 7px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s;
  font-family: 'Inter', sans-serif;
}
.rb-filter:hover {
  border-color: #ff2d9b66;
  color: #e2d9f3;
}
.rb-filter.active {
  background: linear-gradient(90deg, #ff2d9b, #c026d3);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 0 14px #ff2d9b55;
}
.rb-filter-count {
  background: #ffffff22;
  border-radius: 12px;
  padding: 1px 7px;
  font-size: 0.72rem;
  font-weight: 700;
}
.rb-filter.active .rb-filter-count { background: #ffffff33; }
.rb-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.rb-dot.green  { background: #00ff88; box-shadow: 0 0 5px #00ff88; }
.rb-dot.orange { background: #ffaa00; box-shadow: 0 0 5px #ffaa00; }
.rb-heart-icon { font-size: 0.85rem; }

/* ── Grid ────────────────────────────────────── */
.rb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}

/* ── Coral Card ──────────────────────────────── */
.rb-card {
  background: linear-gradient(160deg, #1a0d35 0%, #0f1628 100%);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #2d1f5a;
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.rb-card:hover {
  transform: translateY(-4px);
  border-color: #ff2d9b66;
  box-shadow: 0 8px 30px #ff2d9b22;
}
.rb-card-img-wrap {
  position: relative;
  overflow: hidden;
}
.rb-card-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}
.rb-card:hover .rb-card-img { transform: scale(1.04); }

/* Status badge */
.rb-card-status {
  position: absolute;
  top: 8px;
  left: 8px;
  display: flex;
  align-items: center;
  gap: 5px;
  border-radius: 20px;
  padding: 3px 10px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  backdrop-filter: blur(6px);
}
.rb-card-status.beschikbaar  { background: #00ff8822; border: 1px solid #00ff8866; color: #00ff88; }
.rb-card-status.gereserveerd { background: #ffaa0022; border: 1px solid #ffaa0066; color: #ffaa00; }
.rb-card-status.verkocht     { background: #ff444422; border: 1px solid #ff444466; color: #ff4444; }
.rb-status-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.beschikbaar  .rb-status-dot { background: #00ff88; box-shadow: 0 0 5px #00ff88; }
.gereserveerd .rb-status-dot { background: #ffaa00; box-shadow: 0 0 5px #ffaa00; }
.verkocht     .rb-status-dot { background: #ff4444; box-shadow: 0 0 5px #ff4444; }

/* Heart button */
.rb-heart {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid #2d1f5a;
  background: #0d082099;
  color: #4a3f6b;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s;
  backdrop-filter: blur(6px);
  z-index: 2;
}
.rb-heart:hover { border-color: #ff2d9b66; color: #ff2d9b; }
.rb-heart.active {
  background: linear-gradient(135deg, #ff2d9b, #c026d3);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 0 12px #ff2d9b77;
}

/* Zoom hint */
.rb-card-zoom {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, #0d082088);
  color: #00d4ff;
  font-size: 0.72rem;
  font-weight: 700;
  text-align: center;
  padding: 18px 0 8px;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}
.rb-card:hover .rb-card-zoom { opacity: 1; }

/* Card body */
.rb-card-body {
  padding: 10px 12px 12px;
}
.rb-code {
  font-size: 0.78rem;
  font-weight: 700;
  color: #00d4ff;
  letter-spacing: 0.5px;
  text-shadow: 0 0 10px #00d4ff55;
}

/* ── Empty state ─────────────────────────────── */
.rb-empty {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 60px 20px;
  color: #4a3f6b;
  font-size: 0.9rem;
}
.rb-empty span { font-size: 3rem; }

/* ── Sticky WhatsApp ─────────────────────────── */
.rb-wa-sticky {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #25D366, #128C7E);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 14px 28px;
  border-radius: 50px;
  box-shadow: 0 0 24px #25D36688, 0 4px 20px #0008;
  z-index: 50;
  white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s;
}
.rb-wa-sticky:hover {
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 0 36px #25D36699, 0 6px 24px #0008;
}

/* ── Lightbox ────────────────────────────────── */
.rb-lightbox {
  position: fixed;
  inset: 0;
  background: #0d082099;
  backdrop-filter: blur(10px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s;
}
.rb-lightbox.open { opacity: 1; pointer-events: all; }

.rb-lightbox-inner {
  background: linear-gradient(160deg, #1a0d35 0%, #0f1628 100%);
  border: 1px solid #ff2d9b44;
  border-radius: 20px;
  overflow: hidden;
  max-width: 460px;
  width: 100%;
  box-shadow: 0 0 60px #ff2d9b33, 0 25px 60px #0009;
  position: relative;
  transform: scale(0.95);
  transition: transform 0.22s;
}
.rb-lightbox.open .rb-lightbox-inner { transform: scale(1); }

.rb-lightbox-close {
  position: absolute;
  top: 12px; right: 12px;
  width: 34px; height: 34px;
  background: #0d082099;
  border: 1px solid #2d1f5a;
  border-radius: 50%;
  color: #a78bfa;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(6px);
  z-index: 2;
  transition: all 0.15s;
}
.rb-lightbox-close:hover { background: #ff2d9b22; border-color: #ff2d9b; color: #fff; }

.rb-lightbox-img-wrap {
  width: 100%;
  max-height: 300px;
  overflow: hidden;
  background: #0d0820;
}
.rb-lightbox-img-wrap img {
  width: 100%;
  max-height: 300px;
  object-fit: contain;
  display: block;
  background: #0d0820;
}

.rb-lightbox-body { padding: 18px 20px 22px; }

.rb-lightbox-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
}
.rb-lightbox-code {
  font-size: 1.3rem;
  font-weight: 900;
  color: #fff;
  text-shadow: 0 0 20px #ff2d9b66;
  margin-bottom: 6px;
}
.rb-lightbox-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 20px;
  padding: 3px 12px;
  font-size: 0.75rem;
  font-weight: 700;
}
.rb-lightbox-status.beschikbaar  { background: #00ff8822; border: 1px solid #00ff8866; color: #00ff88; }
.rb-lightbox-status.gereserveerd { background: #ffaa0022; border: 1px solid #ffaa0066; color: #ffaa00; }
.rb-lightbox-status.verkocht     { background: #ff444422; border: 1px solid #ff444466; color: #ff4444; }

.rb-lightbox-price {
  background: #0d082055;
  border: 1px solid #2d1f5a;
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.rb-price-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #4a3f6b;
  font-weight: 600;
}
.rb-price-value { color: #e2d9f3; font-size: 0.88rem; font-weight: 600; }

.rb-lightbox-actions { display: flex; gap: 10px; }

.rb-copy-lb {
  flex: 1;
  background: #1a0d35;
  color: #00d4ff;
  border: 1px solid #00d4ff44;
  border-radius: 12px;
  padding: 12px;
  font-size: 0.83rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
  font-family: 'Inter', sans-serif;
}
.rb-copy-lb:hover { background: #00d4ff11; border-color: #00d4ff88; }
.rb-copy-lb.copied {
  background: #00d4ff22;
  border-color: #00d4ff;
  color: #00d4ff;
}

.rb-wa-lb {
  flex: 2;
  background: linear-gradient(90deg, #ff2d9b, #c026d3);
  color: #fff;
  text-decoration: none;
  border-radius: 12px;
  padding: 12px;
  font-size: 0.83rem;
  font-weight: 800;
  text-align: center;
  box-shadow: 0 0 18px #ff2d9b55;
  transition: box-shadow 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rb-wa-lb:hover { box-shadow: 0 0 28px #ff2d9b88; }

/* ── Admin page ──────────────────────────────── */
.admin-page {
  min-height: 100vh;
  background: linear-gradient(160deg, #0d0820 0%, #130a2a 55%, #0a1628 100%);
  padding: 30px 20px 60px;
}
.admin-banner {
  width: 100%;
  max-height: 160px;
  object-fit: cover;
  object-position: center 30%;
  border-radius: 16px;
  margin-bottom: 24px;
  display: block;
}
.admin-container { max-width: 700px; margin: 0 auto; }
.admin-title {
  font-size: 1.6rem;
  font-weight: 900;
  color: #fff;
  text-shadow: 0 0 24px #ff2d9b77;
  margin-bottom: 4px;
}
.admin-sub { color: #a78bfa; font-size: 0.78rem; margin-bottom: 22px; text-transform: uppercase; letter-spacing: 1px; }

.rb-card-form {
  background: #1a0d3588;
  border: 1px solid #2d1f5a;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
  backdrop-filter: blur(6px);
}
.rb-label {
  display: block;
  color: #a78bfa;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 6px;
  margin-top: 16px;
}
.rb-label:first-child { margin-top: 0; }
.rb-input {
  width: 100%;
  background: #0d082099;
  border: 1px solid #2d1f5a;
  border-radius: 10px;
  color: #e2d9f3;
  padding: 12px 14px;
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.15s;
  outline: none;
}
.rb-input:focus { border-color: #ff2d9b66; box-shadow: 0 0 0 3px #ff2d9b11; }
.rb-input[type="file"] { padding: 10px 14px; cursor: pointer; }

.rb-btn-primary {
  display: inline-block;
  background: linear-gradient(90deg, #ff2d9b, #c026d3);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 13px 28px;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  margin-top: 18px;
  box-shadow: 0 0 18px #ff2d9b44;
  transition: box-shadow 0.15s;
  font-family: 'Inter', sans-serif;
  text-decoration: none;
}
.rb-btn-primary:hover { box-shadow: 0 0 28px #ff2d9b77; }

.admin-section-title {
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 12px;
  margin-top: 8px;
}
.rb-album-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #1a0d3566;
  border: 1px solid #2d1f5a;
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 8px;
  text-decoration: none;
  color: #e2d9f3;
  font-weight: 600;
  font-size: 0.88rem;
  transition: all 0.15s;
}
.rb-album-link:hover {
  border-color: #ff2d9b55;
  background: #ff2d9b0d;
  color: #fff;
}
.rb-album-link span { color: #4a3f6b; font-size: 0.78rem; font-weight: 500; }
.rb-album-arrow { color: #ff2d9b; font-size: 1.1rem; }
.rb-no-albums { color: #4a3f6b; font-size: 0.85rem; padding: 16px 0; }

/* ── Card body extras ────────────────────────── */
.rb-card-code-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 4px;
}
.rb-type-chip {
  background: #a855f722;
  border: 1px solid #a855f755;
  color: #c084fc;
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 10px;
  padding: 2px 8px;
  white-space: nowrap;
}
.rb-card-name {
  color: #a78bfa;
  font-size: 0.75rem;
  font-weight: 500;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rb-interest-bar {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.68rem;
  color: #ff9f43;
  font-weight: 600;
  margin-top: 4px;
}
.rb-interest-num { font-weight: 800; }

/* ── Lightbox extras ─────────────────────────── */
.rb-lb-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}
.rb-lb-name {
  color: #a78bfa;
  font-size: 0.82rem;
  margin-top: 3px;
  font-weight: 500;
}
.rb-lb-type-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.rb-lb-type-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #4a3f6b;
  font-weight: 600;
}
.rb-lb-type-value {
  background: #a855f722;
  border: 1px solid #a855f755;
  color: #c084fc;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 12px;
  padding: 2px 12px;
}
.rb-lb-interest {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #ff9f4311;
  border: 1px solid #ff9f4333;
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #ff9f43;
  margin-bottom: 12px;
}
.rb-lb-interest-fire { font-size: 1rem; }

.rb-lb-care {
  background: #0d082055;
  border: 1px solid #2d1f5a;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 14px;
}
.rb-lb-care-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.rb-lb-care-header strong { color: #fff; font-size: 0.83rem; }
.rb-care-icon { font-size: 1rem; }
.rb-care-level {
  margin-left: auto;
  background: #7c3aed22;
  border: 1px solid #7c3aed55;
  color: #a855f7;
  font-size: 0.68rem;
  font-weight: 700;
  border-radius: 10px;
  padding: 2px 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.rb-care-notes {
  color: #a78bfa;
  font-size: 0.78rem;
  line-height: 1.65;
}

/* ── Admin album row ─────────────────────────── */
.rb-album-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
  margin-bottom: 10px;
}
.rb-album-row .rb-album-link {
  flex: 1;
  margin-bottom: 0;
  border-radius: 12px 0 0 12px;
}
.rb-edit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1a0d35;
  border: 1px solid #a855f744;
  border-left: none;
  border-radius: 0 12px 12px 0;
  color: #c084fc;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  padding: 0 16px;
  white-space: nowrap;
  transition: all 0.15s;
}
.rb-edit-btn:hover { background: #a855f711; border-color: #a855f7; color: #fff; }

/* ── Coral editor page ───────────────────────── */
.rb-back-link {
  color: #a78bfa;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid #2d1f5a;
  border-radius: 20px;
  padding: 5px 14px;
  transition: all 0.15s;
}
.rb-back-link:hover { border-color: #a855f7; color: #fff; }

.rb-saved-notice {
  background: #00ff8820;
  border: 1px solid #00ff8855;
  color: #00ff88;
  border-radius: 10px;
  padding: 10px 18px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 18px;
  box-shadow: 0 0 16px #00ff8822;
}

.rb-template-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 20px;
  background: #1a0d3544;
  border: 1px solid #2d1f5a;
  border-radius: 12px;
  padding: 12px 16px;
}
.rb-template-label {
  color: #4a3f6b;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-right: 4px;
}
.rb-template-btn {
  background: #0d082099;
  border: 1px solid #2d1f5a;
  color: #a78bfa;
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: all 0.15s;
}
.rb-template-btn:hover { border-color: #a855f7; color: #fff; background: #a855f711; }

.rb-edit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 16px;
}
.rb-edit-card {
  background: #1a0d3566;
  border: 1px solid #2d1f5a;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  gap: 0;
}
.rb-edit-img-wrap {
  position: relative;
  flex-shrink: 0;
  width: 110px;
}
.rb-edit-img {
  width: 110px;
  height: 100%;
  object-fit: cover;
  display: block;
}
.rb-edit-code {
  position: absolute;
  bottom: 6px;
  left: 0; right: 0;
  text-align: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: #00d4ff;
  background: #0d082099;
  padding: 2px 0;
  backdrop-filter: blur(4px);
}
.rb-edit-fields {
  flex: 1;
  padding: 12px 14px;
  overflow: hidden;
}
.rb-edit-row {
  display: flex;
  gap: 10px;
  margin-bottom: 0;
}
.rb-edit-field { flex: 1; min-width: 0; }
.rb-input-sm {
  padding: 7px 10px;
  font-size: 0.8rem;
  border-radius: 8px;
}
.rb-textarea {
  resize: vertical;
  min-height: 52px;
  padding: 7px 10px;
  font-size: 0.78rem;
  border-radius: 8px;
  line-height: 1.5;
}
.rb-select { cursor: pointer; }
.rb-edit-interest {
  margin-top: 8px;
  font-size: 0.72rem;
  color: #ff9f43;
  font-weight: 600;
}

/* ── Toast notification ──────────────────────── */
.rb-toast {
  position: fixed;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #1a0d35ee;
  border: 1px solid #a855f755;
  color: #e2d9f3;
  border-radius: 12px;
  padding: 10px 22px;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s, transform 0.22s;
  z-index: 999;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 24px #a855f733, 0 4px 20px #0008;
}
.rb-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ── Type filter bar ─────────────────────────── */
.rb-type-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin-bottom: 10px;
}
.rb-type-filter-label {
  color: #4a3f6b;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-right: 4px;
}
.rb-type-filter {
  background: #0d082088;
  border: 1px solid #2d1f5a;
  color: #a78bfa;
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: all 0.15s;
}
.rb-type-filter:hover { border-color: #a855f7; color: #fff; }
.rb-type-filter.active {
  background: #a855f722;
  border-color: #a855f7;
  color: #fff;
}

/* ── Sort bar ────────────────────────────────── */
.rb-sort-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.rb-sort-label {
  color: #4a3f6b;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.rb-sort-btn {
  background: #0d082088;
  border: 1px solid #2d1f5a;
  color: #a78bfa;
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: all 0.15s;
}
.rb-sort-btn:hover { border-color: #ff2d9b55; color: #fff; }
.rb-sort-btn.active {
  background: #ff2d9b22;
  border-color: #ff2d9b66;
  color: #fff;
}

/* ── Admin logout btn ────────────────────────── */
.rb-logout-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #0d082099;
  border: 1px solid #2d1f5a;
  color: #4a3f6b;
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
  margin-top: 8px;
}
.rb-logout-btn:hover { border-color: #ff444466; color: #ff7777; }

/* ── Album block (stats + actions) ──────────── */
.rb-album-block {
  background: #1a0d3544;
  border: 1px solid #2d1f5a;
  border-radius: 14px;
  margin-bottom: 14px;
  overflow: hidden;
}
.rb-album-block .rb-album-row {
  margin-bottom: 0;
}
.rb-album-block .rb-album-link {
  border-radius: 0;
  border: none;
  border-bottom: 1px solid #2d1f5a22;
  background: transparent;
  flex: 1;
}
.rb-album-block .rb-edit-btn {
  border-radius: 0;
  border: none;
  border-left: 1px solid #2d1f5a44;
  border-bottom: 1px solid #2d1f5a22;
  background: transparent;
}
.rb-stats-row {
  display: flex;
  gap: 0;
  padding: 10px 16px;
  border-bottom: 1px solid #2d1f5a22;
  flex-wrap: wrap;
  gap: 16px;
}
.rb-stat { display: flex; flex-direction: column; align-items: center; gap: 1px; }
.rb-stat-num {
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 1;
}
.rb-stat-num.green { color: #00ff88; text-shadow: 0 0 10px #00ff8855; }
.rb-stat-num.orange { color: #ffaa00; text-shadow: 0 0 10px #ffaa0055; }
.rb-stat-num.red { color: #ff4444; text-shadow: 0 0 10px #ff444455; }
.rb-stat-num.fire { color: #ff9f43; text-shadow: 0 0 10px #ff9f4355; }
.rb-stat-lbl { color: #4a3f6b; font-size: 0.65rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.rb-album-actions {
  display: flex;
  gap: 8px;
  padding: 10px 16px;
}
.rb-action-btn {
  background: #0d082066;
  border: 1px solid #2d1f5a;
  color: #a78bfa;
  border-radius: 8px;
  padding: 5px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  text-decoration: none;
  transition: all 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.rb-action-btn:hover { border-color: #a855f7; color: #fff; background: #a855f711; }

/* ── Bulk selection ──────────────────────────── */
.rb-bulk-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #1a0d35cc;
  border: 1px solid #ff2d9b44;
  border-radius: 12px;
  padding: 10px 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
  position: sticky;
  top: 10px;
  z-index: 20;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 20px #ff2d9b22;
}
#bulk-count { color: #ff2d9b; font-weight: 700; font-size: 0.85rem; white-space: nowrap; }

.rb-bulk-check-wrap {
  position: absolute;
  top: 6px;
  left: 6px;
  z-index: 3;
  cursor: pointer;
}
.rb-bulk-check {
  width: 16px; height: 16px;
  cursor: pointer;
  accent-color: #ff2d9b;
}

/* ── AI identification elements ─────────────── */
.rb-ai-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #0d1f3588;
  border: 1px solid #00d4ff44;
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 20px;
  color: #00d4ff;
  font-size: 0.85rem;
}
.rb-ai-banner strong { color: #fff; display: block; margin-bottom: 2px; }
.rb-ai-spinner {
  width: 22px; height: 22px;
  border: 3px solid #00d4ff33;
  border-top-color: #00d4ff;
  border-radius: 50%;
  flex-shrink: 0;
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.rb-ai-count {
  margin-left: auto;
  font-weight: 800;
  font-size: 1rem;
  white-space: nowrap;
}
.rb-ai-all-btn {
  background: #00d4ff11 !important;
  border-color: #00d4ff55 !important;
  color: #00d4ff !important;
}
.rb-ai-all-btn:hover { background: #00d4ff22 !important; border-color: #00d4ff !important; color: #fff !important; }

.rb-ai-identify-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #0d082099;
  border: 1px solid #00d4ff33;
  color: #00d4ff;
  border-radius: 8px;
  padding: 4px 12px;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  margin-bottom: 6px;
  transition: all 0.15s;
  width: 100%;
  justify-content: center;
}
.rb-ai-identify-btn:hover { background: #00d4ff11; border-color: #00d4ff77; }
.rb-ai-identify-btn:disabled { opacity: 0.6; cursor: wait; }

.rb-ai-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  background: #00d4ff22;
  border: 1px solid #00d4ff55;
  border-radius: 8px;
  font-size: 0.7rem;
  padding: 2px 6px;
  backdrop-filter: blur(4px);
}
.rb-edit-card.ai-loading { opacity: 0.65; }
.rb-edit-card.ai-done { border-color: #00d4ff44; }
.rb-sticky-save {
  position: sticky;
  bottom: 18px;
  display: flex;
  justify-content: flex-end;
  z-index: 999;
  pointer-events: none;
  margin-top: 24px;
}

.rb-save-floating {
  pointer-events: all;
  box-shadow: 0 0 25px rgba(0, 255, 180, 0.35);
  border: 1px solid #00ffaa;
  padding: 14px 24px;
  border-radius: 14px;
}

/* ── Responsive ──────────────────────────────── */
@media (max-width: 480px) {
  .rb-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .rb-lightbox-actions { flex-direction: column; }
  .rb-banner { max-height: 140px; }
  .rb-edit-grid { grid-template-columns: 1fr; }
  .rb-edit-card { flex-direction: column; }
  .rb-edit-img-wrap { width: 100%; height: 140px; }
  .rb-edit-img { width: 100%; height: 140px; }
  .rb-album-row { flex-direction: column; }
  .rb-album-row .rb-album-link { border-radius: 12px; }
  .rb-edit-btn { border-radius: 12px; border-left: 1px solid #a855f744; padding: 10px; }
}
