/* Costco Refrigeration & HVAC PM Styling - Matching Warehouse Dashboard UI Standard */

:root {
  --costco-blue: #005DAA;
  --costco-red: #E31837;
  --costco-dark-blue: #004780;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #f3f4f6;
  margin: 0;
  -webkit-overflow-scrolling: touch;
}

/* Glass Card styling from Warehouse Dashboard */
.glass-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e7eb;
  padding: 20px;
  transition: background-color 0.3s, border-color 0.3s;
}

/* Warehouse Dashboard Spinner Loader */
.loader {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #E31837;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Hide scrollbar for tabs */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Touch enhancements for mobile */
button, input, select, textarea {
  touch-action: manipulation;
}

/* Tab active style */
.tab-btn.active {
  color: #005DAA;
  border-bottom: 2px solid #005DAA;
  background-color: #ffffff;
}

/* Status toggle pills */
.status-pill {
  transition: all 0.12s ease;
  user-select: none;
}
.status-pill.selected-yes {
  background-color: #10b981;
  color: #ffffff;
  border-color: #059669;
}
.status-pill.selected-no {
  background-color: #E31837;
  color: #ffffff;
  border-color: #b91c1c;
}
.status-pill.selected-na {
  background-color: #64748b;
  color: #ffffff;
  border-color: #475569;
}

/* Photo slot */
.photo-slot {
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  background-size: cover;
  background-position: center;
}

/* Canvas signature pads */
canvas {
  touch-action: none;
}

/* Fade in animation */
.fade-in {
  animation: fadeIn 0.2s ease-in-out;
}

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

/* Scope selector cards */
.scope-card {
  background-color: #fafafa;
  transition: all 0.2s ease;
}
.scope-card:hover {
  background-color: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

