/* ==========================================================================
   GUESTBOOK / TABLICA KORKOWA (Windows 11 Fluent App & Sticky Notes Engine)
   Modeled on Microsoft Sticky Notes & WinUI 3 Fluent Design System
   ========================================================================== */

/* Floating Windows 11 Application Window (Acrylic / Mica Taskbar Frosted Glass) */
.guestbook-window {
  position: fixed;
  bottom: 58px;
  left: 50%;
  transform-origin: bottom center;
  transform: translateX(-50%) translateY(24px) scale(0.94);
  width: 1060px;
  max-width: calc(100vw - 28px);
  height: 680px;
  max-height: calc(100vh - 72px);
  background: rgba(30, 30, 30, 0.78);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.85), 0 0 1px rgba(255, 255, 255, 0.3) inset;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.26s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.26s;
  z-index: 10006;
  user-select: none;
  font-family: "Segoe UI Variable Text", "Segoe UI", -apple-system, sans-serif;
  color: #ffffff;
}

.guestbook-window.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}

.guestbook-window.is-dragged {
  transition: none !important;
}

.guestbook-window.is-maximized {
  width: 100vw !important;
  max-width: 100vw !important;
  height: calc(100vh - 48px) !important;
  max-height: calc(100vh - 48px) !important;
  bottom: 48px !important;
  left: 0 !important;
  top: 0 !important;
  border-radius: 0 !important;
  transform: none !important;
}

/* 1. Windows 11 Titlebar */
.guestbook-titlebar {
  height: 42px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0 0 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  z-index: 10;
  cursor: move;
}

.guestbook-titlebar-left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 500;
  color: #e0e0e0;
}

.guestbook-app-icon {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.guestbook-app-icon svg,
.guestbook-app-icon img {
  width: 18px;
  height: 18px;
  display: block;
}

.guestbook-app-name {
  font-weight: 600;
  color: #ffffff;
}

.guestbook-title-sub {
  color: #888888;
  font-size: 11.5px;
}

/* Windows 11 Window Controls (Minimize, Maximize, Close) */
.guestbook-window-controls {
  display: flex;
  align-items: center;
  height: 100%;
}

.guestbook-win-btn {
  width: 46px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: #cccccc;
  cursor: pointer;
  transition: background 0.1s, color 0.1s;
}

.guestbook-win-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.guestbook-win-btn.close:hover {
  background: #c42b1c;
  color: #ffffff;
}

/* 2. Windows 11 CommandBar (Toolbar) */
.guestbook-command-bar {
  height: 44px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 8px;
  z-index: 10;
}

.guestbook-add-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: #0078d4;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  box-shadow: 0 2px 6px rgba(0, 120, 212, 0.4);
}

.guestbook-add-btn:hover {
  background: #1084d9;
  transform: translateY(-1px);
}

.guestbook-add-btn:active {
  transform: translateY(0);
}

.guestbook-cmd-separator {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.08);
  margin: 0 4px;
}

.guestbook-zoom-control {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
}

.guestbook-zoom-btn {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: #e0e0e0;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.1s;
}

.guestbook-zoom-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.guestbook-zoom-text {
  font-size: 11.5px;
  font-weight: 600;
  color: #e0e0e0;
  padding: 0 8px;
  min-width: 44px;
  text-align: center;
}

.guestbook-cmd-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  color: #e0e0e0;
  font-size: 12px;
  cursor: pointer;
  transition: background 0.12s, color 0.12s;
}

.guestbook-cmd-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.guestbook-badge-count {
  margin-left: auto;
  font-size: 11.5px;
  color: #ffd60a;
  font-weight: 600;
  background: rgba(255, 214, 10, 0.1);
  border: 1px solid rgba(255, 214, 10, 0.25);
  padding: 4px 10px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* 3. Corkboard Interactive Pan & Zoom Viewport (Transparent Blurred Acrylic Canvas) */
.corkboard-viewport {
  flex: 1;
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
  cursor: grab;
  background: transparent;
}

.corkboard-viewport.is-panning {
  cursor: grabbing;
}

/* 2600x1800 Smooth Movable Canvas with Pure Transparent Acrylic Glass */
.corkboard-canvas {
  width: 2600px;
  height: 1800px;
  position: absolute;
  top: 0;
  left: 0;
  transform-origin: 0 0;
  will-change: transform;
  background: transparent;
  box-shadow: none;
}

/* 4. Windows 11 Sticky Notes on Corkboard (Clean Image-Only Card) */
.cork-sticker-card {
  position: absolute;
  width: 190px;
  border-radius: 6px;
  padding: 18px 10px 10px 10px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.18s ease;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.52), 0 3px 8px rgba(0, 0, 0, 0.35);
  transform-origin: 50% 10px;
  border: 1px solid rgba(0, 0, 0, 0.15);
}

.cork-sticker-card:hover {
  transform: scale(1.12) rotate(0deg) !important;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.75), 0 8px 16px rgba(0, 0, 0, 0.5);
  z-index: 1000 !important;
}

/* Realistic 3D Pushpin */
.cork-pushpin {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  box-shadow: 0 8px 14px rgba(0, 0, 0, 0.55), inset 0 -3px 5px rgba(0, 0, 0, 0.4), inset 0 3px 5px rgba(255, 255, 255, 0.65);
  z-index: 5;
}

.cork-pushpin::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.65);
}

.cork-pushpin.pin-red    { background: radial-gradient(circle at 35% 35%, #ff4d4f 0%, #cf1322 70%, #820014 100%); }
.cork-pushpin.pin-blue   { background: radial-gradient(circle at 35% 35%, #40a9ff 0%, #096dd9 70%, #003a8c 100%); }
.cork-pushpin.pin-gold   { background: radial-gradient(circle at 35% 35%, #ffd666 0%, #d48806 70%, #613400 100%); border: 1px solid rgba(255, 215, 0, 0.6); box-shadow: 0 8px 14px rgba(0, 0, 0, 0.55), inset 0 2px 4px rgba(255, 255, 255, 0.8); }
.cork-pushpin.pin-silver { background: radial-gradient(circle at 35% 35%, #ffffff 0%, #bfbfbf 50%, #595959 100%); border: 1px solid rgba(255, 255, 255, 0.8); }
.cork-pushpin.pin-green  { background: radial-gradient(circle at 35% 35%, #73d13d 0%, #389e0d 70%, #135200 100%); }
.cork-pushpin.pin-purple { background: radial-gradient(circle at 35% 35%, #b37feb 0%, #722ed1 70%, #391085 100%); }
.cork-pushpin.pin-yellow { background: radial-gradient(circle at 35% 35%, #ffec3d 0%, #d4b106 70%, #876800 100%); }

/* Washi Tape - Clear / Frosted */
.cork-attachment.attach-tape-clear {
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  width: 72px;
  height: 20px;
  background: rgba(255, 255, 255, 0.52);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-left: 2px dashed rgba(0, 0, 0, 0.18);
  border-right: 2px dashed rgba(0, 0, 0, 0.18);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.22);
  z-index: 5;
  pointer-events: none;
}

/* Washi Tape - Pastel Japanese Stripes */
.cork-attachment.attach-tape-pastel {
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%) rotate(2.5deg);
  width: 76px;
  height: 21px;
  background: repeating-linear-gradient(45deg, rgba(255, 215, 120, 0.85), rgba(255, 215, 120, 0.85) 6px, rgba(255, 170, 185, 0.85) 6px, rgba(255, 170, 185, 0.85) 12px);
  border-left: 2px dashed rgba(0, 0, 0, 0.22);
  border-right: 2px dashed rgba(0, 0, 0, 0.22);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.28);
  z-index: 5;
  pointer-events: none;
}

/* Metal Paperclip */
.cork-attachment.attach-paperclip {
  position: absolute;
  top: -14px;
  left: 24px;
  width: 20px;
  height: 42px;
  z-index: 6;
  pointer-events: none;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.55));
}
.paperclip-svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Gold & Steel Binder Clip */
.cork-attachment.attach-binder-clip {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 32px;
  z-index: 6;
  pointer-events: none;
}
.binder-clip-body {
  width: 32px;
  height: 14px;
  background: #141416;
  border-radius: 2px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.6);
  margin: 0 auto;
  border: 1px solid #38383e;
}
.binder-clip-wire {
  width: 24px;
  height: 18px;
  border: 2.2px solid #ffd700;
  border-bottom: none;
  border-radius: 12px 12px 0 0;
  margin: 0 auto -3px auto;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.4));
}

/* Royal Red Wax Seal */
.cork-attachment.attach-wax-seal {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #f5222d 0%, #a8071a 70%, #5c0011 100%);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.7), inset 0 1px 2px rgba(255, 255, 255, 0.45);
  border: 1.5px solid #820014;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 6;
  pointer-events: none;
}
.wax-seal-emblem {
  font-size: 14px;
  color: #ffccc7;
  text-shadow: 0 1px 2px rgba(0,0,0,0.7);
  line-height: 1;
  user-select: none;
}

/* Gold Star Sticker */
.cork-attachment.attach-star {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 22px;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,0.5));
  z-index: 6;
  pointer-events: none;
  line-height: 1;
  user-select: none;
}

/* Sweet Pink Heart Sticker */
.cork-attachment.attach-heart {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 22px;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,0.5));
  z-index: 6;
  pointer-events: none;
  line-height: 1;
  user-select: none;
}

.cork-attachment.attach-none {
  display: none !important;
}

/* Windows 11 Sticky Notes Official Color Palettes */
.cork-sticker-card.color-yellow, .guestbook-live-card.color-yellow { background: #fff9c4 !important; border-color: rgba(230, 210, 50, 0.4); }
.cork-sticker-card.color-pink, .guestbook-live-card.color-pink     { background: #ffd1dc !important; border-color: rgba(240, 150, 170, 0.4); }
.cork-sticker-card.color-cyan, .guestbook-live-card.color-cyan     { background: #bbf2f6 !important; border-color: rgba(100, 210, 220, 0.4); }
.cork-sticker-card.color-green, .guestbook-live-card.color-green   { background: #c8e6c9 !important; border-color: rgba(120, 200, 130, 0.4); }
.cork-sticker-card.color-purple, .guestbook-live-card.color-purple { background: #e1bee7 !important; border-color: rgba(190, 140, 210, 0.4); }
.cork-sticker-card.color-orange, .guestbook-live-card.color-orange { background: #ffe0b2 !important; border-color: rgba(240, 170, 110, 0.4); }
.cork-sticker-card.color-white, .guestbook-live-card.color-white   { background: #ffffff !important; border-color: rgba(255, 255, 255, 0.4); }
.cork-sticker-card.color-dark, .guestbook-live-card.color-dark     { background: #22252c !important; border-color: rgba(60, 60, 70, 0.4); }

.cork-card-img-box {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 4px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.08);
  box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cork-card-img-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* 5. In-Window Inspect Modal & Windows 11 Submit Modal (No Fullscreen Blackout/Blur) */
.sticker-inspect-inwin {
  position: absolute;
  inset: 0;
  top: 38px; /* Below titlebar */
  background: rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s;
  padding: 16px;
  box-sizing: border-box;
}

.guestbook-form-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20000000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.sticker-inspect-inwin.is-open,
.guestbook-form-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* WinUI 3 Dialog Cards - 1:1 Clean Compact Layout */
.sticker-inspect-card {
  width: 580px;
  max-width: 100%;
  background: rgba(30, 30, 34, 0.85);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 14px 18px 16px 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), 0 0 1px rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: #ffffff;
  font-family: "Segoe UI Variable Text", "Segoe UI", sans-serif;
  transform: scale(0.96);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.sticker-inspect-inwin.is-open .sticker-inspect-card,
.guestbook-form-overlay.is-open .guestbook-form-card {
  transform: scale(1) translateY(0);
}

/* 2-Column Split View for Inspect Modal (1:1 Screenshot 2) */
.sticker-inspect-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 8px;
}

.sticker-inspect-header-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sticker-inspect-pin {
  font-size: 15px;
}

.sticker-inspect-title {
  font-weight: 600;
  color: #ffffff;
  font-size: 13.5px;
}

.sticker-inspect-close-btn {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 4px;
  color: #888888;
  font-size: 12px;
  cursor: pointer;
  transition: background 0.12s, color 0.12s;
}

.sticker-inspect-close-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.sticker-inspect-split-body {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: stretch;
}

.sticker-inspect-left-col {
  flex: 1.15;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 0;
}

.sticker-inspect-right-col {
  flex: 0.85;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
}

.sticker-inspect-col-divider {
  width: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 0 2px;
}

.sticker-inspect-field {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sticker-inspect-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: #60cdff;
  text-transform: uppercase;
}

.sticker-inspect-nick-val {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  word-break: break-word;
  margin-top: 2px;
}

.sticker-inspect-date-val {
  font-size: 11px;
  color: #888888;
  margin-top: 1px;
}

.sticker-inspect-msg-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 13px;
  line-height: 1.45;
  color: #e6edf3;
  word-break: break-word;
  max-height: 120px;
  overflow-y: auto;
  margin-top: 4px;
}

.sticker-inspect-img-wrapper {
  width: 100%;
  max-width: 200px;
  aspect-ratio: 1;
  border-radius: 6px;
  overflow: hidden;
  background: #141416;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sticker-inspect-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

@media (max-width: 600px) {
  .sticker-inspect-split-body {
    flex-direction: column-reverse;
  }
  .sticker-inspect-col-divider {
    width: 100%;
    height: 1px;
    margin: 8px 0;
  }
  .sticker-inspect-img-wrapper {
    max-width: 160px;
  }
}

.guestbook-form-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.guestbook-form-group {
  margin-bottom: 12px;
}

.guestbook-form-label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: #a0a0a0;
  margin-bottom: 6px;
}

.guestbook-form-input {
  width: 100%;
  padding: 8px 12px;
  background: #191919;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  color: #ffffff;
  font-size: 13px;
  font-family: inherit;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.15s, background 0.15s;
}

.guestbook-form-input:focus {
  border-color: #0078d4;
  border-bottom-color: #60cdff;
  background: #141414;
}

/* Windows 11 Sticky Notes Color Picker */
.guestbook-color-picker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

.color-swatch-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  outline: none;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  position: relative;
  box-sizing: border-box;
}

.color-swatch-btn:hover {
  transform: scale(1.15);
  border-color: rgba(255, 255, 255, 0.6);
}

.color-swatch-btn.active {
  border-color: #ffffff;
  transform: scale(1.22);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5), 0 2px 6px rgba(0, 0, 0, 0.4);
}

.color-swatch-btn.color-yellow { background: #fff9c4; }
.color-swatch-btn.color-pink   { background: #ffd1dc; }
.color-swatch-btn.color-cyan   { background: #bbf2f6; }
.color-swatch-btn.color-green  { background: #c8e6c9; }
.color-swatch-btn.color-purple { background: #e1bee7; }
.color-swatch-btn.color-orange { background: #ffe0b2; }

.guestbook-file-drop {
  border: 2px dashed rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  padding: 16px;
  text-align: center;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.15s, background 0.15s;
}

.guestbook-file-drop:hover {
  border-color: #0078d4;
  background: rgba(0, 120, 212, 0.05);
}

.guestbook-file-preview {
  max-width: 100%;
  max-height: 140px;
  margin-top: 10px;
  border-radius: 4px;
  display: none;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.guestbook-submit-btn {
  width: 100%;
  padding: 10px 16px;
  background: #0078d4;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 10px;
  box-shadow: 0 4px 12px rgba(0, 120, 212, 0.4);
  transition: background 0.12s, transform 0.1s;
}

.guestbook-submit-btn:hover {
  background: #1084d9;
  transform: translateY(-1px);
}

.guestbook-submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.guestbook-status-msg {
  font-size: 12px;
  margin-top: 8px;
  text-align: center;
  min-height: 18px;
}
.guestbook-status-msg.is-success { color: #6ccb5f; }
.guestbook-status-msg.is-error { color: #ff6b6b; }

/* ==========================================================================
   STICKER PLACEMENT PREVIEW & PHYSICS ENGINE
   ========================================================================== */

/* Preview Mode HUD Bar (Windows 11 InfoBar / Floating Command Banner) */
.cork-preview-hud {
  position: absolute;
  top: 92px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(32, 32, 32, 0.88);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45), 0 2px 6px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  padding: 7px 14px;
  z-index: 45;
  animation: fadeInDown 0.22s cubic-bezier(0.1, 0.9, 0.2, 1);
  pointer-events: auto;
  font-family: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, sans-serif;
}

.cork-preview-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: #60cdff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 3px 8px;
  border-radius: 4px;
}

.preview-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #60cdff;
  box-shadow: 0 0 6px rgba(96, 205, 255, 0.6);
  animation: previewPulse 1.4s infinite ease-in-out;
}

@keyframes previewPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.55; }
}

.cork-preview-hint-wrapper {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #e4e4e7;
}

.cork-preview-hint {
  font-size: 12px;
  color: #e4e4e7;
  font-weight: 400;
}

.cork-preview-cancel-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #e4e4e7;
  font-size: 12px;
  font-weight: 400;
  padding: 4px 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.12s ease;
  font-family: inherit;
}

.cork-preview-cancel-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.cork-preview-cancel-btn:active {
  background: rgba(255, 255, 255, 0.04);
}

/* Floating Non-Obstructing Confirmation Bar (Windows 11 Floating Command Dock) */
.cork-confirm-bar {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(32, 32, 32, 0.9);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5), 0 2px 8px rgba(0, 0, 0, 0.25);
  border-radius: 8px;
  padding: 9px 16px;
  z-index: 45;
  animation: fadeInUp 0.22s cubic-bezier(0.1, 0.9, 0.2, 1);
  pointer-events: auto;
  font-family: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, sans-serif;
}

.cork-confirm-info {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: #ffffff;
  font-weight: 400;
}

.cork-confirm-win11-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.cork-confirm-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cork-confirm-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.12s ease;
  font-family: inherit;
}

.cork-confirm-btn.secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #e4e4e7;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cork-confirm-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.cork-confirm-btn.secondary:active {
  background: rgba(255, 255, 255, 0.04);
}

.cork-confirm-btn.primary {
  background: #0067c0;
  color: #ffffff;
  font-weight: 500;
  border: 1px solid #005fb8;
  border-bottom-color: #004f98;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.cork-confirm-btn.primary:hover {
  background: #1975c5;
  border-color: #1975c5;
}

.cork-confirm-btn.primary:active {
  background: #005fb8;
}

.cork-confirm-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Floating Preview Sticker Card on Cursor */
.cork-preview-card {
  position: absolute;
  width: 190px;
  border-radius: 6px;
  padding: 18px 10px 10px 10px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 2000;
  transform-origin: 50% 10px;
  will-change: transform, left, top;
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.65), 0 8px 16px rgba(0, 0, 0, 0.4);
  border: 1.5px dashed rgba(255, 255, 255, 0.5);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.cork-preview-card.is-pinned {
  border: 1px solid rgba(0, 0, 0, 0.15);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.52), 0 3px 8px rgba(0, 0, 0, 0.35);
  animation: pinSnap 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes pinSnap {
  0% { transform: scale(1.15); }
  60% { transform: scale(0.96); }
  100% { transform: scale(1); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translate(-50%, -10px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translate(-50%, 10px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

/* Viewport state during placement */
/* Viewport state during placement */
.corkboard-viewport.in-placement-mode {
  cursor: crosshair !important;
}

/* ==========================================================================
   MODERN SPACIOUS CUSTOMIZATION MODAL (ACRYLIC FROSTED GLASS & FLUENT UI)
   ========================================================================== */
.guestbook-form-card {
  width: min(95vw, 760px);
  max-width: 760px;
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;
  background: rgba(26, 26, 31, 0.88);
  backdrop-filter: blur(36px) saturate(210%);
  -webkit-backdrop-filter: blur(36px) saturate(210%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  padding: 20px 24px;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.92), 0 0 1px rgba(255, 255, 255, 0.35);
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Plus Jakarta Sans", "Inter", "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  transform: scale(0.96) translateY(8px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.guestbook-title-icon-box {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(96, 205, 255, 0.12);
  border: 1px solid rgba(96, 205, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.required-star {
  color: #ff5555;
  font-weight: bold;
}

.guestbook-modal-grid {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 20px;
  align-items: stretch;
  min-width: 0;
}
@media (max-width: 680px) {
  .guestbook-modal-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.guestbook-modal-col-inputs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: space-between;
  min-width: 0;
}

.guestbook-form-group {
  margin-bottom: 0;
}

.guestbook-form-label {
  display: block;
  font-size: 11.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 4px;
}

.guestbook-form-input {
  width: 100%;
  padding: 8px 12px;
  background: rgba(18, 18, 22, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 2px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  color: #ffffff;
  font-size: 13px;
  font-family: inherit;
  box-sizing: border-box;
  outline: none;
  transition: all 0.15s ease;
}
.guestbook-form-input:focus {
  background: rgba(24, 24, 30, 0.85);
  border-color: rgba(96, 205, 255, 0.5);
  border-bottom-color: #60cdff;
  box-shadow: 0 0 0 2px rgba(0, 120, 212, 0.25);
}

.guestbook-modal-col-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-width: 220px;
}

.guestbook-preview-card-wrap {
  width: 100%;
  height: 100%;
  min-height: 180px;
  background: rgba(12, 12, 16, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  box-sizing: border-box;
}

/* Mini Live Preview Card (1:1 with Board) */
.guestbook-live-card {
  width: 154px;
  min-height: 154px;
  border-radius: 4px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.7), 0 2px 6px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 10px 10px 10px;
  position: relative;
  transition: background 0.2s ease, font-family 0.2s ease;
  user-select: none;
  box-sizing: border-box;
}

.guestbook-live-img-box {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 3px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}
.guestbook-live-img-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.guestbook-live-text-box {
  width: 100%;
  font-size: 11.5px;
  word-break: break-word;
  text-align: left;
}
.guestbook-live-nick {
  font-weight: 700;
  font-size: 11.5px;
  color: #111;
  line-height: 1.2;
}
.guestbook-live-hr {
  height: 1px;
  background: rgba(0, 0, 0, 0.15);
  margin: 4px 0;
}
.guestbook-live-msg {
  font-size: 10.5px;
  color: #222;
  line-height: 1.3;
  max-height: 80px;
  overflow: hidden;
}

/* Compact Frosted Dropzone */
.guestbook-file-drop {
  border: 1.5px dashed rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  padding: 8px 10px;
  text-align: left;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.18s ease;
  box-sizing: border-box;
}
.guestbook-file-drop:hover {
  border-color: #60cdff;
  background: rgba(96, 205, 255, 0.08);
}
.guestbook-drop-icon {
  font-size: 20px;
  flex-shrink: 0;
}
.guestbook-drop-content {
  flex: 1;
  overflow: hidden;
}
.guestbook-drop-text {
  font-size: 11.5px;
  color: #ffffff;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.guestbook-drop-subtext {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 1px;
}
.guestbook-file-name-badge {
  font-size: 10px;
  background: rgba(0, 120, 212, 0.35);
  border: 1px solid #0078d4;
  color: #60cdff;
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 120px;
}

/* Compression Status Banner */
.guestbook-compression-status {
  font-size: 11px;
  margin-top: 4px;
  padding: 4px 8px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.guestbook-compression-status.compressing {
  background: rgba(0, 120, 212, 0.2);
  border: 1px solid rgba(0, 120, 212, 0.4);
  color: #60cdff;
}
.guestbook-compression-status.success {
  background: rgba(108, 203, 95, 0.15);
  border: 1px solid rgba(108, 203, 95, 0.35);
  color: #6ccb5f;
}
.guestbook-compression-status.error {
  background: rgba(255, 120, 117, 0.15);
  border: 1px solid rgba(255, 120, 117, 0.35);
  color: #ff7875;
}

/* Customization Box (Tabbed UI) */
.guestbook-customizer-box {
  background: rgba(15, 15, 19, 0.55);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.guestbook-tab-nav {
  display: flex;
  background: rgba(0, 0, 0, 0.4);
  padding: 3px;
  border-radius: 6px;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  flex-wrap: wrap;
}
.guestbook-tab-btn {
  flex: 1;
  min-width: 90px;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.65);
  padding: 6px 8px;
  border-radius: 4px;
  font-size: 11.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.guestbook-tab-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}
.guestbook-tab-btn.active {
  background: #0078d4;
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 1px 6px rgba(0, 120, 212, 0.4);
}

.guestbook-tab-pane {
  display: none;
}
.guestbook-tab-pane.active {
  display: block;
}

/* Preset Swatches */
.guestbook-swatches-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
@media (min-width: 480px) {
  .guestbook-swatches-grid {
    grid-template-columns: repeat(8, 1fr);
  }
}
.color-swatch-btn {
  height: 30px;
  width: 100%;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  outline: none;
  transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.color-swatch-btn:hover {
  transform: scale(1.05);
}
.color-swatch-btn.active {
  border-color: #ffffff;
  box-shadow: 0 0 0 2px #0078d4, 0 4px 10px rgba(0, 120, 212, 0.5);
  transform: scale(1.08);
}
.swatch-label {
  font-size: 9px;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.7);
  letter-spacing: -0.2px;
}

/* Preset Gradients Grid */
.guestbook-gradients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.grad-swatch-btn {
  height: 28px;
  border-radius: 6px;
  border: 2px solid transparent;
  color: #000;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
  outline: none;
}
.grad-swatch-btn:hover {
  transform: scale(1.05);
}
.grad-swatch-btn.active {
  border-color: #ffffff;
  box-shadow: 0 0 0 2px #0078d4, 0 4px 10px rgba(0, 120, 212, 0.5);
  transform: scale(1.08);
}

/* Custom Colors & Gradients */
.guestbook-custom-tools {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 12px;
  padding: 4px;
}
.guestbook-custom-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.custom-block-label {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.custom-input-group {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.custom-color-circle {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 50%;
  overflow: hidden;
}
.custom-color-circle::-webkit-color-swatch-wrapper { padding: 0; }
.custom-color-circle::-webkit-color-swatch { border: 1px solid rgba(255,255,255,0.4); border-radius: 50%; }
.custom-hex-text {
  width: 62px;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 4px;
  color: #fff;
  font-size: 11px;
  padding: 2px 4px;
  text-transform: uppercase;
  font-family: monospace;
}
.custom-block-divider {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   50 FONTS PICKER TAB STYLING
   ========================================================================== */
.guestbook-fonts-nav {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}
.font-cat-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 10.5px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.12s ease;
}
.font-cat-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.font-cat-btn.active {
  background: #0078d4;
  color: #fff;
  border-color: #0078d4;
  font-weight: 600;
}

.guestbook-fonts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 6px;
  max-height: 165px;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
}
.font-choice-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 6px 8px;
  color: #fff;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: all 0.15s ease;
  overflow: hidden;
  height: 38px;
  box-sizing: border-box;
}
.font-choice-btn:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(96, 205, 255, 0.4);
}
.font-choice-btn.active {
  background: rgba(0, 120, 212, 0.25);
  border-color: #0078d4;
  box-shadow: 0 0 0 1px #0078d4;
}
.font-choice-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

/* ==========================================================================
   ATTACHMENTS PICKER TAB STYLING
   ========================================================================== */
.guestbook-attachments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 6px;
  max-height: 165px;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
}
.attach-choice-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 6px 8px;
  color: #ffffff;
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
  height: 34px;
  box-sizing: border-box;
}
.attach-choice-btn:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(96, 205, 255, 0.4);
}
.attach-choice-btn.active {
  background: rgba(0, 120, 212, 0.25);
  border-color: #0078d4;
  box-shadow: 0 0 0 1px #0078d4;
  font-weight: 600;
}
.attach-icon-preview {
  font-size: 15px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Submit Button */
.guestbook-submit-btn {
  width: 100%;
  padding: 10px 16px;
  background: linear-gradient(180deg, #0078d4 0%, #0067b8 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(0, 120, 212, 0.35);
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}
.guestbook-submit-btn:hover {
  background: linear-gradient(180deg, #1084d8 0%, #0073cb 100%);
  box-shadow: 0 6px 20px rgba(0, 120, 212, 0.55);
  transform: translateY(-1px);
}
.guestbook-submit-btn:active {
  transform: translateY(1px);
  box-shadow: 0 2px 8px rgba(0, 120, 212, 0.3);
}

/* Bottom Confirmation Bar Rotation Control */
.cork-confirm-rot-ctrl {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.35);
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.rot-ctrl-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}
.rot-step-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #00e5ff;
  width: 22px;
  height: 22px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: all 0.12s ease;
}
.rot-step-btn:hover {
  background: #00e5ff;
  color: #000;
}
.cork-confirm-rot-ctrl input[type="range"] {
  width: 70px;
  accent-color: #00e5ff;
  cursor: pointer;
}
.cork-dock-rot-badge {
  font-size: 11px;
  font-weight: 700;
  color: #00e5ff;
  width: 28px;
  text-align: right;
  font-family: monospace;
}





