:root {
  --brand-color: #1a1a1a;
  --brand-accent: #c8102e;
}

html, body {
  height: 100%;
  background-color: #f5f5f5;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
}

.app-header {
  background-color: var(--brand-color);
  color: #fff;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.app-header img.logo {
  height: 32px;
}

.app-header .app-title {
  font-size: 1.05rem;
  font-weight: 600;
}

.app-main {
  flex: 1;
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.app-footer {
  background-color: #ffffff;
  border-top: 1px solid #e0e0e0;
  padding: 0.75rem 1rem;
  text-align: center;
  font-size: 0.7rem;
  color: #6c6c6c;
}

.app-footer img.eu-logo {
  height: 24px;
  display: block;
  margin: 0 auto 0.4rem auto;
}

.main-action-btn {
  width: 100%;
  max-width: 320px;
  padding: 1.1rem 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 0.6rem;
}

#qr-reader {
  width: 100%;
  max-width: 420px;
}

.result-banner {
  width: 100%;
  max-width: 420px;
  padding: 1rem;
  border-radius: 0.5rem;
  text-align: center;
  font-weight: 600;
}

.result-banner.success {
  background-color: #d1e7dd;
  color: #0f5132;
}

.result-banner.error {
  background-color: #f8d7da;
  color: #842029;
}

.form-card {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 0.6rem;
  padding: 1.25rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
