/* ─────────────────────────────────────────────────────────
   MedVentures Onboarding System — Stylesheet
   Brand: #006769 #40A578 #9DDE8B #E6FF94 #CCFFCC
   ───────────────────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Clash+Display:wght@400;500;600;700&display=swap');

/* If Clash Display isn't available via Google, fallback gracefully */
@import url('https://api.fontshare.com/v2/css?f[]=clash-display@400,500,600,700&display=swap');

:root {
  --mv-dark:     #006769;
  --mv-mid:      #40A578;
  --mv-light:    #9DDE8B;
  --mv-pale:     #E6FF94;
  --mv-frost:    #CCFFCC;
  --mv-bg:       #f0faf4;
  --mv-surface:  #ffffff;
  --mv-border:   #d0edda;
  --mv-text:     #0d2b2c;
  --mv-muted:    #5a8080;
  --mv-error:    #d63031;
  --mv-warning:  #e17055;
  --mv-success:  #006769;
  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   20px;
  --radius-xl:   28px;
  --shadow-sm:   0 2px 8px rgba(0,103,105,0.08);
  --shadow-md:   0 8px 28px rgba(0,103,105,0.14);
  --shadow-lg:   0 20px 60px rgba(0,103,105,0.18);
  --font-display: 'Clash Display', 'Plus Jakarta Sans', sans-serif;
  --font-body:    'Plus Jakarta Sans', system-ui, sans-serif;
  --transition:   0.22s cubic-bezier(0.4,0,0.2,1);
}

/* ── Reset / Base ─────────────────────────────────────── */
.mvo-root * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.mvo-root {
  font-family: var(--font-body);
  background: var(--mv-bg);
  color: var(--mv-text);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* ── Screen management ───────────────────────────────── */
.mvo-screen { display: none; }
.mvo-screen.mvo-active { display: block; animation: mvoFadeIn 0.35s ease; }

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

/* ── LOGIN SCREEN ────────────────────────────────────── */
#mvo-login {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #005254 0%, #006769 40%, #1a7d6b 70%, #40A578 100%);
  position: relative;
  overflow: hidden;
}

#mvo-login::before {
  content: '';
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: rgba(230,255,148,0.07);
  top: -200px; right: -200px;
  animation: mvoPulse 8s ease-in-out infinite;
}
#mvo-login::after {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(157,222,139,0.06);
  bottom: -150px; left: -150px;
  animation: mvoPulse 10s ease-in-out infinite reverse;
}

@keyframes mvoPulse {
  0%,100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.08) rotate(6deg); }
}

.mvo-login-card {
  position: relative; z-index: 2;
  background: rgba(255,255,255,0.97);
  border-radius: var(--radius-xl);
  padding: 44px 40px;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,0.3);
  backdrop-filter: blur(8px);
}

.mvo-logo-wrap {
  text-align: center;
  margin-bottom: 20px;
}

.mvo-logo {
  width: 80px; height: 80px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 4px var(--mv-frost), 0 8px 24px rgba(0,103,105,0.2);
  animation: mvoLogoBounce 2s ease infinite;
}
@keyframes mvoLogoBounce {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.mvo-brand-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--mv-dark);
  text-align: center;
  line-height: 1.25;
  margin-bottom: 6px;
}
.mvo-brand-title span {
  font-size: 15px;
  font-weight: 500;
  color: var(--mv-mid);
  letter-spacing: 0.5px;
}

.mvo-login-subtitle {
  text-align: center;
  font-size: 13px;
  color: var(--mv-muted);
  margin-bottom: 28px;
  letter-spacing: 0.3px;
}

/* ── Form Groups ─────────────────────────────────────── */
.mvo-form-group {
  margin-bottom: 18px;
}
.mvo-form-group label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--mv-dark);
  margin-bottom: 7px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.mvo-label-icon { font-size: 15px; }

.mvo-form-group input,
.mvo-form-group select,
.mvo-form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--mv-border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--mv-text);
  background: #f8fffe;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.mvo-form-group input:focus,
.mvo-form-group select:focus {
  border-color: var(--mv-mid);
  box-shadow: 0 0 0 3px rgba(64,165,120,0.15);
  background: #fff;
}

.mvo-pw-wrap {
  position: relative;
}
.mvo-pw-wrap input { padding-right: 44px; }
.mvo-pw-toggle {
  position: absolute; right: 12px; top: 50%;
  transform: translateY(-50%);
  background: none; border: none; cursor: pointer;
  font-size: 18px; color: var(--mv-muted);
  padding: 0; transition: color var(--transition);
}
.mvo-pw-toggle:hover { color: var(--mv-dark); }

/* ── Buttons ─────────────────────────────────────────── */
.mvo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  border: none;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.mvo-btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.mvo-btn-primary {
  background: linear-gradient(135deg, var(--mv-dark) 0%, var(--mv-mid) 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0,103,105,0.35);
}
.mvo-btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0,103,105,0.4);
}
.mvo-btn-primary:active { transform: translateY(0); }
.mvo-btn-primary:disabled {
  opacity: 0.5; cursor: not-allowed; transform: none;
}

.mvo-btn-outline {
  background: transparent;
  border: 2px solid var(--mv-mid);
  color: var(--mv-dark);
}
.mvo-btn-outline:hover { background: var(--mv-frost); }

.mvo-btn-ghost {
  background: transparent;
  color: var(--mv-muted);
  border: 1.5px solid var(--mv-border);
}
.mvo-btn-ghost:hover { color: var(--mv-dark); background: var(--mv-frost); }

.mvo-btn-full { width: 100%; }
.mvo-btn-sm { padding: 8px 16px; font-size: 13px; }

/* ── Alerts ──────────────────────────────────────────── */
.mvo-alert {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  animation: mvoFadeIn 0.2s ease;
}
.mvo-alert-error {
  background: #fff0f0; color: var(--mv-error);
  border: 1.5px solid #ffc9c9;
}
.mvo-alert-success {
  background: var(--mv-frost); color: var(--mv-dark);
  border: 1.5px solid var(--mv-light);
}
.mvo-alert-info {
  background: #f0f8ff; color: #0366a0;
  border: 1.5px solid #bee3ff;
}
.mvo-alert-warn {
  background: #fff8e1; color: #7c5800;
  border: 1.5px solid #ffd740;
}

.mvo-login-footer {
  text-align: center;
  font-size: 11.5px;
  color: var(--mv-muted);
  margin-top: 22px;
  letter-spacing: 0.4px;
}

/* ── TOPBAR ──────────────────────────────────────────── */
.mvo-topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  background: var(--mv-surface);
  border-bottom: 2px solid var(--mv-border);
  box-shadow: var(--shadow-sm);
  position: sticky; top: 0; z-index: 100;
}
.mvo-topbar-logo {
  width: 40px; height: 40px;
  border-radius: 50%; object-fit: cover;
  box-shadow: 0 0 0 2px var(--mv-frost);
}
.mvo-topbar-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mvo-topbar-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--mv-dark);
}
.mvo-badge-user {
  font-size: 12px;
  background: var(--mv-pale);
  color: var(--mv-dark);
  border-radius: 99px;
  padding: 2px 10px;
  font-weight: 600;
  display: inline-block;
  width: fit-content;
}

/* ── DASHBOARD ───────────────────────────────────────── */
.mvo-dashboard-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 28px 20px;
}

.mvo-welcome-banner {
  text-align: center;
  margin-bottom: 28px;
}
.mvo-welcome-banner h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--mv-dark);
}
.mvo-welcome-banner p {
  color: var(--mv-muted);
  margin-top: 6px;
}

.mvo-card {
  background: var(--mv-surface);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--mv-border);
  margin-bottom: 20px;
  transition: box-shadow var(--transition);
}
.mvo-card:hover { box-shadow: var(--shadow-md); }

.mvo-select-wrapper {
  position: relative;
}
.mvo-select-wrapper::after {
  content: '▾';
  position: absolute; right: 14px; top: 50%;
  transform: translateY(-50%);
  color: var(--mv-mid);
  pointer-events: none;
  font-size: 16px;
}

/* Date Chips */
.mvo-date-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}
.mvo-date-chip {
  padding: 10px 18px;
  border-radius: 99px;
  border: 2px solid var(--mv-border);
  background: #f8fffe;
  font-size: 14px;
  font-weight: 600;
  color: var(--mv-muted);
  cursor: pointer;
  transition: all var(--transition);
}
.mvo-date-chip:hover {
  border-color: var(--mv-mid);
  color: var(--mv-dark);
  background: var(--mv-frost);
}
.mvo-date-chip.selected {
  background: linear-gradient(135deg, var(--mv-dark), var(--mv-mid));
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(0,103,105,0.3);
}

/* Quick Actions */
.mvo-quick-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.mvo-quick-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--mv-surface);
  border: 1.5px solid var(--mv-border);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  text-decoration: none;
  color: var(--mv-text);
  transition: all var(--transition);
  cursor: pointer;
}
.mvo-quick-card:hover {
  border-color: var(--mv-mid);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.mvo-quick-icon { font-size: 28px; }
.mvo-quick-card strong { display: block; font-weight: 700; color: var(--mv-dark); font-size: 14px; }
.mvo-quick-card small { color: var(--mv-muted); font-size: 12px; }

/* ── SCANNER SCREEN ──────────────────────────────────── */
#mvo-scanner {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #011c1d;
}

.mvo-scanner-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: rgba(0,20,20,0.8);
  backdrop-filter: blur(8px);
  position: relative; z-index: 10;
}
.mvo-scanner-info {
  display: flex; gap: 8px;
  flex-wrap: wrap; justify-content: center;
}
.mvo-badge-program {
  background: rgba(230,255,148,0.18);
  color: var(--mv-pale);
  border: 1px solid rgba(230,255,148,0.3);
  border-radius: 99px;
  padding: 4px 14px;
  font-size: 12px;
  font-weight: 600;
}
.mvo-badge-date {
  background: rgba(64,165,120,0.2);
  color: var(--mv-light);
  border: 1px solid rgba(64,165,120,0.3);
  border-radius: 99px;
  padding: 4px 14px;
  font-size: 12px;
  font-weight: 600;
}

.mvo-scanner-stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 20px;
  gap: 20px;
}

.mvo-scanner-welcome {
  text-align: center;
  color: rgba(255,255,255,0.7);
  font-size: 16px;
}
.mvo-scanner-welcome strong { color: var(--mv-pale); font-family: var(--font-display); font-size: 20px; }
.mvo-scan-instruction {
  margin-top: 8px;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.3px;
}

.mvo-camera-wrap {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
}
#mvo-camera {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* Scan overlay */
.mvo-scan-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.mvo-scan-frame {
  width: 220px; height: 220px;
  position: relative;
}
.mvo-corner {
  position: absolute;
  width: 28px; height: 28px;
  border-color: var(--mv-pale);
  border-style: solid;
}
.tl { top:0; left:0; border-width:3px 0 0 3px; border-radius: 6px 0 0 0; }
.tr { top:0; right:0; border-width:3px 3px 0 0; border-radius: 0 6px 0 0; }
.bl { bottom:0; left:0; border-width:0 0 3px 3px; border-radius: 0 0 0 6px; }
.br { bottom:0; right:0; border-width:0 3px 3px 0; border-radius: 0 0 6px 0; }

.mvo-scan-line {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--mv-pale), transparent);
  animation: mvoScanLine 2.2s linear infinite;
}
@keyframes mvoScanLine {
  0% { top: 0; opacity:1; }
  85% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* Scan status */
.mvo-scan-status {
  width: 100%; max-width: 380px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  animation: mvoFadeIn 0.2s ease;
}
.mvo-scan-status.success {
  background: rgba(157,222,139,0.15);
  color: var(--mv-light);
  border: 1.5px solid rgba(157,222,139,0.3);
}
.mvo-scan-status.error {
  background: rgba(214,48,49,0.12);
  color: #ff8080;
  border: 1.5px solid rgba(214,48,49,0.25);
}
.mvo-scan-status.warn {
  background: rgba(225,112,85,0.12);
  color: #ffb347;
  border: 1.5px solid rgba(225,112,85,0.25);
}

.mvo-scanner-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  padding: 16px 20px 24px;
  background: rgba(0,20,20,0.8);
}
.mvo-scanner-actions .mvo-btn-outline {
  border-color: rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.8);
}
.mvo-scanner-actions .mvo-btn-outline:hover { background: rgba(255,255,255,0.08); }
.mvo-scanner-actions .mvo-btn-ghost {
  border-color: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.5);
}

/* ── RESULT SCREEN ───────────────────────────────────── */
#mvo-result {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--mv-bg);
  padding: 24px;
}
.mvo-result-card {
  background: var(--mv-surface);
  border-radius: var(--radius-xl);
  padding: 44px 36px;
  text-align: center;
  max-width: 440px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  border: 1.5px solid var(--mv-border);
}
.mvo-result-icon {
  font-size: 64px;
  margin-bottom: 16px;
  animation: mvoIconPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes mvoIconPop {
  from { transform: scale(0.3) rotate(-15deg); opacity: 0; }
  to   { transform: scale(1) rotate(0); opacity: 1; }
}
.mvo-result-card.success { border-color: var(--mv-light); }
.mvo-result-card.error   { border-color: #ffc9c9; }
.mvo-result-card.warn    { border-color: #ffd740; }
.mvo-result-card h2 {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--mv-dark);
  margin-bottom: 10px;
}
.mvo-result-card p {
  color: var(--mv-muted);
  font-size: 15px;
  line-height: 1.6;
}
.mvo-result-name {
  font-size: 24px !important;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--mv-dark) !important;
  margin: 12px 0 !important;
}
.mvo-result-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}

/* ── LOGS SCREEN ─────────────────────────────────────── */
.mvo-logs-content {
  max-width: 960px;
  margin: 0 auto;
  padding: 24px 20px;
}
.mvo-logs-filter input {
  width: 100%;
  padding: 11px 16px;
  border: 2px solid var(--mv-border);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-family: var(--font-body);
  outline: none;
  margin-bottom: 16px;
  transition: border-color var(--transition);
}
.mvo-logs-filter input:focus { border-color: var(--mv-mid); }

.mvo-table-wrap { overflow-x: auto; }
.mvo-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
.mvo-table th {
  background: linear-gradient(135deg, var(--mv-dark), var(--mv-mid));
  color: white;
  padding: 12px 14px;
  text-align: left;
  font-weight: 600;
  letter-spacing: 0.3px;
  white-space: nowrap;
}
.mvo-table th:first-child { border-radius: 8px 0 0 0; }
.mvo-table th:last-child  { border-radius: 0 8px 0 0; }
.mvo-table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--mv-border);
  color: var(--mv-text);
}
.mvo-table tr:hover td { background: var(--mv-frost); }
.mvo-table tr:last-child td { border-bottom: none; }

.mvo-badge-status {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.status-marked    { background: var(--mv-frost); color: var(--mv-dark); }
.status-sent      { background: #e3f9e5; color: #1a7a35; }
.status-failed    { background: #fff0f0; color: var(--mv-error); }

/* ── ID CARDS UI ─────────────────────────────────────── */
.mvo-tab-nav {
  display: flex;
  border-bottom: 2px solid var(--mv-border);
  background: var(--mv-surface);
  padding: 0 24px;
  gap: 4px;
  overflow-x: auto;
}
.mvo-tab {
  padding: 14px 20px;
  border: none;
  background: none;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--mv-muted);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: all var(--transition);
  white-space: nowrap;
}
.mvo-tab.active { color: var(--mv-dark); border-bottom-color: var(--mv-dark); }
.mvo-tab:hover  { color: var(--mv-dark); }

.mvo-tab-panel { display: none; padding: 24px 20px; max-width: 840px; margin: 0 auto; }
.mvo-tab-panel.active { display: block; animation: mvoFadeIn 0.25s ease; }

.mvo-upload-zone {
  border: 2.5px dashed var(--mv-border);
  border-radius: var(--radius-lg);
  padding: 44px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  margin: 16px 0;
}
.mvo-upload-zone:hover {
  border-color: var(--mv-mid);
  background: var(--mv-frost);
}
.mvo-upload-icon { font-size: 40px; margin-bottom: 12px; }
.mvo-upload-zone p { font-weight: 600; color: var(--mv-dark); font-size: 15px; }
.mvo-upload-zone small { color: var(--mv-muted); font-size: 12px; }

.mvo-text-muted { color: var(--mv-muted); font-size: 13.5px; margin-top: 4px; }
.mvo-text-muted code {
  background: #f0faf4;
  padding: 1px 6px;
  border-radius: 4px;
  font-family: monospace;
  font-size: 12px;
  color: var(--mv-dark);
}

/* BG Image selector */
.mvo-bg-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}
.mvo-bg-thumb {
  width: 80px; height: 56px;
  border-radius: 8px;
  object-fit: cover;
  cursor: pointer;
  border: 3px solid transparent;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.mvo-bg-thumb:hover { transform: scale(1.06); }
.mvo-bg-thumb.selected {
  border-color: var(--mv-dark);
  box-shadow: 0 0 0 2px var(--mv-light), var(--shadow-md);
}
.mvo-bg-label {
  font-size: 10px;
  text-align: center;
  color: var(--mv-muted);
  margin-top: 4px;
  word-break: break-all;
}

/* Participants table */
.mvo-participants-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.mvo-participants-header h3 { font-family: var(--font-display); color: var(--mv-dark); }
.mvo-select-actions { display: flex; gap: 8px; }
.mvo-badge-count {
  background: var(--mv-pale);
  color: var(--mv-dark);
  border-radius: 99px;
  padding: 2px 10px;
  font-size: 12px;
  font-weight: 700;
  margin-left: 8px;
}

.mvo-send-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1.5px solid var(--mv-border);
  flex-wrap: wrap;
  gap: 12px;
}
#mvo-bulk-send-status { font-size: 13px; color: var(--mv-muted); }

/* Live log */
.mvo-live-log {
  max-height: 300px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-right: 4px;
}
.mvo-log-entry {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  animation: mvoFadeIn 0.2s ease;
}
.mvo-log-entry.success { background: var(--mv-frost); color: var(--mv-dark); }
.mvo-log-entry.error   { background: #fff0f0; color: var(--mv-error); }
.mvo-log-entry .log-time { color: var(--mv-muted); font-size: 11px; white-space: nowrap; }
.mvo-log-entry .log-email { font-weight: 600; flex:1; }
.mvo-log-entry .log-icon { font-size: 16px; }

/* Auth loading */
.mvo-auth-loading {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--mv-bg);
}

/* ── SPINNER ─────────────────────────────────────────── */
.mvo-spinner {
  display: flex; gap: 6px;
  justify-content: center;
  padding: 40px;
}
.mvo-spinner div {
  width: 10px; height: 10px;
  background: var(--mv-mid);
  border-radius: 50%;
  animation: mvoBounce 1.2s ease infinite;
}
.mvo-spinner div:nth-child(2) { animation-delay: 0.2s; }
.mvo-spinner div:nth-child(3) { animation-delay: 0.4s; }
@keyframes mvoBounce {
  0%,60%,100% { transform: translateY(0); opacity:0.8; }
  30% { transform: translateY(-12px); opacity:1; }
}

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 600px) {
  .mvo-login-card { padding: 32px 22px; }
  .mvo-quick-actions { grid-template-columns: 1fr; }
  .mvo-dashboard-content { padding: 20px 14px; }
  .mvo-tab-panel { padding: 20px 14px; }
  .mvo-card { padding: 20px; }
  .mvo-scanner-stage { padding: 16px 14px; }
  .mvo-camera-wrap { max-width: 100%; }
}
