@charset "UTF-8";

/* REDOC PWA - Field Industrial Technical & Dater Theme */
:root {
  --bg-primary: #0b1326;
  --bg-surface: #131b2e;
  --bg-card: #171f33;
  --bg-card-hover: #1f2942;
  --accent-cyan: #00e5ff;
  --accent-blue: #3b82f6;
  --accent-orange: #f97316;
  --accent-green: #10b981;
  --accent-amber: #f59e0b;
  --accent-red: #ef4444;
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --border-color: #273552;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  overflow-x: hidden;
}

/* Custom technical scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #0b1326;
}
::-webkit-scrollbar-thumb {
  background: #273552;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #00e5ff;
}

/* Dater Hub Menu Cards */
.dater-menu-card {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.dater-menu-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 229, 255, 0.4);
  box-shadow: 0 10px 25px -5px rgba(0, 229, 255, 0.15);
}
.dater-menu-card:active {
  transform: scale(0.98);
}

/* Tab Active Pill */
.nav-tab-btn.active {
  background: rgba(0, 229, 255, 0.15);
  color: #00e5ff;
  border-color: rgba(0, 229, 255, 0.5);
  font-weight: 700;
}

/* Task Badge Colors */
.badge-admin {
  background: rgba(147, 51, 234, 0.15);
  color: #c084fc;
  border: 1px solid rgba(147, 51, 234, 0.3);
}
.badge-planning {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.3);
}
.badge-qaqc {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.badge-qs {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

/* View transitions */
.view-panel {
  display: none;
  animation: fadeIn 0.2s ease-in-out forwards;
}
.view-panel.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Pin on Floor Plan */
.cad-pin {
  position: absolute;
  transform: translate(-50%, -100%);
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 10;
}
.cad-pin:hover, .cad-pin.active {
  transform: translate(-50%, -115%) scale(1.2);
  z-index: 20;
}
