/* ==========================================================================
   ETUDEY STUDY KANBAN — PHYSICAL WHITEBOARD VISUAL ARCHITECTURE
   Fidelity: 100% matched to reference photo (whiteboard + pastel sticky notes)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@600;700&family=Patrick+Hand&family=Plus+Jakarta+Sans:wght@500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* Pastel Sticky Note Color Palette (Exact Match to Physical Photo) */
  --sticky-yellow-bg: #FEF08A;
  --sticky-yellow-text: #713F12;
  --sticky-yellow-tape: #FDE047;
  --sticky-yellow-badge: rgba(113, 63, 18, 0.12);

  --sticky-coral-bg: #FECDD3;
  --sticky-coral-text: #881337;
  --sticky-coral-tape: #FDA4AF;
  --sticky-coral-badge: rgba(136, 19, 55, 0.12);

  --sticky-blue-bg: #BAE6FD;
  --sticky-blue-text: #0C4A6E;
  --sticky-blue-tape: #7DD3FC;
  --sticky-blue-badge: rgba(12, 74, 110, 0.12);

  --sticky-green-bg: #A7F3D0;
  --sticky-green-text: #064E3B;
  --sticky-green-tape: #6EE7B7;
  --sticky-green-badge: rgba(6, 78, 59, 0.12);

  --sticky-purple-bg: #DDD6FE;
  --sticky-purple-text: #4C1D95;
  --sticky-purple-tape: #C4B5FD;
  --sticky-purple-badge: rgba(76, 29, 149, 0.12);

  --sticky-peach-bg: #FED7AA;
  --sticky-peach-text: #7C2D12;
  --sticky-peach-tape: #FDBA74;
  --sticky-peach-badge: rgba(124, 45, 18, 0.12);

  /* Whiteboard Materials */
  --wb-frame-border: #E2E8F0;
  --wb-frame-accent: #CBD5E1;
  --wb-porcelain-bg: #FDFDFE;
  --wb-marker-ink: #334155;
  --wb-marker-divider: rgba(51, 65, 85, 0.85);

  /* Typography */
  --wb-font-marker: 'Caveat', 'Patrick Hand', cursive, sans-serif;
  --wb-font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --wb-font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Whiteboard Container */
.whiteboard-wrapper {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 20px 32px 20px;
  position: relative;
}

/* Polished Brushed Aluminum Outer Frame */
.whiteboard-frame {
  background: var(--wb-porcelain-bg);
  border: 12px solid var(--wb-frame-border);
  border-radius: 22px;
  box-shadow: 
    inset 0 2px 5px rgba(0, 0, 0, 0.05),
    inset 0 -2px 5px rgba(0, 0, 0, 0.03),
    0 20px 40px -15px rgba(15, 23, 42, 0.12),
    0 0 0 1px rgba(203, 213, 225, 0.8);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s ease;
}

/* Aluminum Corner Rivets / Brackets */
.whiteboard-frame::before,
.whiteboard-frame::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background: radial-gradient(circle, #CBD5E1 30%, #94A3B8 100%);
  border-radius: 50%;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.8), 0 1px 2px rgba(0, 0, 0, 0.3);
  z-index: 5;
  pointer-events: none;
}
.whiteboard-frame::before { top: 8px; left: 8px; }
.whiteboard-frame::after { top: 8px; right: 8px; }

/* Porcelain Canvas Surface with Sheen */
.whiteboard-canvas {
  background: radial-gradient(ellipse at 50% 15%, #FFFFFF 65%, #F8FAFC 100%);
  padding: 32px 36px 24px 36px;
  position: relative;
  min-height: 640px;
  display: flex;
  flex-direction: column;
}

/* Top Whiteboard Header with Authentic Marker Styling */
.whiteboard-header {
  text-align: center;
  position: relative;
  padding-bottom: 8px;
}

.whiteboard-title {
  font-family: var(--wb-font-marker);
  font-size: 54px;
  font-weight: 700;
  color: var(--wb-marker-ink);
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1.1;
  text-shadow: 0 0 1px rgba(51, 65, 85, 0.3);
  user-select: none;
}

.whiteboard-subtitle-tag {
  display: inline-block;
  font-family: var(--wb-font-body);
  font-size: 12px;
  font-weight: 600;
  color: #64748B;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 4px;
}

/* Dry-Erase Marker Horizontal Divider Bar */
.whiteboard-divider-line {
  height: 3px;
  background: var(--wb-marker-divider);
  border-radius: 3px;
  margin: 16px 20px 24px 20px;
  opacity: 0.9;
  position: relative;
}

/* Columns Grid Layout */
.whiteboard-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  flex: 1;
  position: relative;
}

/* Individual Column */
.wb-column {
  padding: 0 24px 24px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 480px;
}

/* Dark Dry-Erase Vertical Divider Lines */
.wb-column:not(:last-child) {
  border-right: 2.5px solid var(--wb-marker-divider);
}

/* Column Header */
.wb-col-header {
  text-align: center;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 2px solid rgba(51, 65, 85, 0.75);
  position: relative;
  user-select: none;
}

.wb-col-title {
  font-family: var(--wb-font-marker);
  font-size: 36px;
  font-weight: 700;
  color: var(--wb-marker-ink);
  line-height: 1.1;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.wb-col-meta {
  font-family: var(--wb-font-body);
  font-size: 13px;
  font-weight: 600;
  color: #64748B;
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.wb-col-meta .wip-pill {
  background: rgba(239, 68, 68, 0.1);
  color: #DC2626;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 11.5px;
  font-weight: 700;
}

/* Card Drop Zone */
.wb-cards-zone {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 6px 2px;
  min-height: 320px;
}

/* ==========================================================================
   PASTEL STICKY NOTES ARCHITECTURE
   ========================================================================== */
.sticky-note {
  position: relative;
  padding: 18px 18px 16px 18px;
  border-radius: 3px;
  box-shadow: 
    0 4px 6px -1px rgba(0, 0, 0, 0.08),
    0 2px 4px -2px rgba(0, 0, 0, 0.06),
    0 10px 15px -3px rgba(0, 0, 0, 0.05);
  cursor: grab;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 10px;
  user-select: none;
  font-family: var(--wb-font-body);
}

.sticky-note:active {
  cursor: grabbing;
}

/* Top Masking Tape Accent Strip */
.sticky-tape {
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 9px;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  pointer-events: none;
  backdrop-filter: blur(1px);
}

/* Organic Pseudo-Random Tilts (Straighten on Hover with Lift Effect) */
.tilt-1 { transform: rotate(-1.2deg); }
.tilt-2 { transform: rotate(1.5deg); }
.tilt-3 { transform: rotate(-0.8deg); }
.tilt-4 { transform: rotate(1.1deg); }
.tilt-5 { transform: rotate(-1.6deg); }
.tilt-6 { transform: rotate(0.9deg); }

.sticky-note:hover {
  transform: scale(1.03) translateY(-4px) rotate(0deg) !important;
  z-index: 10;
  box-shadow: 
    0 14px 28px rgba(0, 0, 0, 0.12),
    0 10px 10px rgba(0, 0, 0, 0.06);
}

/* 6 Pastel Colors From Reference Photo */
.sticky-yellow {
  background-color: var(--sticky-yellow-bg);
  color: var(--sticky-yellow-text);
}
.sticky-yellow .sticky-tape { background: var(--sticky-yellow-tape); opacity: 0.7; }
.sticky-yellow .sticky-subject { background: var(--sticky-yellow-badge); color: var(--sticky-yellow-text); }

.sticky-coral {
  background-color: var(--sticky-coral-bg);
  color: var(--sticky-coral-text);
}
.sticky-coral .sticky-tape { background: var(--sticky-coral-tape); opacity: 0.7; }
.sticky-coral .sticky-subject { background: var(--sticky-coral-badge); color: var(--sticky-coral-text); }

.sticky-blue {
  background-color: var(--sticky-blue-bg);
  color: var(--sticky-blue-text);
}
.sticky-blue .sticky-tape { background: var(--sticky-blue-tape); opacity: 0.7; }
.sticky-blue .sticky-subject { background: var(--sticky-blue-badge); color: var(--sticky-blue-text); }

.sticky-green {
  background-color: var(--sticky-green-bg);
  color: var(--sticky-green-text);
}
.sticky-green .sticky-tape { background: var(--sticky-green-tape); opacity: 0.7; }
.sticky-green .sticky-subject { background: var(--sticky-green-badge); color: var(--sticky-green-text); }

.sticky-purple {
  background-color: var(--sticky-purple-bg);
  color: var(--sticky-purple-text);
}
.sticky-purple .sticky-tape { background: var(--sticky-purple-tape); opacity: 0.7; }
.sticky-purple .sticky-subject { background: var(--sticky-purple-badge); color: var(--sticky-purple-text); }

.sticky-peach {
  background-color: var(--sticky-peach-bg);
  color: var(--sticky-peach-text);
}
.sticky-peach .sticky-tape { background: var(--sticky-peach-tape); opacity: 0.7; }
.sticky-peach .sticky-subject { background: var(--sticky-peach-badge); color: var(--sticky-peach-text); }

/* Card Header: Subject Pill & Grip Handle */
.sticky-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.sticky-subject {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 4px;
}

.sticky-grip {
  font-size: 14px;
  font-weight: 700;
  opacity: 0.5;
  letter-spacing: -1px;
}

/* Card Title */
.sticky-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
  word-break: break-word;
}

/* Subtask Checklist */
.sticky-checklist {
  list-style: none;
  padding: 0;
  margin: 4px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sticky-check-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
}

.sticky-check-item input[type="checkbox"] {
  width: 14px;
  height: 14px;
  accent-color: currentColor;
  cursor: pointer;
}

.sticky-check-item.done span {
  text-decoration: line-through;
  opacity: 0.65;
}

/* Card Bottom Metadata: Due Date / Completed Status */
.sticky-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px dashed rgba(0, 0, 0, 0.12);
  font-size: 11.5px;
  font-weight: 600;
}

.sticky-due-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.sticky-due-chip.urgent {
  font-weight: 800;
}

/* Add Sticky Note Button */
.wb-add-btn {
  background: rgba(255, 255, 255, 0.7);
  border: 2px dashed rgba(51, 65, 85, 0.35);
  border-radius: 8px;
  color: var(--wb-marker-ink);
  padding: 12px;
  font-family: var(--wb-font-heading);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.wb-add-btn:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: #2563EB;
  color: #2563EB;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

/* ==========================================================================
   DRY-ERASE WHITEBOARD ACCESSORY TRAY
   Fidelity: Aluminum tray with Blue, Black, Red Markers & Orange Felt Eraser
   ========================================================================== */
.whiteboard-tray {
  background: linear-gradient(180deg, #E2E8F0 0%, #CBD5E1 100%);
  border-top: 2px solid #94A3B8;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 0 32px;
  box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 4;
}

/* Tray Lip Shadow */
.whiteboard-tray::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(0, 0, 0, 0.15);
}

/* Realistic Dry-Erase Markers */
.wb-marker {
  display: flex;
  align-items: center;
  height: 18px;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: transform 0.2s ease;
  user-select: none;
}
.wb-marker:hover {
  transform: translateY(-3px);
}

.marker-cap {
  width: 24px;
  height: 18px;
  border-radius: 4px 0 0 4px;
  position: relative;
}
.marker-cap::after {
  content: "";
  position: absolute;
  right: 0;
  top: 2px;
  bottom: 2px;
  width: 3px;
  background: rgba(0, 0, 0, 0.2);
}

.marker-body {
  width: 68px;
  height: 16px;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: monospace;
  font-size: 8px;
  font-weight: 800;
  color: #64748B;
  letter-spacing: 0.5px;
}

.marker-tail {
  width: 8px;
  height: 16px;
  border-radius: 0 3px 3px 0;
}

/* Blue Marker */
.wb-marker-blue .marker-cap,
.wb-marker-blue .marker-tail { background: #2563EB; }
.wb-marker-blue .marker-body { color: #2563EB; }

/* Black Marker */
.wb-marker-black .marker-cap,
.wb-marker-black .marker-tail { background: #0F172A; }
.wb-marker-black .marker-body { color: #0F172A; }

/* Red Marker */
.wb-marker-red .marker-cap,
.wb-marker-red .marker-tail { background: #DC2626; }
.wb-marker-red .marker-body { color: #DC2626; }

/* Magnetic Orange Felt Whiteboard Eraser (Exact match to photo) */
.wb-felt-eraser {
  display: flex;
  flex-direction: column;
  width: 110px;
  height: 32px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
  border-radius: 4px;
  cursor: pointer;
  transition: transform 0.2s ease;
  overflow: hidden;
}
.wb-felt-eraser:hover {
  transform: translateY(-3px);
}

.eraser-top-grip {
  height: 18px;
  background: #1E293B;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--wb-font-body);
  font-size: 8px;
  font-weight: 700;
  color: #94A3B8;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.eraser-felt-cushion {
  height: 14px;
  background: linear-gradient(180deg, #F97316 0%, #EA580C 100%);
  border-top: 1px solid #C2410C;
}

/* Responsive Media Queries */
@media (max-width: 960px) {
  .whiteboard-columns {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .wb-column:not(:last-child) {
    border-right: none;
    border-bottom: 2.5px solid var(--wb-marker-divider);
    padding-bottom: 32px;
  }
  .whiteboard-canvas {
    padding: 24px 20px 20px 20px;
  }
  .whiteboard-title {
    font-size: 42px;
  }
  .whiteboard-tray {
    gap: 16px;
    padding: 0 16px;
  }
  .marker-body {
    width: 48px;
  }
}

/* ==========================================================================
   TOOLBAR & GUEST BANNER
   ========================================================================== */
.wb-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
  padding: 10px 16px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.wb-toolbar-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.wb-tool-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: #F8FAFC;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  font-family: var(--wb-font-heading);
  font-size: 13px;
  font-weight: 600;
  color: #1E293B;
  cursor: pointer;
  transition: all 0.2s ease;
}

.wb-tool-btn:hover {
  background: #FFFFFF;
  border-color: #2563EB;
  color: #2563EB;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.12);
  transform: translateY(-1px);
}

.wb-tool-btn.primary {
  background: #2563EB;
  border-color: #2563EB;
  color: #FFFFFF;
}

.wb-tool-btn.primary:hover {
  background: #1D4ED8;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.wb-guest-banner {
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-radius: 10px;
  padding: 10px 16px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13.5px;
  color: #1E40AF;
  font-weight: 500;
}

.wb-guest-banner a {
  color: #2563EB;
  font-weight: 700;
  text-decoration: underline;
}

/* ==========================================================================
   EDIT CARD MODAL
   ========================================================================== */
.kb-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.kb-modal-dialog {
  background: #FFFFFF;
  border-radius: 18px;
  width: 100%;
  max-width: 520px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: kbModalPop 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes kbModalPop {
  from { opacity: 0; transform: scale(0.95) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.kb-modal-header {
  padding: 18px 24px;
  border-bottom: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.kb-modal-title {
  font-family: var(--wb-font-heading);
  font-size: 18px;
  font-weight: 800;
  color: #0F172A;
  margin: 0;
}

.kb-modal-close {
  background: none;
  border: none;
  font-size: 24px;
  line-height: 1;
  color: #64748B;
  cursor: pointer;
  padding: 4px;
}

.kb-modal-close:hover { color: #0F172A; }

.kb-modal-body {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: 68vh;
  overflow-y: auto;
}

.kb-field label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.kb-input {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  font-family: var(--wb-font-body);
  font-size: 14px;
  color: #0F172A;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.kb-input:focus {
  border-color: #2563EB;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.kb-field-row {
  display: flex;
  gap: 12px;
}

.kb-quick-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.kb-qtag {
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: #F1F5F9;
  color: #475569;
  cursor: pointer;
  transition: all 0.15s;
}

.kb-qtag:hover {
  background: #2563EB;
  color: #FFFFFF;
}

.kb-color-swatches {
  display: flex;
  gap: 12px;
}

.kb-swatch {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, border-color 0.15s;
}

.kb-swatch:hover { transform: scale(1.15); }
.kb-swatch.selected {
  border-color: #0F172A;
  transform: scale(1.15);
  box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.2);
}

.swatch-yellow { background: var(--sticky-yellow-bg); }
.swatch-coral { background: var(--sticky-coral-bg); }
.swatch-blue { background: var(--sticky-blue-bg); }
.swatch-green { background: var(--sticky-green-bg); }
.swatch-purple { background: var(--sticky-purple-bg); }
.swatch-peach { background: var(--sticky-peach-bg); }

.kb-checklist-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 8px;
}

.kb-chk-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.kb-chk-del {
  background: none;
  border: none;
  color: #DC2626;
  font-size: 18px;
  cursor: pointer;
  padding: 0 6px;
}

.kb-add-subtask-row {
  display: flex;
  gap: 8px;
}

.kb-modal-footer {
  padding: 16px 24px;
  border-top: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #F8FAFC;
}

.kb-btn {
  height: 38px;
  padding: 0 16px;
  border-radius: 8px;
  font-family: var(--wb-font-heading);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  border: none;
}

.kb-btn-primary { background: #2563EB; color: #FFFFFF; }
.kb-btn-primary:hover { background: #1D4ED8; }

.kb-btn-secondary { background: #FFFFFF; border: 1px solid #CBD5E1; color: #334155; }
.kb-btn-secondary:hover { background: #F1F5F9; }

.kb-btn-danger { background: #FEE2E2; color: #DC2626; }
.kb-btn-danger:hover { background: #FECACA; }

/* ==========================================================================
   FIRST-TIME ONBOARDING WALKTHROUGH MODAL
   ========================================================================== */
.kb-onboard-dialog {
  max-width: 480px;
  text-align: center;
  border-radius: 20px;
  padding: 0;
}

.kb-onboard-header {
  padding: 16px 20px 8px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.kb-step-badge {
  font-family: var(--wb-font-heading);
  font-size: 12px;
  font-weight: 700;
  color: #2563EB;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.kb-onboard-body {
  padding: 16px 28px 20px 28px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.kb-onboard-slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  animation: kbSlideIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes kbSlideIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.kb-onboard-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}

.kb-onboard-slide h3 {
  font-family: var(--wb-font-heading);
  font-size: 22px;
  font-weight: 800;
  color: #0F172A;
  margin: 0;
  letter-spacing: -0.02em;
}

.kb-onboard-slide p {
  font-family: var(--wb-font-body);
  font-size: 14.5px;
  color: #475569;
  line-height: 1.6;
  margin: 0;
  max-width: 380px;
}

.kb-onboard-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding-bottom: 16px;
}

.kb-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #E2E8F0;
  transition: all 0.25s ease;
  cursor: pointer;
}

.kb-dot.active {
  width: 24px;
  background: #2563EB;
}

.kb-onboard-footer {
  padding: 16px 24px;
  border-top: 1px solid #E2E8F0;
  background: #F8FAFC;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ==========================================================================
   PRINT STYLESHEET (Ctrl+P Landscape Vector Clean Output)
   ========================================================================== */
@media print {
  body * {
    visibility: hidden;
  }
  .whiteboard-wrapper, .whiteboard-wrapper * {
    visibility: visible;
  }
  .whiteboard-wrapper {
    position: absolute;
    left: 0;
    top: 0;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .whiteboard-frame {
    border: 3px solid #334155 !important;
    box-shadow: none !important;
  }
  .wb-toolbar, .wb-guest-banner, .wb-add-btn, .sticky-edit-btn, header, footer {
    display: none !important;
  }
  .sticky-note {
    break-inside: avoid;
    box-shadow: 1px 1px 3px rgba(0,0,0,0.1) !important;
    transform: none !important;
  }
  @page {
    size: landscape;
    margin: 10mm;
  }
}
