/* Custom styles for decoratupared.online */

.nav-btn {
  color: #64748b;
  font-weight: 500;
}

.nav-btn:hover {
  color: #0f172a;
  background-color: #f1f5f9;
}

.nav-btn.active {
  color: #047857;
  background-color: #ecfdf5;
  border: 1px solid #a7f3d0;
  font-weight: 700;
}

/* Realistic PVC Photo Wall Mount Simulation */
.pvc-frame-mockup {
  position: relative;
  background-color: #ffffff;
  border-radius: 6px;
  box-shadow: 0 16px 30px -6px rgba(45, 35, 25, 0.18), 0 6px 12px -3px rgba(45, 35, 25, 0.10);
  border: 2px solid #ffffff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Stick-on 20x20 cm Square PVC Photo Tile for the Wall */
.wall-tile-item {
  position: relative;
  background-color: #ffffff;
  border-radius: 6px;
  border: 2.5px solid #ffffff;
  box-shadow: 0 14px 26px -5px rgba(40, 30, 20, 0.16), 0 5px 10px -3px rgba(40, 30, 20, 0.08);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
}

.wall-tile-item:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 22px 34px -8px rgba(40, 30, 20, 0.22), 0 10px 18px -4px rgba(40, 30, 20, 0.12);
  z-index: 25;
}

/* Peel-off Corner Tab Simulation */
.peel-corner-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #10b981;
  color: #ffffff;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 9999px;
  box-shadow: 0 4px 8px rgba(16, 185, 129, 0.3);
  z-index: 30;
  pointer-events: none;
}

/* Simulated 3mm / 5mm PVC edge */
.pvc-edge {
  position: absolute;
  right: -4px;
  bottom: -4px;
  width: 100%;
  height: 100%;
  background: #e2e8f0;
  border-radius: 6px;
  z-index: -1;
  box-shadow: 4px 4px 12px rgba(45, 35, 25, 0.15);
}

/* Warm Natural Wall Texture for Hero and Workbench */
.natural-wall-bg {
  background-color: #f7f4ee;
  background-image: 
    radial-gradient(at 10% 10%, rgba(255, 255, 255, 0.95) 0px, transparent 55%),
    radial-gradient(at 90% 90%, rgba(215, 200, 180, 0.25) 0px, transparent 60%),
    radial-gradient(#d8d0c2 0.8px, transparent 0.8px);
  background-size: 100% 100%, 100% 100%, 22px 22px;
}

/* Wall background texture for realistic mockup view */
.wall-bg {
  background-color: #f8f6f0;
  background-image: 
    radial-gradient(at 15% 15%, rgba(255, 255, 255, 0.85) 0px, transparent 50%),
    radial-gradient(#ddd5c7 0.8px, transparent 0.8px);
  background-size: 100% 100%, 20px 20px;
}

/* Kanban column styling */
.kanban-col {
  min-height: 520px;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}

/* Crop Area & Slicing Grids */
.crop-container {
  touch-action: none;
  user-select: none;
}

.triptych-split {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}

.duo-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.grid-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
}

/* Pulse animation for AI processing steps */
@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.05);
    opacity: 1;
  }

  100% {
    transform: scale(0.95);
    opacity: 0.8;
  }
}

.animate-pulse-ring {
  animation: pulse-ring 2s infinite ease-in-out;
}

/* Corner handles / nodes for direct crop manipulation */
.crop-node {
  position: absolute;
  width: 14px;
  height: 14px;
  background-color: #ffffff;
  border: 2.5px solid #10b981;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  z-index: 30;
  transition: transform 0.15s ease, background-color 0.15s ease;
}
.crop-node:hover, .crop-node:active {
  transform: scale(1.4);
  background-color: #10b981;
}
.crop-node-tl { top: -7px; left: -7px; cursor: nwse-resize; }
.crop-node-tr { top: -7px; right: -7px; cursor: nesw-resize; }
.crop-node-br { bottom: -7px; right: -7px; cursor: nwse-resize; }
.crop-node-bl { bottom: -7px; left: -7px; cursor: nesw-resize; }

/* Interactive draggable frame */
.interactive-crop-box {
  cursor: grab;
  user-select: none;
  touch-action: none;
}
.interactive-crop-box.is-dragging {
  cursor: grabbing !important;
}
.interactive-crop-box img {
  max-width: none !important;
  max-height: none !important;
  user-select: none;
  -webkit-user-drag: none;
}

/* Floating / side crop toolbar beside photo */
.side-crop-toolbar {
  display: flex;
  flex-direction: column;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(8px);
  padding: 6px;
  border-radius: 14px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
  gap: 6px;
  z-index: 40;
}
.side-crop-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  transition: all 0.15s ease;
}
.side-crop-btn:hover {
  background: #10b981;
  color: #042f2e;
}
.side-crop-btn:active {
  transform: scale(0.92);
}

/* Vertical slider styling */
.vertical-range {
  writing-mode: vertical-lr;
  direction: rtl;
  width: 8px;
  height: 120px;
  padding: 0 5px;
  accent-color: #10b981;
}

/* 0.5 cm Bleed / Safety Wrapping Frame Guide (Doblado y corte PVC 3mm) */
.pvc-bleed-guide {
  position: absolute;
  top: 14px;
  bottom: 14px;
  left: 14px;
  right: 14px;
  border: 1.5px dashed rgba(255, 255, 255, 0.7);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
  pointer-events: none;
  z-index: 20;
  border-radius: 2px;
}
.pvc-bleed-badge {
  position: absolute;
  bottom: 4px;
  right: 4px;
  background: rgba(15, 23, 42, 0.75);
  color: #a7f3d0;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  pointer-events: none;
}

/* Admin Sidebar Layout */
.admin-sidebar-link {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  transition: all 0.15s ease;
}
.admin-sidebar-link:hover {
  background-color: #f1f5f9;
  color: #0f172a;
}
.admin-sidebar-link.active {
  background-color: #ecfdf5;
  color: #059669;
}

/* 0.5 cm Bleed / Safety Wrapping Frame Guide (Doblado y corte PVC 3mm) */
.pvc-bleed-guide {
  position: absolute;
  top: 14px;
  bottom: 14px;
  left: 14px;
  right: 14px;
  border: 1.5px dashed rgba(255, 255, 255, 0.7);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
  pointer-events: none;
  z-index: 20;
  border-radius: 2px;
}
.pvc-bleed-badge {
  position: absolute;
  bottom: 4px;
  right: 4px;
  background: rgba(15, 23, 42, 0.75);
  color: #a7f3d0;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  pointer-events: none;
}

/* Admin Sidebar Layout */
.admin-sidebar-link {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  transition: all 0.15s ease;
}
.admin-sidebar-link:hover {
  background-color: #f1f5f9;
  color: #0f172a;
}
.admin-sidebar-link.active {
  background-color: #ecfdf5;
  color: #059669;
}

/* Mobile hardening: evita desbordamiento horizontal accidental (no crea scroll container) */
body { overflow-x: clip; }


/* Ocultar barra de scroll del slider hero */
.scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }
.scrollbar-hide::-webkit-scrollbar { display: none; }

