/* ==========================================================================
   Proto Preview — InVision-Caliber WordPress Design System
   Brand Identity: Bowden Works
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,500;0,600;0,700;0,800;1,500;1,600;1,700&family=Radio+Canada:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  --primary: #b02b2b;
  --primary-hover: #872e21;
  --primary-light: #fbeeed;
  --dark-charcoal: #1A202C;
  --slate-body: #2D3748;
  --neutral-warm: #edf2f6;
}

.font-serif-heading {
  font-family: 'EB Garamond', Georgia, serif;
}

/* Device Viewport Simulation Frame */
.viewport-container {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(226, 232, 240, 0.8);
}

.viewport-desktop {
  width: 100%;
  height: 100%;
  border-radius: 0;
}

.viewport-laptop {
  width: 1280px;
  max-width: 96%;
  height: 94%;
  border-radius: 12px;
  border: 1px solid #cbd5e1;
}

.viewport-tablet {
  width: 768px;
  max-width: 90%;
  height: 92%;
  border-radius: 28px;
  border: 10px solid #1A202C;
}

.viewport-mobile {
  width: 390px;
  max-width: 90%;
  height: 88%;
  border-radius: 40px;
  border: 10px solid #1A202C;
}

/* Vector Comment Pins (Hotspots) */
.comment-pin {
  position: absolute;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #b02b2b;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 10.5px;
  box-shadow: 0 4px 12px rgba(176, 43, 43, 0.45);
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.15s ease;
  border: 2px solid #ffffff;
  z-index: 40;
  user-select: none;
}

.comment-pin:hover {
  transform: translate(-50%, -50%) scale(1.18);
  box-shadow: 0 6px 18px rgba(176, 43, 43, 0.6);
}

.comment-pin.resolved {
  background: #059669;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.35);
}

.comment-pin.active {
  box-shadow: 0 0 0 4px rgba(176, 43, 43, 0.3), 0 8px 20px rgba(176, 43, 43, 0.5);
  transform: translate(-50%, -50%) scale(1.22);
}

.comment-pin.pin-client {
  background: #0d9488;
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.4);
}

.comment-pin.pin-holding {
  transform: translate(-50%, -50%) scale(1.3);
  box-shadow: 0 0 0 6px rgba(245, 158, 11, 0.5), 0 10px 25px rgba(176, 43, 43, 0.6);
  background: #d97706 !important;
  transition: all 0.25s ease;
}

.comment-pin.pin-dragging {
  cursor: grabbing !important;
  transform: translate(-50%, -50%) scale(1.35);
  box-shadow: 0 0 0 8px rgba(245, 158, 11, 0.4), 0 15px 30px rgba(0, 0, 0, 0.3);
  background: #b45309 !important;
  z-index: 60 !important;
}

.comment-pin.pin-highlighted {
  animation: pin-spotlight-pulse 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) infinite;
  z-index: 55 !important;
}

@keyframes pin-spotlight-pulse {
  0% { transform: translate(-50%, -50%) scale(1.1); box-shadow: 0 0 0 0 rgba(176, 43, 43, 0.9); }
  50% { transform: translate(-50%, -50%) scale(1.45); box-shadow: 0 0 0 16px rgba(176, 43, 43, 0); }
  100% { transform: translate(-50%, -50%) scale(1.22); box-shadow: 0 0 0 0 rgba(176, 43, 43, 0); }
}

/* Balloon Comment Popover Card */
.comment-balloon-card {
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(226, 232, 240, 0.9);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Spotlight Tour & Approval Engine */
.spotlight-cutout {
  position: absolute;
  box-shadow: 0 0 0 9999px rgba(26, 32, 44, 0.85);
  border: 2px solid #b02b2b;
  border-radius: 12px;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 50;
}

.spotlight-pulse {
  position: absolute;
  inset: -6px;
  border-radius: 16px;
  border: 2px solid rgba(176, 43, 43, 0.4);
  animation: pulse-ring 2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
  pointer-events: none;
}

@keyframes pulse-ring {
  0% { transform: scale(0.96); opacity: 0.8; }
  50% { transform: scale(1.05); opacity: 0.2; }
  100% { transform: scale(0.96); opacity: 0.8; }
}

/* WordPress Admin Specific Tweaks */
#wpcontent {
  padding-left: 0 !important;
}
.proto-preview-wp-wrap {
  margin: -10px 0 0 -20px;
}
