/* VetUberaba — formulários (contato, cadastro, Área do anunciante, painel). Mobile primeiro. */
.form-main { padding-bottom: 80px; }
.vu-form, .vu-wrap { max-width: 640px; margin: 0 auto; }
.vu-form { display: flex; flex-direction: column; gap: 16px; }
.vu-wrap--wide { max-width: 860px; }
.vu-form-intro { font-size: 14px; line-height: 1.55; color: #4b5563; margin: 0; }

/* campos */
.vu-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.vu-field > label { font-size: 13px; font-weight: 700; color: var(--primary-blue); }
.vu-field > label small, .vu-fs-t small { font-weight: 500; color: #8c9ba5; font-size: 12px; }
.req { color: #dc2626; }
.vu-input {
  width: 100%; min-width: 0; padding: 13px 14px; border: 1.5px solid #dfe5eb; border-radius: 12px; background: #fff;
  font-family: inherit; font-size: 16px; color: var(--primary-blue); outline: none; transition: border-color .2s, box-shadow .2s;
}
.vu-input:focus { border-color: var(--primary-blue); box-shadow: 0 0 0 3px rgba(27, 59, 100, .1); }
.vu-input::placeholder { color: #a3aeb8; }
.vu-input:disabled { background: #f1f4f7; color: #9ca3af; }
textarea.vu-input { resize: vertical; min-height: 84px; line-height: 1.5; }
select.vu-input { appearance: none; -webkit-appearance: none; padding-right: 38px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231b3b64' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 14px center; }
.vu-hint { font-size: 12px; color: #8c9ba5; line-height: 1.45; }
.vu-count { font-size: 11px; color: #9ca3af; text-align: right; }
.vu-field.has-error > .vu-input, .vu-field.has-error .vu-input { border-color: #dc2626; }
.vu-field.has-error > label { color: #dc2626; }
.vu-field.has-error .vu-chipset { outline: 2px solid rgba(220, 38, 38, .35); outline-offset: 4px; border-radius: 12px; }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

.vu-row { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 520px) {
  .vu-row { grid-template-columns: 1fr 1fr; }
  .vu-row--addr { grid-template-columns: 1fr 120px; }
  .vu-row--cep { grid-template-columns: 200px 1fr; }
  .vu-row--city { grid-template-columns: 1fr 100px; }
}
.vu-fs { border: 1px solid #e5e9ef; border-radius: 18px; padding: 16px; background: #fff; display: flex; flex-direction: column; gap: 14px; min-width: 0; box-shadow: 0 3px 12px rgba(0, 0, 0, .03); }
.vu-fs-t { margin: 0 0 2px; padding: 0 0 12px; border-bottom: 1px solid #eef1f5; font-size: 15.5px; line-height: 1.3; font-weight: 800; color: var(--primary-blue); display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.vu-fs-t small { font-size: 12.5px; line-height: 1.35; }
.vu-fs.is-off .vu-hours, .vu-fs.is-off #af_copyhor { opacity: .4; pointer-events: none; }
.vu-fs--admin { border-color: #f5c58f; background: #fffaf3; }

/* chips */
.vu-chipset { display: flex; flex-wrap: wrap; gap: 8px; padding: 2px; }
.vu-chip-filter + .vu-chipset, .vu-chipset.is-scroll { max-height: 220px; overflow-y: auto; padding: 10px; border: 1px solid #e5e9ef; border-radius: 12px; background: #fafbfc; overscroll-behavior: contain; }
.vu-chipset .vu-chip { flex: 0 0 auto; }
.vu-chip.shake { animation: vuShake .35s; }
@keyframes vuShake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.vu-chip-filter { margin-bottom: 6px; padding: 10px 12px; font-size: 14px; }
.vu-addtag { display: flex; gap: 8px; }
.vu-addtag .vu-input { flex: 1; }
.vu-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: #374151; line-height: 1.45; cursor: pointer; }
.vu-check input { width: 19px; height: 19px; margin-top: 1px; accent-color: var(--primary-blue); flex-shrink: 0; }

/* horários */
.vu-hours { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
.vu-hrow { display: grid; grid-template-columns: 78px auto 1fr auto 1fr; align-items: center; gap: 8px; }
.vu-hday { font-size: 13px; font-weight: 700; color: var(--primary-blue); }
.vu-hclosed { font-size: 12px; color: #6b7280; display: flex; gap: 5px; align-items: center; white-space: nowrap; }
.vu-hrow .vu-input { padding: 9px 8px; font-size: 14px; }
.vu-hsep { font-size: 12px; color: #9ca3af; }
@media (max-width: 460px) {
  .vu-hrow { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); row-gap: 6px; }
  .vu-hday { grid-column: 1; }
  .vu-hclosed { grid-column: 2 / 4; justify-self: end; }
  .vu-hrow .ha { grid-column: 1; }
  .vu-hsep { grid-column: 2; }
  .vu-hrow .hf { grid-column: 3; }
  .vu-hrow .vu-input { min-width: 0; width: 100%; box-sizing: border-box; }
}

/* foto */
.vu-photo { display: flex; gap: 14px; align-items: center; }
.vu-photo-prev { width: 96px; height: 96px; border-radius: 16px; background: #eef1f5; display: flex; align-items: center; justify-content: center; color: #b3bdc8; font-size: 32px; overflow: hidden; flex-shrink: 0; }
.vu-photo-prev img { width: 100%; height: 100%; object-fit: cover; }
.vu-photo-act { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }

/* botões */
.vu-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border: none; border-radius: 14px;
  font-family: inherit; font-size: 15px; font-weight: 700; cursor: pointer; text-decoration: none; transition: transform .1s, filter .2s; text-align: center;
}
.vu-btn:active { transform: scale(.98); }
.vu-btn[disabled] { opacity: .6; cursor: default; }
.vu-btn--primary { background: var(--secondary-orange); color: #fff; box-shadow: 0 6px 16px rgba(235, 130, 35, .28); }
.vu-btn--green { background: var(--primary-green); color: #fff; }
.vu-btn--blue { background: var(--primary-blue); color: #fff; }
.vu-btn--ghost { background: #fff; color: var(--primary-blue); border: 1.5px solid #d6dde5; }
.vu-btn--danger { background: #fff; color: #b91c1c; border: 1.5px solid #fca5a5; }
.vu-btn--sm { min-height: 38px; padding: 0 14px; font-size: 13px; border-radius: 11px; }
.vu-btn--block { width: 100%; }
.vu-actions { display: flex; gap: 10px; }
.vu-actions .vu-btn { flex: 1; }

/* alertas e sucesso */
.vu-alert { padding: 12px 14px; border-radius: 12px; background: #fef2f2; color: #b91c1c; font-size: 13.5px; line-height: 1.45; border: 1px solid #fecaca; }
.vu-alert--ok { background: #f0fdf4; color: #166534; border-color: #bbf7d0; }
.vu-alert--info { background: #eff6ff; color: #1e40af; border-color: #bfdbfe; }
.vu-alert--warn { background: #fff7ed; color: #9a3412; border-color: #fed7aa; }
.vu-alert[hidden] { display: none; }
.vu-success { text-align: center; padding: 28px 8px; max-width: 520px; margin: 0 auto; }
.vu-success h2 { color: var(--primary-blue); font-size: 22px; margin: 12px 0 6px; }
.vu-success p { color: #4b5563; font-size: 14.5px; line-height: 1.55; margin-bottom: 18px; }
.vu-success-ic { width: 72px; height: 72px; border-radius: 50%; background: var(--primary-green); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 36px; }
.vu-success[hidden] { display: none; }

/* passos */
.wiz-steps { display: flex; gap: 6px; max-width: 640px; margin: 0 auto 22px; }
.wiz-step { flex: 1; height: 5px; border-radius: 4px; background: #dbe2e9; transition: background .3s; }
.wiz-step.is-on { background: var(--primary-green); }
.wiz-title { max-width: 640px; margin: 0 auto 4px; font-size: 20px; font-weight: 800; color: var(--primary-blue); }
.wiz-sub { max-width: 640px; margin: 0 auto 18px; font-size: 14px; color: #6b7280; line-height: 1.5; }
.wiz-pane[hidden] { display: none; }
.type-group { max-width: 640px; margin: 0 auto 18px; }
.type-group h3 { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .6px; color: #8c9ba5; margin-bottom: 10px; display: flex; justify-content: space-between; align-items: center; }
.type-group h3 b { color: var(--primary-green); font-size: 13px; text-transform: none; letter-spacing: 0; }
.type-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (min-width: 560px) { .type-grid { grid-template-columns: repeat(3, 1fr); } }
.type-card { background: #fff; border: 1.5px solid #e5e9ef; border-radius: 16px; padding: 16px 12px; display: flex; flex-direction: column; align-items: center; gap: 8px; cursor: pointer; font-family: inherit; text-align: center; transition: border-color .2s, transform .1s, box-shadow .2s; }
.type-card:hover { border-color: var(--primary-green); }
.type-card:active { transform: scale(.97); }
.type-card.is-on { border-color: var(--primary-green); box-shadow: 0 0 0 3px rgba(92, 146, 71, .18); }
.type-card i { font-size: 30px; color: var(--primary-blue); }
.type-card b { font-size: 14px; color: var(--primary-blue); line-height: 1.25; }
.type-card span { font-size: 12px; font-weight: 700; color: var(--primary-green); }

.plan-box { background: var(--primary-blue); color: #fff; border-radius: 18px; padding: 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.plan-box b { font-size: 15px; }
.plan-box small { display: block; font-size: 12px; opacity: .8; margin-top: 2px; font-weight: 500; }
.plan-box strong { font-size: 24px; white-space: nowrap; }
.plan-box strong small { display: inline; font-size: 12px; font-weight: 600; opacity: .8; }

/* painel de pagamento (cadastro / área do anunciante) */
.pay-card { background: #fff; border: 1px solid #e5e9ef; border-radius: 18px; padding: 18px; text-align: left; box-shadow: 0 4px 16px rgba(0, 0, 0, .04); }
.pay-card + .pay-card { margin-top: 12px; }
.pay-total { font-size: 28px; font-weight: 800; color: var(--primary-green); text-align: center; margin-bottom: 8px; }
.pay-line { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; padding: 4px 0; color: #374151; }
.pay-line b { color: var(--primary-blue); text-align: right; }
.pay-code { width: 100%; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 11.5px; padding: 10px; border: 1px dashed #b6c1cf; border-radius: 10px; background: #f8fafc; color: #374151; resize: none; height: 78px; word-break: break-all; margin: 8px 0; }
.pay-help { font-size: 12.5px; color: #6b7280; line-height: 1.5; margin: 8px 0 0; }
.pay-card .vu-btn { width: 100%; margin-top: 8px; }

/* Área do anunciante */
.ad-hello { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.ad-hello h2 { font-size: 19px; color: var(--primary-blue); }
.ad-hello small { display: block; color: #8c9ba5; font-size: 12.5px; font-weight: 500; }
.ad-tabs { display: flex; gap: 6px; background: #e9edf2; padding: 4px; border-radius: 14px; margin-bottom: 18px; overflow-x: auto; }
.ad-tabs button { flex: 1; white-space: nowrap; border: none; background: transparent; padding: 10px 14px; border-radius: 11px; font-family: inherit; font-size: 13.5px; font-weight: 700; color: #6b7280; cursor: pointer; }
.ad-tabs button.is-on { background: #fff; color: var(--primary-blue); box-shadow: 0 2px 8px rgba(0, 0, 0, .08); }
.ad-card { background: #fff; border-radius: 18px; padding: 18px; margin-bottom: 14px; border: 1px solid #eef0f3; box-shadow: 0 4px 16px rgba(0, 0, 0, .04); }
.ad-card-head { display: flex; gap: 12px; align-items: flex-start; justify-content: space-between; }
.ad-card h3 { font-size: 16px; color: var(--primary-blue); line-height: 1.3; }
.ad-card .ad-kind { font-size: 12px; color: #8c9ba5; font-weight: 600; }
.ad-status { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 800; padding: 4px 10px; border-radius: 20px; white-space: nowrap; }
.ad-status.ok { background: #dcfce7; color: #166534; }
.ad-status.wait { background: #fef3c7; color: #92400e; }
.ad-status.off { background: #fee2e2; color: #991b1b; }
.ad-status.pause { background: #e5e7eb; color: #374151; }
.ad-meta { display: flex; flex-wrap: wrap; gap: 14px; margin: 12px 0; font-size: 12.5px; color: #6b7280; }
.ad-meta b { color: var(--primary-blue); }
.ad-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ad-empty { text-align: center; padding: 34px 16px; color: #6b7280; font-size: 14px; }
.ad-empty h3 { color: var(--primary-blue); margin-bottom: 6px; }
.ad-hist { margin-top: 10px; border-top: 1px solid #eef0f3; padding-top: 8px; font-size: 12.5px; color: #6b7280; }
.ad-modal { position: fixed; inset: 0; z-index: 90; background: rgba(10, 25, 45, .6); display: flex; align-items: flex-end; justify-content: center; }
.ad-modal[hidden] { display: none; }
.ad-sheet { background: var(--bg-color); width: 100%; max-width: 680px; max-height: 94vh; overflow-y: auto; border-radius: 24px 24px 0 0; padding: 20px 16px 30px; -webkit-overflow-scrolling: touch; }
.ad-sheet-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.ad-sheet-head h3 { color: var(--primary-blue); font-size: 18px; }
.ad-sheet-head button { border: none; background: #e5e9ef; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; font-size: 18px; color: #4b5563; }
@media (min-width: 760px) { .ad-modal { align-items: center; } .ad-sheet { border-radius: 24px; padding: 24px; } }

/* login box */
.vu-card { background: #fff; border-radius: 22px; padding: 22px 18px; box-shadow: 0 10px 30px rgba(0, 0, 0, .08); max-width: 440px; margin: 0 auto; }
.vu-card h2 { color: var(--primary-blue); font-size: 20px; margin-bottom: 4px; }
.vu-card > p { font-size: 13.5px; color: #6b7280; margin-bottom: 16px; line-height: 1.5; }
.vu-link { border: none; background: none; padding: 4px 0; font: inherit; font-size: 13px; font-weight: 700; color: var(--primary-blue); cursor: pointer; text-decoration: underline; }

.vu-formroot { display: flex; flex-direction: column; gap: 16px; }

/* ===== Login da Área do Anunciante ===== */
.lg { width: 100%; padding: 4px 0 24px; }
.lg[hidden] { display: none; }
.lg-card { background: #fff; border-radius: 24px; padding: 28px 22px 24px; max-width: 440px; margin: 0 auto; box-shadow: 0 12px 36px rgba(27, 59, 100, .10); border: 1px solid #eef0f3; }
.lg-head { text-align: center; margin-bottom: 22px; }
.lg-ico { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 18px; background: #e8eff8; color: var(--primary-blue); font-size: 28px; margin-bottom: 12px; }
.lg-head h2 { font-size: 21px; color: var(--primary-blue); line-height: 1.25; margin: 0 0 6px; }
.lg-head p { font-size: 13.5px; color: #6b7280; line-height: 1.5; margin: 0; }
.lg-msg { margin: 0 0 18px; padding: 12px 14px; border-radius: 12px; font-size: 13.5px; line-height: 1.45; font-weight: 600; background: #fee2e2; color: #991b1b; }
.lg-msg--ok { background: #dcfce7; color: #166534; }
.lg-msg[hidden] { display: none; }
.lg-form { display: flex; flex-direction: column; gap: 18px; }
.lg-form[hidden], #fg1[hidden], #fg2[hidden], #lgMain[hidden] { display: none; }
.lg-group { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.lg-group label, .lg-labelrow label { font-size: 13.5px; font-weight: 700; color: var(--primary-blue); }
.lg-labelrow { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.lg-eye { border: none; background: none; font: inherit; font-size: 13px; font-weight: 700; color: var(--secondary-orange); cursor: pointer; padding: 4px 0; min-height: 28px; }
.lg-input { width: 100%; box-sizing: border-box; height: 50px; padding: 0 14px; border: 1.5px solid #d6dde5; border-radius: 14px; font: inherit; font-size: 16px; color: #1f2937; background: #fff; outline: none; transition: border-color .15s, box-shadow .15s; }
.lg-input::placeholder { color: #a3adb8; }
.lg-input:focus { border-color: var(--primary-blue); box-shadow: 0 0 0 4px rgba(27, 59, 100, .12); }
.lg-code { text-align: center; letter-spacing: .5em; font-weight: 800; font-size: 22px; }
.lg-submit { height: 50px; margin-top: 2px; font-size: 15.5px; }
.lg-forgot { align-self: center; border: none; background: none; font: inherit; font-size: 13.5px; font-weight: 700; color: var(--primary-blue); text-decoration: underline; cursor: pointer; padding: 6px 4px; }
.lg-or { display: flex; align-items: center; gap: 12px; margin: 22px 0 16px; color: #8c9ba5; font-size: 12.5px; font-weight: 600; text-align: center; }
.lg-or::before, .lg-or::after { content: ""; flex: 1; height: 1px; background: #e5e9ef; }
.lg-step { align-self: flex-start; background: #e8eff8; color: var(--primary-blue); font-size: 12px; font-weight: 800; padding: 5px 12px; border-radius: 20px; }
.lg-sub { font-size: 18px; color: var(--primary-blue); margin: -4px 0 0; }
.lg-hint { font-size: 13.5px; color: #6b7280; line-height: 1.55; margin: 0; }
.lg .vu-btn--block { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; }
@media (min-width: 640px) { .lg { padding-top: 18px; } .lg-card { padding: 34px 32px 28px; } }
@media (max-width: 360px) { .lg-card { padding: 22px 16px 20px; border-radius: 20px; } .lg-code { letter-spacing: .3em; } }

/* cartões de tipo como link (página pública "Cadastrar meu negócio") */
a.type-card { text-decoration: none; color: inherit; }
a.type-card span { display: inline-flex; align-items: center; gap: 4px; }
/* Área do anunciante: criar conta e novo cadastro */
.lg-two { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 520px) { .lg-two { grid-template-columns: 1fr 1fr; } }
.lg-check { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: #4b5b6b; line-height: 1.45; }
.lg-check input { margin-top: 3px; flex: none; }
.nw-top { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.nw-note { background: #eef6ff; border: 1px solid #d5e6fb; color: #1b3b64; border-radius: 14px; padding: 12px 14px; font-size: 13px; line-height: 1.45; margin-bottom: 14px; }
.nw-price { display: block; margin-top: 2px; font-size: 14px; font-weight: 800; color: var(--primary-green); }
.nw-calc { margin-top: 6px; }
