﻿@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@500;600;700;800;900&display=swap');

:root {
  --color-brand-blue: #0066FF;
  --color-brand-dark: #1E293B;
  --color-brand-darker: #0F172A;
  --color-brand-bg: #F8FAFC;
  --color-brand-amber: #F59E0B;
}

html {
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: #F8FAFC;
  color: #1E293B;
  overflow-x: hidden;
  max-width: 100vw;
  transition: background-color 0.2s ease, color 0.2s ease;
}

html.dark,
html.dark body {
  background-color: #020617;
  color: #F8FAFC;
}

h1, h2, h3, .font-heading {
  font-family: 'Outfit', 'Inter', sans-serif;
}

/* Custom Radar Animation for Checkout Polling */
@keyframes radar-pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(0, 102, 255, 0.6);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 16px rgba(0, 102, 255, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(0, 102, 255, 0);
  }
}

.radar-active {
  animation: radar-pulse 2s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

@keyframes float-subtle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.animate-float {
  animation: float-subtle 4s ease-in-out infinite;
}

/* Custom scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #F1F5F9;
}
html.dark ::-webkit-scrollbar-track {
  background: #020617;
}
::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}
html.dark ::-webkit-scrollbar-thumb {
  background: #334155;
}
::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}
html.dark ::-webkit-scrollbar-thumb:hover {
  background: #0066FF;
}

/* Glassmorphism utilities */
.glass-panel {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.8);
}
html.dark .glass-panel {
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(30, 41, 59, 0.8);
}

.glass-dark {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(51, 65, 85, 0.6);
}

/* Drag and drop highlight */
.drag-over {
  border-color: #0066FF !important;
  background-color: rgba(0, 102, 255, 0.04) !important;
}

/* Badge pulse for alert/divergence */
@keyframes amber-glow {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}
.badge-divergent-pulse {
  animation: amber-glow 2s infinite ease-in-out;
}


/* Disable spin buttons / setas dos campos de digitar numero (Painel Admin e Cliente Final) */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}

input[type="number"] {
  -moz-appearance: textfield !important;
  appearance: textfield !important;
}
