:root {
  --vv-bg: #f4f7f6;
  --vv-surface: #ffffff;
  --vv-surface-muted: #f8faf9;
  --vv-primary: #2c8e32;
  --vv-primary-dark: #1f6f27;
  --vv-primary-soft: #e8f5ea;
  --vv-text: #1f2933;
  --vv-muted: #5f6f7a;
  --vv-border: #dfe7e2;
  --vv-danger: #b42318;
  --vv-danger-soft: #fff1f0;
  --vv-success: #146c2e;
  --vv-warning: #8a5a00;
  --vv-radius: 16px;
  --vv-shadow: 0 14px 35px rgba(24, 43, 32, 0.10);
  --vv-font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--vv-bg);
}

body {
  margin: 0;
  min-height: 100%;
  font-family: var(--vv-font);
  color: var(--vv-text);
  background:
    radial-gradient(circle at top left, rgba(44, 142, 50, 0.12), transparent 34rem),
    var(--vv-bg);
}

.vv-page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: 24px 14px;
}

.vv-shell {
  width: 100%;
  max-width: 720px;
}

.vv-card {
  background: var(--vv-surface);
  border: 1px solid var(--vv-border);
  border-radius: var(--vv-radius);
  box-shadow: var(--vv-shadow);
  overflow: hidden;
}

.vv-header {
  padding: 26px 24px;
  background: linear-gradient(135deg, var(--vv-primary-dark), var(--vv-primary));
  color: white;
}

.vv-brand {
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.88;
  margin-bottom: 10px;
}

.vv-title {
  margin: 0;
  font-size: clamp(1.45rem, 5vw, 2rem);
  line-height: 1.15;
}

.vv-subtitle {
  margin: 10px 0 0;
  opacity: 0.92;
  font-size: 0.98rem;
  line-height: 1.5;
}

.vv-content {
  padding: 24px;
}

.vv-section {
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--vv-border);
}

.vv-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.vv-section-title {
  margin: 0 0 12px;
  font-size: 1rem;
  color: var(--vv-primary-dark);
}

.vv-field {
  margin-bottom: 16px;
}

.vv-label {
  display: block;
  font-weight: 650;
  margin-bottom: 7px;
}

.vv-help {
  margin-top: 6px;
  color: var(--vv-muted);
  font-size: 0.88rem;
  line-height: 1.4;
}

.vv-input,
.vv-select,
.vv-textarea {
  width: 100%;
  border: 1px solid var(--vv-border);
  border-radius: 12px;
  background: white;
  color: var(--vv-text);
  padding: 12px 13px;
  font: inherit;
  outline: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.vv-textarea {
  min-height: 110px;
  resize: vertical;
}

.vv-input:focus,
.vv-select:focus,
.vv-textarea:focus {
  border-color: var(--vv-primary);
  box-shadow: 0 0 0 3px rgba(44, 142, 50, 0.14);
}

.vv-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.vv-button {
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  background: var(--vv-primary);
  color: white;
  transition: transform 0.12s ease, opacity 0.12s ease;
}

.vv-button:active {
  transform: translateY(1px);
}

.vv-button[disabled] {
  cursor: not-allowed;
  opacity: 0.62;
}

.vv-button-secondary {
  background: var(--vv-primary-soft);
  color: var(--vv-primary-dark);
}

.vv-alert {
  border-radius: 14px;
  padding: 13px 14px;
  margin: 16px 0;
  line-height: 1.45;
  background: var(--vv-surface-muted);
  border: 1px solid var(--vv-border);
}

.vv-alert-danger {
  background: var(--vv-danger-soft);
  color: var(--vv-danger);
  border-color: #ffd0cc;
}

.vv-alert-success {
  background: var(--vv-primary-soft);
  color: var(--vv-success);
  border-color: #c6e8cd;
}

.vv-alert-warning {
  background: #fff8e6;
  color: var(--vv-warning);
  border-color: #ffe2a3;
}

.vv-muted {
  color: var(--vv-muted);
}

.vv-small {
  font-size: 0.88rem;
}

.vv-hidden {
  display: none !important;
}

.vv-kv {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 8px 12px;
  font-size: 0.94rem;
}

.vv-kv strong {
  color: var(--vv-muted);
  font-weight: 650;
}

@media (max-width: 540px) {
  .vv-page {
    padding: 0;
  }

  .vv-shell {
    max-width: none;
  }

  .vv-card {
    min-height: 100vh;
    border-radius: 0;
    border: 0;
  }

  .vv-content {
    padding: 20px 16px;
  }

  .vv-header {
    padding: 24px 16px;
  }

  .vv-kv {
    grid-template-columns: 1fr;
  }
}

/* Motoboy Check-in | identidade leve inspirada no site institucional Vet Vida */
.vv-page-checkin {
  background:
    radial-gradient(circle at top left, rgba(72, 169, 166, 0.18), transparent 34rem),
    linear-gradient(135deg, #f4fbfb 0%, #edf7f3 45%, #f8fbff 100%);
}

.vv-card-checkin {
  border-top: 5px solid #2fa7a0;
}

.vv-brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.vv-brand-mark {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, #1f918d, #57b957);
  font-weight: 800;
  letter-spacing: 0.03em;
  box-shadow: 0 10px 24px rgba(31, 145, 141, 0.24);
}

.vv-kicker {
  margin: 0 0 0.15rem;
  color: #1f918d;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.vv-flow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1.4rem 0;
}

.vv-flow-step {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 1px solid #c9d8d8;
  color: #6b7a7a;
  background: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
}

.vv-flow-step-active {
  border-color: #2fa7a0;
  color: #11615e;
  background: #e7f7f5;
}

.vv-flow-step-done {
  border-color: #58b957;
  color: #ffffff;
  background: #58b957;
}

.vv-flow-line {
  flex: 1;
  height: 2px;
  background: #d6e4e4;
}

.vv-help {
  margin: 0.45rem 0 0;
  color: #667085;
  font-size: 0.88rem;
  line-height: 1.4;
}

/* Correção visual Motoboy Check-in | 2026-06-15 */
.vv-page-checkin {
  min-height: 100vh;
  padding: 2.5rem 1rem;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.vv-page-checkin .vv-shell {
  width: min(100%, 46rem);
  margin: 0 auto;
}

.vv-card-checkin {
  width: 100%;
  padding: 2rem;
  border-radius: 1.25rem;
  box-shadow: 0 18px 44px rgba(31, 64, 64, 0.12);
}

.vv-card-checkin .vv-brand {
  align-items: flex-start;
  gap: 1rem;
}

.vv-card-checkin .vv-brand-mark {
  flex: 0 0 auto;
  width: 3rem;
  height: 3rem;
  font-size: 0.95rem;
}

.vv-card-checkin .vv-kicker {
  margin-top: 0.1rem;
  font-size: 0.76rem;
  line-height: 1.2;
  letter-spacing: 0.12em;
}

.vv-card-checkin .vv-title {
  margin: 0.1rem 0 0;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.08;
  letter-spacing: 0.01em;
  text-transform: none;
}

.vv-card-checkin .vv-description {
  max-width: 38rem;
  margin: 1rem 0 0;
  font-size: 1rem;
  line-height: 1.5;
}

.vv-card-checkin .vv-flow {
  margin: 1.75rem 0 1.5rem;
}

.vv-card-checkin .vv-section {
  margin-top: 1.1rem;
}

.vv-card-checkin .vv-input {
  height: 3rem;
  font-size: 1.05rem;
}

.vv-card-checkin .vv-button {
  width: auto;
  min-width: 15rem;
  min-height: 2.75rem;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
}

.vv-card-checkin .vv-footnote {
  margin: 1.5rem -2rem -2rem;
  padding: 1rem 2rem;
  border-top: 1px solid #e4eeee;
  background: #f8fbfb;
  border-radius: 0 0 1.25rem 1.25rem;
  color: #44545c;
  font-size: 0.92rem;
  line-height: 1.45;
}

@media (min-height: 760px) {
  .vv-page-checkin {
    align-items: center;
  }
}

@media (max-width: 640px) {
  .vv-page-checkin {
    padding: 1rem;
    align-items: flex-start;
  }

  .vv-card-checkin {
    padding: 1.25rem;
    border-radius: 1rem;
  }

  .vv-card-checkin .vv-brand {
    gap: 0.75rem;
  }

  .vv-card-checkin .vv-brand-mark {
    width: 2.7rem;
    height: 2.7rem;
  }

  .vv-card-checkin .vv-title {
    font-size: 1.55rem;
  }

  .vv-card-checkin .vv-button {
    width: 100%;
    min-width: 0;
  }

  .vv-card-checkin .vv-footnote {
    margin: 1.25rem -1.25rem -1.25rem;
    padding: 1rem 1.25rem;
  }
}

/* Legendas do fluxo Motoboy Check-in | 2026-06-15 */
.vv-card-checkin .vv-flow {
  align-items: flex-start;
}

.vv-flow-item {
  display: grid;
  justify-items: center;
  gap: 0.45rem;
  min-width: 5.8rem;
}

.vv-flow-item span {
  color: #53666f;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.vv-flow-item .vv-flow-step-active + span {
  color: #11615e;
}

.vv-flow-item .vv-flow-step-done + span {
  color: #2f7f32;
}

.vv-card-checkin .vv-flow-line {
  margin-top: 1rem;
}

@media (max-width: 640px) {
  .vv-flow-item {
    min-width: 4.9rem;
  }

  .vv-flow-item span {
    font-size: 0.72rem;
  }
}

/* Ajuste mobile do stepper MotoboyCheckin
   Evita que a etapa final encoste na margem direita em telas estreitas. */
@media (max-width: 430px) {
  .vv-card-checkin .vv-flow {
    padding-left: 0.35rem;
    padding-right: 0.35rem;
    gap: 0.35rem;
  }

  .vv-card-checkin .vv-flow-item {
    min-width: 3.15rem;
    flex: 0 0 3.15rem;
  }

  .vv-card-checkin .vv-flow-line {
    min-width: 0.45rem;
    flex: 1 1 0.45rem;
  }

  .vv-card-checkin .vv-flow-item span {
    font-size: 0.78rem;
    line-height: 1.1;
  }
}

@media (max-width: 360px) {
  .vv-card-checkin .vv-flow {
    padding-left: 0.2rem;
    padding-right: 0.2rem;
    gap: 0.25rem;
  }

  .vv-card-checkin .vv-flow-item {
    min-width: 2.85rem;
    flex-basis: 2.85rem;
  }

  .vv-card-checkin .vv-flow-step {
    width: 2rem;
    height: 2rem;
  }

  .vv-card-checkin .vv-flow-item span {
    font-size: 0.72rem;
  }
}

