/* Custom tactile styling for 58mm Thermal Blind Note */

@import url('https://fonts.googleapis.com/css2?family=Space+Mono:ital,wght@0,400;0,700;1,400&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  --paper-bg: #fffdfa;
  --paper-ink: #1e293b;
  --paper-border: #e2e8f0;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.mono-receipt {
  font-family: 'Space Mono', 'SF Mono', Monaco, 'Courier New', monospace;
  letter-spacing: -0.02em;
}

/* Jagged Paper Tear Effect */
.paper-tear-bottom {
  position: relative;
}

.paper-tear-bottom::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 8px;
  background: radial-gradient(circle at 8px 0, transparent 6px, #fffdfa 6.5px) repeat-x;
  background-size: 16px 8px;
}

/* Redacted / Blind Masked Bars */
.redacted-bar {
  background: repeating-linear-gradient(
    45deg,
    #cbd5e1,
    #cbd5e1 6px,
    #94a3b8 6px,
    #94a3b8 12px
  );
  border-radius: 4px;
}

/* Pulsing Wax Seal Animation */
@keyframes seal-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(217, 119, 6, 0.4);
  }
  50% {
    transform: scale(1.04);
    box-shadow: 0 0 0 10px rgba(217, 119, 6, 0);
  }
}

.seal-pulse {
  animation: seal-pulse 2.4s infinite ease-in-out;
}

/* Tactile button bounce */
.btn-press:active {
  transform: scale(0.98);
}

/* Smooth custom scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}
