* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: #f2f4f7;
  color: #1a1a1a;
  display: flex;
  justify-content: center;
  padding: 16px;
}

.card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.brand-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.brand-logo {
  width: 220px;
  max-width: 100%;
  height: auto;
  display: block;
}

h1 {
  font-size: 1.4rem;
  margin-top: 0;
  margin-bottom: 0;
  text-align: center;
}

label {
  display: block;
  font-weight: 600;
  margin: 16px 0 6px;
  font-size: 0.95rem;
}

select,
textarea,
input[type="text"],
input[type="file"] {
  width: 100%;
  padding: 12px;
  font-size: 1rem;
  border: 1px solid #ccd0d5;
  border-radius: 8px;
  background: #fff;
}

button {
  width: 100%;
  margin-top: 24px;
  padding: 14px;
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  background: #2563eb;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

button:disabled {
  opacity: 0.6;
}

.error {
  color: #c0392b;
  font-weight: 600;
  margin-top: 12px;
}

#sin-qr {
  text-align: center;
  padding: 8px 0 4px;
}

.aviso-qr {
  font-weight: 600;
  font-size: 1.05rem;
  margin: 0 0 8px;
}

.aviso-qr-sub {
  color: #5b6472;
  margin: 0;
}

#confirmacion {
  text-align: center;
}

#confirmacion button {
  background: #16a34a;
}
