:root {
  --brand-primary: #1e3a5f;
  --brand-secondary: #2c5f8a;
  --brand-accent: #0ea5e9;
  --bg-soft: #f4f7fb;
}

body {
  background-color: var(--bg-soft);
  font-family: 'Segoe UI', Roboto, sans-serif;
}

.app-navbar {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
}

.card {
  border: none;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.card-header {
  background-color: #fff;
  border-bottom: 1px solid #eef1f5;
  border-radius: 12px 12px 0 0 !important;
  font-weight: 600;
  color: var(--brand-primary);
}

.stat-card {
  border-left: 4px solid var(--brand-accent);
}

.btn-primary {
  background-color: var(--brand-primary);
  border-color: var(--brand-primary);
}
.btn-primary:hover {
  background-color: var(--brand-secondary);
  border-color: var(--brand-secondary);
}

.table thead th {
  background-color: #eef2f7;
  color: var(--brand-primary);
  font-weight: 600;
  border-bottom: none;
  white-space: nowrap;
}

.badge-locked {
  background-color: #6c757d;
}

.badge-verified {
  background-color: #198754;
}

.badge-saved {
  background-color: #0d6efd;
}

#customerSearchResults {
  position: absolute;
  z-index: 1000;
  width: 100%;
  max-height: 250px;
  overflow-y: auto;
}

#customerSearchResults .list-group-item {
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(0,0,0,0.1);
}
#customerSearchResults .list-group-item:hover {
  background-color: #f1f5fb;
}

.ocr-loading {
  display: none;
}

.image-preview {
  max-width: 250px;
  max-height: 250px;
  border-radius: 8px;
  border: 1px solid #dee2e6;
}

.login-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
}

.login-card {
  max-width: 400px;
  width: 100%;
}
