/* Wavecom Service - PWA Styles */
:root {
  --primary: #2749ad;
  --primary-dark: #23429c;
  --primary-light: #3a5dc0;
  --secondary: #383838;
  --text: #333333;
  --text-light: #666666;
  --bg: #f5f5f5;
  --white: #ffffff;
  --success: #28a745;
  --danger: #dc3545;
  --warning: #ffc107;
  --border: #e0e0e0;
  --shadow: 0 2px 8px rgba(0,0,0,0.1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  font-size: 16px;
  color: var(--text);
  background: var(--bg);
}

/* Layout */
.app {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.header {
  background: var(--primary);
  color: var(--white);
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

.header h1 {
  font-size: 1.25rem;
  font-weight: 600;
}

.header-logo {
  display: flex;
  align-items: center;
}

.header-logo-img {
  height: 28px;
  width: auto;
}

.header-actions {
  display: flex;
  gap: 0.5rem;
}

.main {
  flex: 1;
  padding: 1rem;
  max-width: 600px;
  margin: 0 auto;
  width: 100%;
}

/* Screens */
.screen {
  display: none;
}

.screen.active {
  display: block;
}

/* Login Screen */
.login-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100vh - 120px);
  padding: 2rem 1rem;
}

.login-logo {
  text-align: center;
  margin-bottom: 2rem;
}

.login-logo .logo-img {
  max-width: 180px;
  height: auto;
  margin-bottom: 1rem;
}

.login-logo h2 {
  color: var(--primary);
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.login-logo p {
  color: var(--text-light);
  font-size: 0.9rem;
}

.login-form {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

/* Forms */
.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.form-group input {
  width: 100%;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(39, 73, 173, 0.15);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  text-decoration: none;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  width: 100%;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  background: var(--secondary);
  color: var(--white);
}

.btn-icon {
  background: transparent;
  color: var(--white);
  padding: 0.5rem;
  border-radius: 50%;
}

.btn-icon:hover {
  background: rgba(255,255,255,0.1);
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Cards */
.card {
  background: var(--white);
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.card-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.card-badge {
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-weight: 500;
}

.badge-success { background: #d4edda; color: #155724; }
.badge-warning { background: #fff3cd; color: #856404; }
.badge-danger { background: #f8d7da; color: #721c24; }
.badge-info { background: #d1ecf1; color: #0c5460; }

/* User info */
.user-info {
  background: var(--white);
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
}

.user-info h3 {
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.user-info p {
  color: var(--text-light);
  font-size: 0.875rem;
}

.user-info .role {
  display: inline-block;
  margin-top: 0.5rem;
  background: var(--primary);
  color: var(--white);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
}

/* Menu */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.menu-item {
  background: var(--white);
  border-radius: 12px;
  padding: 1.25rem;
  text-align: center;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: var(--text);
}

.menu-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.menu-item-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.menu-item-label {
  font-size: 0.875rem;
  font-weight: 500;
}

/* Alerts */
.alert {
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.alert-danger {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.alert-success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

/* Loading */
.loading {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Hidden */
.hidden {
  display: none !important;
}

/* Nav bottom (opzionale) */
.nav-bottom {
  background: var(--white);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-around;
  padding: 0.5rem 0;
  position: sticky;
  bottom: 0;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.5rem 1rem;
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.75rem;
}

.nav-item.active {
  color: var(--primary);
}

.nav-item-icon {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

/* Search form */
.search-form {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.search-input {
  flex: 1;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.search-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(39, 73, 173, 0.15);
}

.btn-search {
  padding: 0.75rem 1rem;
  white-space: nowrap;
}

/* Cliente card */
.cliente-card {
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.cliente-card:hover, .cliente-card:active {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.cliente-info {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 0.25rem;
}

.cliente-cod {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin: 1rem 0;
}

.btn-page {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
}

.btn-page:hover {
  background: var(--primary-dark);
}

/* Section title */
.section-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 1.5rem 0 0.75rem;
  color: var(--text);
}

/* Sede card */
.sede-card {
  padding: 1rem;
}

.sede-presso {
  font-size: 0.9rem;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.sede-indirizzo {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.sede-tel {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 0.75rem;
}

/* Small button */
.btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

/* Screen footer */
.screen-footer {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

/* ===================== */
/* SERVIZI / CONNESSIONI */
/* ===================== */

.servizi-header {
  text-align: center;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.sede-servizi-card {
  background: var(--white);
  border-radius: 12px;
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.sede-servizi-header {
  background: linear-gradient(135deg, #0f172a 0%, #1e40af 100%);
  color: white;
  padding: 0.75rem 1rem;
}

.sede-presso-small {
  display: block;
  font-size: 0.8rem;
  opacity: 0.85;
  margin-bottom: 0.25rem;
}

.sede-indirizzo-small {
  font-size: 0.85rem;
  font-weight: 500;
}

.servizio-card {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.2s;
}

.servizio-card:last-child {
  border-bottom: none;
}

.servizio-card:active {
  background: #f0f4ff;
}

.servizio-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.servizio-stato {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  color: white;
  font-weight: bold;
  font-size: 0.75rem;
}

.servizio-cod {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
}

.servizio-modalita {
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
}

.badge-wavecom { background: #3b82f6; color: white; }
.badge-wholesale { background: #8b5cf6; color: white; }
.badge-aggregato { background: #f59e0b; color: white; }

.servizio-body {
  padding-left: 2rem;
}

.servizio-tipo {
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.servizio-operatore {
  font-size: 0.85rem;
  color: var(--text-light);
}

.servizio-risorsa {
  font-size: 0.8rem;
  color: var(--text-light);
  font-family: monospace;
}

/* Dettaglio servizio */
.servizio-stato-card {
  padding: 1.25rem;
}

.servizio-stato-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.servizio-stato-badge {
  padding: 0.375rem 0.75rem;
  border-radius: 6px;
  color: white;
  font-weight: 600;
  font-size: 0.8rem;
}

.servizio-cod-big {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}

.servizio-modalita-big {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
}

.servizio-desc {
  margin-top: 0.75rem;
  color: var(--text-light);
  font-size: 0.9rem;
}

.card-section-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.config-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.config-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.config-item label {
  font-size: 0.7rem;
  color: var(--text-light);
  text-transform: uppercase;
  font-weight: 500;
}

.config-item span, .config-item a {
  font-size: 0.9rem;
  word-break: break-all;
}

.mono {
  font-family: 'SF Mono', 'Monaco', 'Inconsolata', monospace;
}

.link {
  color: var(--primary);
  text-decoration: none;
}

.router-cliente-note {
  margin-top: 0.75rem;
  padding: 0.5rem;
  background: #fef3c7;
  border-radius: 4px;
  font-size: 0.8rem;
  color: #92400e;
}

/* Wholesale */
.wholesale-item {
  padding: 0.75rem;
  background: #f8fafc;
  border-radius: 8px;
  margin-bottom: 0.75rem;
  border-left: 3px solid var(--border);
}

.wholesale-item:last-child {
  margin-bottom: 0;
}

.wholesale-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.wholesale-ruolo {
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
}

.badge-primario { background: #22c55e; color: white; }
.badge-backup { background: #f59e0b; color: white; }
.badge-bonding { background: #3b82f6; color: white; }
.badge-secondario { background: #64748b; color: white; }

.wholesale-cod {
  font-weight: 600;
  font-size: 0.9rem;
}

.wholesale-item p {
  margin: 0.25rem 0;
  font-size: 0.85rem;
}

.wholesale-item .small {
  font-size: 0.75rem;
  color: var(--text-light);
}

/* Button connessioni in cliente */
.btn-connessioni {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  background: var(--primary-light);
}

/* ===================== */
/* APPARATI */
/* ===================== */

.apparato-item {
  padding: 0.75rem;
  background: #f8fafc;
  border-radius: 8px;
  margin-bottom: 0.75rem;
  border-left: 3px solid var(--border);
}

.apparato-item.in-connessione {
  border-left-color: var(--success);
  background: #f0fdf4;
}

.apparato-item:last-child {
  margin-bottom: 0;
}

.apparato-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.apparato-cod {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
}

.apparato-badge-conn {
  font-size: 0.6rem;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
  background: var(--success);
  color: white;
}

.apparato-modello {
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

/* ===================== */
/* STATO LINEA */
/* ===================== */

.stato-linea-card {
  border-left: 4px solid var(--border);
}

.stato-linea-header {
  margin-bottom: 1rem;
}

.stato-linea-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
}

.stato-linea-badge.connesso {
  background: var(--success);
  color: white;
}

.stato-linea-badge.disconnesso {
  background: var(--danger);
  color: white;
}

.stato-linea-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.stato-linea-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stato-linea-item label {
  font-size: 0.7rem;
  color: var(--text-light);
  text-transform: uppercase;
  font-weight: 500;
}

.stato-linea-item span {
  font-size: 0.9rem;
  color: var(--text);
}

/* Ultime sessioni */
.ultime-sessioni {
  border-top: 1px solid var(--border);
  padding-top: 0.75rem;
}

.ultime-sessioni h5 {
  font-size: 0.8rem;
  color: var(--text-light);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.sessioni-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sessione-item {
  padding: 0.5rem;
  background: #f1f5f9;
  border-radius: 6px;
  font-size: 0.8rem;
}

.sessione-tempo {
  color: var(--text);
  margin-bottom: 0.25rem;
}

.sessione-stats {
  color: var(--text-light);
  font-size: 0.75rem;
}

/* Utility */
.small {
  font-size: 0.8rem;
}

/* ========================================
   APPARATI
   ======================================== */

/* Lista apparati */
.apparati-count {
  text-align: center;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.apparato-card {
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}

.apparato-card:active {
  transform: scale(0.98);
}

.apparato-card-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.apparato-card-cod {
  font-weight: 700;
  color: var(--primary);
  font-size: 0.95rem;
}

.apparato-card-modello {
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.apparato-card-info {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 0.125rem;
}

.apparato-card-mag {
  color: var(--text-light);
  margin-top: 0.5rem;
}

/* Badges */
.badge {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
}

.badge-lg {
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
}

.badge-success {
  background: var(--success);
  color: white;
}

.badge-info {
  background: #17a2b8;
  color: white;
}

.badge-warning {
  background: #ffc107;
  color: #212529;
}

.badge-danger {
  background: var(--danger);
  color: white;
}

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

.badge-dark {
  background: #343a40;
  color: white;
}

/* Dettaglio apparato */
.apparato-main-card {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
}

.apparato-main-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.apparato-main-cod {
  font-size: 1.1rem;
  font-weight: 700;
  background: rgba(255,255,255,0.2);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

.apparato-main-modello {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.apparato-tipo {
  opacity: 0.9;
  font-size: 0.9rem;
}

.apparato-desc {
  opacity: 0.8;
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

/* Stato attuale */
.stato-attuale {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.stato-magazzino {
  color: var(--text-light);
  font-size: 0.9rem;
}

.cliente-installazione {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

/* Dati tecnici grid */
.dati-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.dato-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.dato-item label {
  font-size: 0.7rem;
  color: var(--text-light);
  text-transform: uppercase;
  font-weight: 500;
}

.dato-item span {
  font-size: 0.9rem;
  color: var(--text);
}

.apparato-note {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.apparato-note label {
  font-size: 0.75rem;
  color: var(--text-light);
  text-transform: uppercase;
  font-weight: 500;
  display: block;
  margin-bottom: 0.25rem;
}

.apparato-note p {
  color: var(--text);
  font-size: 0.9rem;
  white-space: pre-wrap;
}

/* Azioni */
.azioni-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.btn-action {
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s;
}

.btn-action:active {
  opacity: 0.8;
}

.btn-action.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-action.btn-warning {
  background: #ffc107;
  color: #212529;
}

.btn-action.btn-info {
  background: #17a2b8;
  color: white;
}

.btn-action.btn-secondary {
  background: #6c757d;
  color: white;
}

.btn-action.btn-success {
  background: var(--success);
  color: white;
}

.btn-action.btn-outline {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
}

/* Storico stati */
.storico-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.storico-item {
  padding: 0.75rem;
  background: #f8fafc;
  border-radius: 8px;
  border-left: 3px solid var(--border);
}

.storico-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.25rem;
}

.storico-data {
  font-size: 0.8rem;
  color: var(--text-light);
}

.storico-mag {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 0.25rem;
}

.storico-note {
  font-size: 0.85rem;
  color: var(--text);
  margin-top: 0.25rem;
  font-style: italic;
}

/* ========================================
   SCANNER / MODAL
   ======================================== */

/* Search form with scan button */
.search-form-with-scan {
  display: flex;
  gap: 0.5rem;
}

.search-form-with-scan .search-input {
  flex: 1;
}

.btn-scan {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s;
}

.btn-scan:active {
  background: var(--primary-dark);
}

.btn-scan svg {
  width: 24px;
  height: 24px;
}

/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
}

.modal.hidden {
  display: none;
}

.modal-content {
  background: white;
  border-radius: 12px;
  width: 100%;
  max-width: 400px;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid var(--border);
}

.modal-header h3 {
  margin: 0;
  font-size: 1.1rem;
}

.modal-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--text-light);
  cursor: pointer;
  border-radius: 50%;
}

.modal-close:active {
  background: #f1f5f9;
}

/* Scanner */
.scanner-container {
  padding: 1rem;
}

#scanner-reader {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
}

#scanner-reader video {
  width: 100%;
  border-radius: 8px;
}

.scanner-hint {
  text-align: center;
  color: var(--text-light);
  font-size: 0.85rem;
  margin-top: 1rem;
  margin-bottom: 0;
}

/* Scanner success feedback */
.scanner-success {
  text-align: center;
  padding: 2rem;
}

.scanner-success-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.scanner-success-code {
  font-family: monospace;
  font-size: 1.1rem;
  background: #f1f5f9;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  word-break: break-all;
}
