#creditOptions li {
  width: 100%;
}

#creditOptions li .credit {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 14px 16px;
  gap: 4px;
}

.credit-note {
  display: block;
  font-size: 0.78rem;
  color: #6c7685;
  line-height: 1.2;
}
/* reset */
* { margin: 0px; padding: 0px; border: 0px; font-weight: normal; font-size: 100%; list-style: none; line-height: 1; outline: 0px; background: none; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; -moz-font-smoothing: antialiased; -ms-font-smoothing: antialiased; -o-font-smoothing: antialiased; font-smoothing: antialiased; }

/* root */
:root { --primary: #151515; --gray: #555; --blue: #002148; --yellow: #D6B23C; }

/* global class */
.container { display: block; width: auto; max-width: 1200px; height: auto; margin: 0px auto; }
a { text-decoration: none; transition: all .5s ease; }
body { background: #efefef; color: var(--primary); font: normal 15px 'Inter', sans-serif; overflow-x: hidden; }
input, textarea, select, button { font: normal 15px 'Inter', sans-serif; appearance: none; -webkit-appearance: none; border-radius: 0px; transition: all .3s ease; }
select, button { cursor: pointer; }
input[type=submit], button { transition: all .5s ease; }

/* flex */
.flex { display: flex; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.align-center { align-items: center; }
.flex-col { flex-direction: column; }

/* grid */
.grid { display: grid; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* SISTEMA ############################## */

/* login */
#login { display: flex; width: 100%; height: 100vh; align-items: center; }
#login section { width: 50%; height: auto; padding: 50px 0px; text-align: center; }
#login section article { display: block; width: 350px; margin: 0px auto; }
#login section article header img { display: block; width: 200px; height: auto; margin: 0px auto 20px auto; }
#login section article header h1 { display: block; font-weight: bold; font-size: 24px; color: var(--blue) }
#login section article header p { display: block; padding: 10px 0px 20px 0px; color: var(--gray); }
#login section article label { position: relative; display: block; margin-bottom: 20px; }
#login section article label i { position: absolute; top: calc(50% - 1px); left: 25px; color: var(--gray); transform: translateY(-50%); }
#login section article label input { width: 100%; height: 50px; padding: 0px 20px 0px 55px; border-radius: 50px; background-color: #fff; border: 1px solid #ccc; }
#login section article label input:focus, #login section article label input:active { border-color: var(--yellow); }
#login section article label button { width: 100%; height: 50px; border-radius: 50px; background: linear-gradient(to right, var(--blue), var(--yellow)); color: #fff; font-weight: bold; }
#login section article label button:hover { transform: scale(1.05); }
#login section article .divider { display: flex; align-items: center; margin: 25px 0px; color: #999; font-size: 13px; }
#login section article .divider::before, #login section article .divider::after { content: ''; flex: 1; height: 1px; background: #ddd; }
#login section article .divider span { padding: 0px 15px; }
#login section article .social-login { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
#login section article .social-login a { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 50px; border: 1px solid #ddd; border-radius: 50px; background: #fff; color: #333; font-weight: 500; font-size: 14px; transition: all 0.3s ease; }
#login section article .social-login a:hover { border-color: #4285F4; box-shadow: 0 2px 8px rgba(66, 133, 244, 0.2); }
#login section article .social-login a svg { flex-shrink: 0; }
#login section article p { display: block; margin-bottom: 10px; font-size: 14px; }
#login section article p a { color: var(--primary); text-decoration: underline; }
#login section p.bottom { display: block; margin-top: 20px; padding: 0px 10%; font-size: 12px; color: var(--gray); line-height: 1.2; }
#login section p.bottom a { color: var(--gray); text-decoration: underline; }
#login .side { width: calc(50% - 20px); height: calc(100vh - 20px); margin: 10px; border-radius: 60px; background-color: #000; overflow: hidden; }
#login .side img { width: 100%; height: 100%; object-fit: cover; opacity: .7; }
#login .side video { width: 100%; height: 100%; object-fit: cover; opacity: .7; }

/* sidebar */
#sidebar { position: fixed; top: 0px; left: 0px; width: 280px; height: 100%; padding: 0px 40px; background: linear-gradient(45deg, var(--blue), 92%, #07468f); transition: all .3s ease; }
#sidebar span.logo img { display: block; width: 200px; height: auto; margin: 40px auto; }
#sidebar nav strong { display: block; margin-bottom: 12px; text-transform: uppercase; color: #fff; opacity: .5; font-weight: 600; font-size: 12px; }
#sidebar nav ul { flex-direction: column; gap: 10px; margin-bottom: 30px; }
#sidebar nav ul li a { position: relative; display: block; width: 100%; height: 40px; padding-left: 10px; color: #fff; line-height: 40px; background-color: #001b3b; border: 1px solid #001b3b; border-radius: 10px; }
#sidebar nav ul li a i { width: 40px; text-align: center; }
#sidebar nav ul li a:hover { border-color: var(--yellow); color: var(--yellow); }
#sidebar nav ul li a.on { background-color: var(--yellow); border-color: var(--yellow); color: var(--blue); }

/* wrapper */
#wrapper { width: calc(100% - 280px); height: auto; margin-left: 280px; }

/* wrapper -> top */
#wrapper .top { display: flex; justify-content: space-between; align-items: center; padding: 20px 40px; background-color: #fff; }
#wrapper .top span.logo { display: none; }
#wrapper .top span.logo img { width: 140px; }
#wrapper .top .breadcrumb ul { display: flex; gap: 10px; align-items: center; }
#wrapper .top .breadcrumb ul li { color: var(--gray); font-size: 13px; }
#wrapper .top .breadcrumb ul li::after { content: '\f105'; font-family: 'Font Awesome 6 Pro'; margin-left: 10px; color: var(--gray); }
#wrapper .top .breadcrumb ul li:last-child::after { content: ''; margin: 0px; }
#wrapper .top .breadcrumb ul li a { color: var(--gray); font-size: 13px; }
#wrapper .top .breadcrumb ul li a:hover { text-decoration: underline; }
#wrapper .top .right { display: flex; align-items: center; gap: 20px; padding-right: 20px; }
#wrapper .top .right .wallet a { width: auto; padding: 10px 20px; border-radius: 30px; background-color: var(--blue); color: #fff; font-weight: 700; }
#wrapper .top .right .wallet a i { margin-right: 10px; }
#wrapper .top .right .user a { position: relative; display: flex; width: 38px; height: 38px; border-radius: 100%; border: 2px solid var(--blue); color: var(--blue); line-height: 36px; font-weight: 700; justify-content: center; align-items: center; }
#wrapper .top .right .user a img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
#wrapper .top .right .user a i { position: absolute; top: 50%; right: -20px; transform: translateY(-50%); }
#wrapper .top .right span.toggle { display: none; position: relative; width: 20px; height: 16px; margin-left: 20px; border-top: 2px solid var(--blue); cursor: pointer; transition: all .3s ease; }
#wrapper .top .right span.toggle::before { position: absolute; top: 5px; left: 0px; width: 100%; height: 2px; background-color: var(--blue); transition: all .3s ease; content: ''; }
#wrapper .top .right span.toggle::after { position: absolute; top: 12px; left: 0px; width: 100%; height: 2px; background-color: var(--blue); transition: all .3s ease; content: ''; }
#wrapper .top .right span.toggle.on { border-top: transparent; }
#wrapper .top .right span.toggle.on::before { transform: rotate(45deg); top: 7px; }
#wrapper .top .right span.toggle.on::after { transform: rotate(-45deg); top: 7px; }

/* wrapper -> content */
#wrapper section { display: flex; flex-direction: column; padding: 40px; }
#wrapper section header { margin-bottom: 40px; }
#wrapper section header h1 { font-weight: 700; font-size: 24px; }
#wrapper section header p { margin-top: 10px; color: var(--gray); font-size: 14px; }

/* dashboard */
.dashboard .grid { grid-gap: 30px; }
.dashboard .grid .item { position: relative; height: 280px; padding: 40px; border-radius: 30px; background-color: #fff; }
.dashboard .grid .item h2 { display: block; font-weight: 600; font-size: 20px; margin-bottom: 20px; }
.dashboard .grid .item p { display: block; margin-bottom: 10px; line-height: 1.4; }
.dashboard .grid .item .amount { font-weight: 800; font-size: 48px; }
.dashboard .grid .item .bottom { position: absolute; bottom: 40px; left: 40px; gap: 20px; }
.dashboard .grid .item .bottom a { display: block; width: auto; padding: 10px 20px; border-radius: 20px; background-color: var(--blue); color: #fff; }
.dashboard .grid .item.wallet { background: linear-gradient(35deg, var(--blue), 80%, #07468f); color: #fff; }
.dashboard .grid .item.wallet .bottom a { background-color: #fff; color: var(--blue); }
.dashboard .grid .item .bottom a:nth-of-type(2) { background-color: transparent; color: var(--blue); border: 1px solid var(--blue); }

/* profile */
#profile { display: flex; flex-direction: column; align-items: center; gap: 20px; }
#profile .icon { width: 100px; height: 100px; border-radius: 100%; background: linear-gradient(35deg, var(--blue), 80%, #07468f); color: #fff; font-size: 36px; font-weight: 700; display: flex; justify-content: center; align-items: center;  }
#profile h1 { font-weight: 700; font-size: 20px; color: var(--blue); }
#profile .side { display: flex; margin-bottom: 20px; align-items: center; gap: 10px; }
#profile .side span { padding: 5px 10px; border: 1px solid var(--blue); border-radius: 30px; font-weight: 500; font-size: 14px; color: var(--blue); }
#profile strong { font-weight: bold; color: var(--gray); text-align: left; }
#profile form fieldset { display: grid; width: 600px; height: auto; grid-template-columns: 400px 1fr; grid-gap: 10px; }
#profile form fieldset input { width: 400px; height: 50px; padding: 0px 20px; border-radius: 10px; border: 1px solid var(--gray); }
#profile form fieldset button { width: 100%; height: 50px; background: linear-gradient(35deg, var(--blue), 80%, #07468f); color: #fff; text-align: center; border-radius: 10px; }

/* consulta */
#consulta { display: flex; padding-top: 40px; justify-content: center; }
#consulta fieldset { width: 500px; gap: 20px; flex-direction: column; text-align: center; }
#consulta fieldset label { color: var(--blue); font-weight: bold; font-size: 14px; text-transform: uppercase; }
#consulta fieldset .radio-group { display: flex; flex-direction: column; gap: 8px; text-align: left; }
#consulta fieldset .radio-option { display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 0px; border-radius: 10px; cursor: pointer; transition: all 0.3s ease; background: #fff; }
#consulta fieldset .radio-option input[type="radio"] { margin-top: 2px; width: 20px; height: 20px; cursor: pointer; accent-color: var(--blue); }
#consulta fieldset .radio-option input[type="radio"]:checked ~ .radio-label strong,
#consulta fieldset .radio-option input[type="radio"]:checked ~ .radio-label small { color: #fff; }
#consulta .radio-option.pacote-2 {
  display: none !important;
}

.pacote-2-only {
  display: none !important;
}
#consulta fieldset .radio-option:has(input[type="radio"]:checked) { background-color: var(--blue); }
#consulta fieldset .radio-label { display: flex; flex-direction: column; gap: 4px; flex: 1; }
#consulta fieldset .radio-label strong { font-weight: 600; font-size: 15px; color: var(--primary); }
#consulta fieldset .radio-label small { font-size: 13px; color: var(--gray); }
#consulta fieldset input.placa { width: 100%; height: 100px; border-radius: 20px; border: 1px solid var(--gray); font-size: 36px; text-align: center; color: var(--blue); font-weight: 700; text-transform: uppercase; }
#consulta fieldset input.placa:active,
#consulta fieldset input.placa:focus { border: 1px solid var(--blue); box-shadow: 0 0 0 3px rgba(0, 33, 72, 0.1), 0 14px 36px rgba(0, 33, 72, 0.15); transform: translateY(-1px); }
#consulta fieldset button { width: 100%; height: 50px; background: linear-gradient(35deg, var(--blue), 80%, #07468f); color: #fff; text-align: center; border-radius: 50px; }
#consulta p.price-info { margin-top: 10px; color: var(--gray); font-size: 14px; }

/* consulta -> resultado */
#resultado { display: none; }
#resultado .card { background: #fff; border-radius: 16px; padding: 16px 20px; box-shadow: 0 10px 20px rgba(0,0,0,0.06); border: 1px solid rgba(0,0,0,0.06); }
#resultado .card + .card { margin-top: 16px; }
#resultado .card h3 { margin: 0 0 8px; font-size: 16px; font-weight: 700; color: var(--blue); }
#resultado .card p, #resultado .card div { line-height: 1.4; }
#resultado .item { padding: 12px; border: 1px solid #eaeaea; border-radius: 10px; background: #fafafa; }
#resultado .item + .item { margin-top: 8px; }
.loading-spinner { display: flex; align-items: center; gap: 8px; color: var(--blue); font-weight: 600; margin: 10px 0; }
.loading-spinner i { font-size: 18px; }
.placeholder-card { opacity: 0.9; }
.placeholder-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.skeleton { position: relative; min-height: 20px; border-radius: 8px; background: #f1f5f9; overflow: hidden; }
.skeleton::after { content: ''; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.8), rgba(255,255,255,0)); animation: skeleton-shine 1.2s ease-in-out infinite; }
@keyframes skeleton-shine { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
.veiculo-hero.placeholder { background: linear-gradient(35deg, var(--blue), 80%, #07468f); border-radius: 16px; padding: 24px; color: #fff; box-shadow: 0 10px 30px rgba(0,33,72,0.25); }
.veiculo-hero.placeholder .placa-destaque { background: #fff; color: #000; }
.veiculo-hero.placeholder .veiculo-titulo,
.veiculo-hero.placeholder .veiculo-subtitulo,
.veiculo-hero.placeholder .veiculo-loading { color: #fff; }
.veiculo-loading { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-weight: 600; color: var(--blue); }
.veiculo-loading i { font-size: 18px; }
.card.loading { border-style: dashed; }
.skeleton-list { display: flex; flex-direction: column; gap: 6px; margin: 12px 0; }
.skeleton-line { display: block; height: 10px; border-radius: 999px; background: #f1f5f9; position: relative; overflow: hidden; }
.skeleton-line::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.9), rgba(255,255,255,0)); transform: translateX(-100%); animation: skeleton-shine 1.1s ease-in-out infinite; }
.info-note { display: block; margin-top: 10px; font-size: 12px; color: var(--gray); }

/* wallet page */
.wallet-page .grid .item { height: auto; }
.wallet-page .grid .item .amount { margin-bottom: 30px; }
.wallet-page .grid .item.lastest nav ul { grid-template-columns: repeat(3, 1fr); grid-gap: 5px; }
.wallet-page .grid .item.lastest nav ul li a { display: block; width: 100%; height: auto; padding: 10px 20px; color: var(--blue); border: 1px solid var(--blue); border-radius: 10px; }
.wallet-page .grid .item.lastest nav ul li a strong { display: block; font-weight: bold; font-size: 20px; }
.wallet-page .grid .item.lastest nav ul li a p { margin-bottom: 0px; color: var(--gray); transition: all .3s ease; }
.wallet-page .grid .item.lastest nav ul li a:hover { background-color: var(--blue); color: #fff; }
.wallet-page .grid .item.lastest nav ul li a:hover p { color: #fff; }
.wallet-page .grid .item .bottom { bottom: auto; left: auto; right: 30px; top: 30px; }

/* wallet page: button variant (credit options) */
.wallet-page .grid .item.lastest nav ul li button.credit { display: flex; align-items: center; justify-content: center; width: 100%; height: 70px; padding: 14px 20px; color: var(--blue); border: 1px solid var(--blue); border-radius: 10px; background: #fff; text-align: center; }
.wallet-page .grid .item.lastest nav ul li button.credit strong { display: block; font-weight: bold; font-size: 20px; }
.wallet-page .grid .item.lastest nav ul li button.credit:hover { background-color: var(--blue); color: #fff; }
.wallet-page .grid .item.lastest nav ul li button.credit .credit-info { display: inline-flex; align-items: center; justify-content: center; margin-left: 8px; color: var(--blue); font-size: 16px; border-radius: 50%; width: 28px; height: 28px; border: 1px solid transparent; transition: color 0.2s ease, border-color 0.2s ease; }
.wallet-page .grid .item.lastest nav ul li button.credit:hover .credit-info { color: #fff; }
.credit-info:focus-visible { outline: 2px solid #009ee3; outline-offset: 2px; }
.credit-tooltip { position: absolute; padding: 8px 10px; background: #fff; color: var(--blue); border-radius: 6px; font-size: 12px; line-height: 1.4; pointer-events: none; z-index: 99999; box-shadow: 0 6px 18px rgba(0,0,0,0.12); border: 1px solid rgba(0, 33, 72, 0.2); white-space: nowrap; }
.credit-tooltip::after { content: ''; position: absolute; top: 50%; left: -5px; width: 10px; height: 10px; background: #fff; border: 1px solid rgba(0, 33, 72, 0.2); border-right: none; border-bottom: none; transform: translateY(-50%) rotate(45deg); box-shadow: -2px -2px 5px rgba(0,0,0,0.04); }
.credit-tooltip.credit-tooltip--left::after { left: auto; right: -5px; border-right: 1px solid rgba(0, 33, 72, 0.2); border-bottom: 1px solid rgba(0, 33, 72, 0.2); border-left: none; border-top: none; box-shadow: 2px 2px 5px rgba(0,0,0,0.04); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* generic animation helper */
.fade-slide-in { animation: fadeSlideIn .3s ease both; }
@keyframes fadeSlideIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* lightbox */
.lightbox-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 9999; display: none; align-items: center; justify-content: center; padding: 20px; overflow-y: auto; }
.lightbox-overlay.is-open { display: flex !important; }
.lightbox-dialog { width: 100%; max-width: 420px; background: #fff; border-radius: 16px; padding: 18px 20px; box-shadow: 0 20px 40px rgba(0,0,0,0.25); animation: fadeSlideIn .2s ease both; max-height: 90vh; overflow-y: auto; }
.lightbox-dialog.payment-form { max-width: 500px; }
.lightbox-dialog h3 { margin: 0 0 8px; font-size: 18px; font-weight: 700; color: var(--blue); }
.lightbox-dialog .actions { display: flex; gap: 10px; margin-top: 12px; }
.lightbox-dialog .actions button { flex: 1; height: 46px; border-radius: 10px; }
.btn-primary { background: linear-gradient(35deg, var(--blue), 80%, #07468f); color: #fff; font-weight: 700; border: none; cursor: pointer; }
.btn-outline { background: #fff; color: var(--blue); border: 1px solid var(--blue); font-weight: 600; cursor: pointer; }

/* payment form */
#paymentForm { margin-top: 16px; }
#paymentForm .form-group { margin-bottom: 14px; }
#paymentForm .form-group label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 13px; color: var(--blue); }
#paymentForm .form-group input, #paymentForm .form-group select { width: 100%; height: 44px; padding: 0 12px; border: 1px solid #ccc; border-radius: 8px; font-size: 15px; }
#paymentForm .form-group input:focus, #paymentForm .form-group select:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(0, 33, 72, 0.1); }
#paymentForm .form-row { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 10px; }
#paymentForm .payment-msg { padding: 10px 12px; border-radius: 8px; margin-bottom: 12px; display: none; }
#paymentForm .payment-msg.error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
#paymentForm .payment-msg.success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
#paymentForm .payment-msg.info { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }

/* success box for lightbox */
.success-box { text-align: center; }
.success-box .check { display: block; font-size: 64px; line-height: 1; margin: 4px auto 8px; color: #16a34a; }

/* saldo alert banner */
#saldo-alert { display: flex; margin-bottom: 12px; opacity: 0; height: 0; overflow: hidden; transition: opacity 0.3s ease, height 0.3s ease; }
#saldo-alert.show { opacity: 1; height: auto; }
#saldo-alert .alert-box { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; padding: 10px 12px; border-radius: 10px; flex: 1; }
#saldo-alert .alert-box a { color: #7f1d1d; text-decoration: underline; }

/* error messages */
#consulta p.error-msg { color: var(--gray); line-height: 1.4; }
#consulta p.error-msg a { color: var(--gray); text-decoration: underline; }

/* nova consulta button wrapper */
.nova-consulta-wrap { margin-top: 16px; text-align: center; }
#novaConsultaBtn { width: 100%; max-width: 300px; height: 50px; background: linear-gradient(35deg, var(--blue), 80%, #07468f); color: #fff; font-weight: 600; text-align: center; border-radius: 50px; border: none; cursor: pointer; }

/* confirm recarga (old inline card) */
#confirmRecarga { display: none; margin-top: 16px; }
#confirmRecarga .card { background: #fff; border-radius: 12px; padding: 12px 14px; box-shadow: 0 6px 14px rgba(0,0,0,0.06); border: 1px solid rgba(0,0,0,0.06); }
#confirmRecarga .card p { margin-bottom: 10px; }
#confirmRecarga .flex { gap: 10px; }
#btnConfirmar { flex: 1; height: 44px; border-radius: 8px; background: linear-gradient(35deg, var(--blue), 80%, #07468f); color: #fff; font-weight: 600; }
#btnCancelar { flex: 1; height: 44px; border-radius: 8px; border: 1px solid var(--blue); color: var(--blue); background: #fff; }
#recargaMsg { margin-top: 10px; color: var(--gray); }

/* lightbox selection text */
#lbSelecionado { margin: 6px 0 16px; line-height: 1.4; }
#lbSelecionado strong { font-size: 1.8em; display: block; margin-top: 6px; }
#lbMsg { margin-top: 10px; color: var(--gray); }
#lbFechar { margin-top: 10px; width: 100%; height: 46px; border-radius: 10px; }

/* historico detalhe */
.historico-detalhe .card { background: #fff; border-radius: 16px; padding: 16px 20px; box-shadow: 0 10px 20px rgba(0,0,0,0.06); border: 1px solid rgba(0,0,0,0.06); }
.historico-detalhe .card h3 { margin: 0 0 8px; }
.historico-detalhe .resumo-grid { margin-top: 12px; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 8px; }
.historico-detalhe .json-grid { grid-template-columns: 1fr; gap: 16px; }
.historico-detalhe pre { white-space: pre-wrap; background: #0f172a; color: #e2e8f0; padding: 12px; border-radius: 10px; overflow: auto; }
.historico-detalhe .actions-wrap { text-align: center; margin-top: 4px; }
.historico-detalhe .actions-wrap a { padding: 10px 18px; border-radius: 50px; }
.historico-detalhe .actions-wrap a:first-child { margin-right: 10px; border: 1px solid var(--blue); color: var(--blue); }
.historico-detalhe .actions-wrap a:last-child { background: linear-gradient(35deg, var(--blue), 80%, #07468f); color: #fff; }

/* profile messages */
.profile-msg-success { color: green; margin-bottom: 10px; }
.profile-msg-error { color: red; }

/* utility: screen reader only */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* historico list */
.historico-list { margin-top: 30px; }
.historico-list .card { background: #fff; border-radius: 16px; padding: 16px 20px; }
.historico-list .card h3 { margin: 0 0 16px 0; font-size: 18px; font-weight: 700; color: var(--blue); }
.historico-list .card a { color: var(--primary); text-decoration: underline; }
.historico-list .card a.btn-ver-todos { color: #fff; text-decoration: none; }
.historico-list .grid { grid-template-columns: 1fr; gap: 10px; }
.historico-list .item { display: flex; align-items: center; justify-content: space-between; padding: 12px; border: 1px solid #eaeaea; border-radius: 10px; background: #fafafa; }
.historico-list .item-info p { margin: 0 0 6px 0; }
.historico-list .item-info p:last-child { margin: 0; color: #666; font-size: 13px; }
.historico-list .item-actions { display: flex; gap: 16px; align-items: center; }
.historico-list .item-actions a { padding: 8px 12px; border-radius: 8px; background: linear-gradient(35deg, var(--blue), 80%, #07468f); color: #fff; text-decoration: none; }
.historico-actions { margin-top: 16px; text-align: center; }
.historico-actions .btn-ver-todos { display: inline-block; padding: 10px 24px; border-radius: 50px; background: linear-gradient(35deg, var(--blue), 80%, #07468f); color: #fff; font-weight: 600; }

/* auth message styles */
.auth-msg-success { color: green; }
.auth-msg-error { color: red; }

/* Redesigned Results Sections - Vehicle Info */
.veiculo-hero { text-align: center; padding: 40px 20px; background: linear-gradient(135deg, var(--blue) 0%, #07468f 100%); border-radius: 12px; margin-bottom: 30px; box-shadow: 0 8px 24px rgba(102, 126, 234, 0.25); }
.placa-destaque { display: inline-block; background: #fff; color: #333; font-size: 42px; font-weight: 700; letter-spacing: 8px; padding: 16px 40px; border-radius: 8px; font-family: 'Courier New', monospace; margin-bottom: 20px; }
.veiculo-titulo { font-size: 28px; font-weight: 600; color: #fff; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 1px; }
.veiculo-subtitulo { font-size: 18px; color: rgba(255,255,255,0.9); font-weight: 400; }
.veiculo-detalhes { margin-bottom: 30px; }
.veiculo-detalhes h3 { margin-bottom: 20px; color: #333; font-size: 20px; }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.info-item { display: flex; flex-direction: column; padding: 14px 18px; background: #f8f9fa; border-radius: 8px; border-left: 4px solid var(--yellow); transition: all 0.2s ease; }
.info-item:hover { background: #e9ecef; transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0,0,0,0.08); }
.info-item .label { font-size: 12px; text-transform: uppercase; color: #6c757d; font-weight: 600; letter-spacing: 0.5px; margin-bottom: 6px; }
.info-item .value { font-size: 16px; color: #212529; font-weight: 500; }

/* RENAINF Infractions Section */
.infracoes-card { margin-bottom: 30px; }
.secao-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid #e9ecef; }
.secao-header h3 { margin: 0; font-size: 22px; color: #333; }
.status-badge { display: inline-block; padding: 6px 16px; border-radius: 20px; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.badge-success { background: #d4edda; color: #155724; }
.badge-danger { background: #f8d7da; color: #721c24; }
.badge-warning { background: #fff3cd; color: #856404; }
.infracoes-lista { display: flex; flex-direction: column; gap: 16px; }
.infracao-item { padding: 18px; background: #f8f9fa; border-radius: 10px; border-left: 4px solid #dc3545; transition: all 0.2s ease; }
.infracao-item:hover { background: #e9ecef; transform: translateX(4px); box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.infracao-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.infracao-codigo { font-size: 16px; font-weight: 700; color: #dc3545; font-family: 'Courier New', monospace; }
.infracao-valor { font-size: 20px; font-weight: 700; color: #333; }
.infracao-detalhes { display: flex; flex-direction: column; gap: 8px; }
.info-line { font-size: 14px; color: #495057; line-height: 1.6; }
.info-line strong { color: #212529; margin-right: 4px; }
.sem-dados { text-align: center; padding: 30px; color: #6c757d; font-size: 16px; font-style: italic; }

/* IPVA and Roubo/Furto Sections */
.ipva-card, .roubo-card { margin-bottom: 30px; }
.debito-valor { text-align: center; font-size: 48px; font-weight: 700; color: #dc3545; padding: 30px; background: linear-gradient(135deg, #fff5f5 0%, #ffe0e0 100%); border-radius: 10px; margin-top: 10px; }
.roubo-lista { display: flex; flex-direction: column; gap: 16px; margin-top: 10px; }
.roubo-item { padding: 18px; background: #fff3cd; border-radius: 10px; border-left: 4px solid #ffc107; transition: all 0.2s ease; }
.roubo-item:hover { background: #ffe8a1; transform: translateX(4px); box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3); }
.roubo-tipo { font-size: 16px; font-weight: 700; color: #856404; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.5px; }
.roubo-detalhes { display: flex; flex-direction: column; gap: 6px; }
.protocolo-processamento { margin-bottom: 30px; }
.processamento-aviso { text-align: center; padding: 40px; color: #6c757d; }
.processamento-aviso i { font-size: 48px; color: #667eea; margin-bottom: 16px; }
.processamento-aviso p { font-size: 18px; font-weight: 600; margin-bottom: 8px; color: #333; }
.processamento-aviso small { font-size: 14px; color: #6c757d; }

/* historico-detalhe buttons */
.nova-consulta-wrap { display: flex; gap: 12px; justify-content: center; align-items: center; margin-top: 30px; flex-wrap: wrap; }
.btn-voltar { display: inline-block; padding: 14px 32px; background: #fff; color: var(--blue); border: 2px solid var(--blue); border-radius: 50px; font-weight: 600; text-decoration: none; transition: all 0.3s ease; }
.btn-voltar:hover { background: var(--blue); color: #fff; }
.nova-consulta-wrap #novaConsultaBtn { display: inline-block; height: auto; padding: 14px 32px; background: linear-gradient(35deg, var(--blue), 80%, #07468f); color: #fff; border-radius: 50px; font-weight: 600; text-decoration: none; border: none; cursor: pointer; }

/* Checkout Transparente Modal */
.payment-tab { transition: all 0.3s ease; }
.payment-tab.active { color: #009ee3 !important; border-bottom-color: #009ee3 !important; }
.payment-tab:hover { color: #009ee3; }

/* SITE  ############################## */

/* top */
#top { position: fixed; z-index: 20; top: 60px; left: 60px; width: calc(100% - 120px); display: flex; justify-content: space-between; align-items: center; transition: all .3s ease; }
#top .left { display: flex; align-items: center; gap: 70px; width: 50%; justify-content: space-between; }
#top .left span.logo { width: 210px; }
#top .left span.logo img { width: 100%; }
#top .left nav { width: calc(100% - 210px); padding-right: 70px; }
#top .left nav ul { display: flex; align-items: center; gap: 20px; justify-content: space-between; width: 100%; }
#top .left nav ul li a { font-weight: 500; color: var(--blue); }
#top span.dash a { padding: 15px 5px 15px 20px; background-color: #fff; border-radius: 80px; font-weight: bold; color: var(--blue); }
#top span.dash a i { width: 40px; height: 40px; margin-left: 10px; background-color: var(--blue); color: #fff; text-align: center; line-height: 40px; border-radius: 100%; transition: all .3s ease; }
#top span.dash a:hover { background-color: var(--blue); color: #fff; }
#top span.dash a:hover i { background-color: #fff; color: var(--blue); }

  /* top -> on */
  #top.on { top: 0px; left: 0px; width: 100%; padding: 20px; background-color: rgba(255,255,255,.5); backdrop-filter: blur(10px); }
  #top.on span.dash a { background-color: var(--blue); color: #fff; }
  #top.on span.dash a i { background-color: #fff; color: var(--blue); }

/* feat */
#feat { width: calc(100% - 40px); height: 90vh; margin: 20px; padding: 20px; display: flex; align-items: center; background-color: #E2E2E2; border-radius: 40px; }
#feat section { position: relative; z-index: 2; width: 50%; padding-left: 100px; }
#feat section h1 { font-weight: 900; font-size: 54px; color: var(--blue); line-height: 0.9; }
#feat section h1 strong { position: relative; font-weight: 900; line-height: 0.9; background: linear-gradient(to bottom, transparent 60%, #E9D894 60%); box-decoration-break: clone; }
#feat section p { margin-top: 20px; font-size: 18px; line-height: 1.2; color: var(--blue); }
#feat section form fieldset { display: flex; align-items: center; width: 100%; margin: 40px 0px 70px 0px; padding-right: 60px; gap: 10px; }
#feat section form fieldset label { width: 70%; }
#feat section form fieldset label:last-of-type { width: 30%; }
#feat section form fieldset label input { width: 100%; height: 62px; font-weight: 500; }
#feat section form fieldset label:first-of-type input { width: 100%; padding: 0px 20px; background-color: #fff; border-radius: 10px; border: 2px solid var(--blue); text-transform: uppercase; }
#feat section form fieldset label:first-of-type ::placeholder { text-transform: capitalize; }
#feat section form fieldset label:last-of-type input { background-color: var(--blue); color: #fff; text-align: center; border-radius: 10px; cursor: pointer; }
#feat section form fieldset label:last-of-type input:hover { background-color: var(--yellow); color: var(--blue); }
#feat section footer { display: flex; align-items: center; gap: 10px; width: 390px; }
#feat section footer figure { width: 48px; height: 48px; border-radius: 100%; overflow: hidden; }
#feat section footer figure img { width: 100%; height: 100%; object-fit: cover; }
#feat section footer span { width: calc(100% - 40px); padding-left: 12px; }
#feat section footer span blockquote { color: var(--blue); line-height: 1.2; }
#feat section footer span strong { display: block; margin-top: 5px; font-size: 13px; color: var(--blue); }
#feat section footer span strong b { font-weight: bold; }
#feat figure { position: relative; width: 50%; height: 100%; }
#feat figure img.banner { width: 100%; height: 100%; object-fit: cover; border-radius: 30px; }
#feat figure img.footer { position: absolute; bottom: 30px; right: 30px; }
#feat figure span { position: absolute; z-index: 10; top: 35%; left: -50px; width: 220px; height: auto; padding: 20px 20px 20px 60px; border-radius: 20px; background-color: rgba(255,255,255,.5); backdrop-filter: blur(10px); transform: translateY(-50%); font-weight: 500; font-size: 14px; color: var(--blue); line-height: 1.2; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
#feat figure span i { position: absolute; top: 50%; left: 20px; transform: translateY(-50%); font-size: 20px; }

/* como funciona */
#como-funciona { margin: 20px 20px -100px 20px; padding: 80px 0px 180px 0px; background: linear-gradient(45deg, #002148, 90%, #0050AE); border-radius: 40px; } 
#como-funciona header { display: flex; margin-bottom: 80px; align-items: center; flex-direction: column; gap: 20px; }
#como-funciona header h2 { font-weight: 800; color: #fff; font-size: 36px; line-height: 1.2; }
#como-funciona header p { color: #fff; font-size: 20px; }
#como-funciona section { display: grid; grid-template-columns: repeat(3, 1fr); grid-gap: 80px; }
#como-funciona section article { position: relative; display: flex; flex-direction: column; gap: 15px; padding-left: 80px; }
#como-funciona section article img { position: absolute; top: 0px; left: 0px; }
#como-funciona section article h3 { font-weight: 800; color: #fff; font-size: 24px; line-height: 1.2; }
#como-funciona section article p { font-size: 16px; color: #fff; }

/* easy */
#easy { position: relative; z-index: 2; }
#easy .container { display: flex; align-self: flex-start; }
#easy figure { width: 50%; }
#easy figure img { width: 100%; height: auto; border-radius: 40px; }
#easy article { width: 50%; padding: 160px 0px 0px 80px; }
#easy article h2 { font-weight: 900; font-size: 54px; line-height: 0.9; color: var(--blue); }
#easy article p { margin: 20px 0px; font-size: 18px; line-height: 1.4; color: var(--blue); }
#easy article span a { display: inline-block; width: auto; padding: 25px 30px; border-radius: 10px; background-color: var(--blue); color: #fff; font-weight: 600; }
#easy article span a:hover { background-color: var(--yellow); color: var(--blue); }

/* pacotes */
#pacotes { margin: 100px 0px; }
#pacotes header { display: flex; margin-bottom: 80px; align-items: center; flex-direction: column; gap: 20px; }
#pacotes header h2 { font-weight: 800; color: var(--blue); font-size: 36px; line-height: 1.2; }
#pacotes header p { color: var(--blue); font-size: 20px; }
#pacotes section .pack-body { border: 1px solid var(--blue); border-radius: 40px; }
#pacotes section .line { display: grid; grid-template-columns: 1fr 30% 5%; grid-gap: 15px; }
#pacotes section .line.body { padding: 20px 0px; border-bottom: 1px solid #ccc; }
#pacotes section .line.body:last-of-type { border-bottom: none; }
#pacotes section .line span { text-align: center; font-size: 16px; color: var(--blue); }
#pacotes section .line span:first-of-type { text-align: left; padding-left: 40px; }
#pacotes section .line.head span { padding: 20px 0px; font-weight: bold; border: 1px solid var(--blue); border-bottom: none; border-radius: 30px 30px 0px 0px; }
#pacotes section .line.head span:first-of-type { border: none; }
#pacotes section .line.body b { display: none; }
#pacotes section .no { opacity: .2; }

/* faq */
#faq header { display: flex; margin-bottom: 80px; align-items: center; flex-direction: column; gap: 20px; }
#faq header h2 { font-weight: 800; color: var(--blue); font-size: 36px; line-height: 1.2; }
#faq header p { color: var(--blue); font-size: 20px; }
#faq section article { position: relative; display: flex; flex-direction: column; margin-bottom: 20px; padding: 30px 60px 30px 30px; border: 1px solid var(--yellow); border-radius: 40px; cursor: pointer; transition: all .3s ease; }
#faq section article:hover,
#faq section article.on { border-color: var(--blue); }
#faq section article strong { font-weight: bold; font-size: 20px; line-height: 1.2; color: var(--blue); }
#faq section article p { display: none; margin-top: 20px; line-height: 1.6; font-size: 16px; color: var(--blue); }
#faq section article p a { font-weight: 600; color: var(--blue); text-decoration: underline; }
#faq section article.on p { display: block; }
#faq section article::after { position: absolute; top: 30px; right: 30px; font-family: 'Font Awesome 6 Pro'; font-size: 20px; content: '\f063'; transition: all .3s ease; color: var(--yellow); }
#faq section article.on::after { transform: rotate(180deg); color: var(--blue); }

/* footer */
#footer { display: flex; align-items: center; justify-content: space-between; margin: 100px 0px; padding: 0px 20px; }
#footer strong { font-size: 12px; color: var(--blue); }
#footer nav ul { display: flex; align-items: center; gap: 20px; }
#footer nav ul li a { font-size: 12px; text-decoration: underline; color: var(--blue); }

/* ############################## RESPONSIVE */

@media (max-width: 1200px){

  /* feat */
  #feat section { width: 60%; padding-left: 50px; }
  #feat section form fieldset { padding-right: 20px; }
  #feat figure { width: 40%; }

}

@media (max-width: 1100px){

  /* sidebar */
  #sidebar { z-index: 3000; left: -280px; box-shadow: 0px 50px 50px rgba(0,0,0,.2); }
  #sidebar.on { left: 0px; }
  #sidebar nav strong:nth-of-type(3),
  #sidebar nav ul:nth-of-type(3) { display: none; }
  #wrapper .top .right span.toggle { display: block; }

  /* wrapper */
  #wrapper { width: 100%; margin-left: 0px; }
  
  /* top */
  #wrapper .top .right { padding-right: 0px; }
  #wrapper .top span.logo { display: block; }
  #wrapper .top .breadcrumb { display: none; }

  /* grid */
  .grid-2 { grid-template-columns: 1fr; }

  /* como funciona */
  #como-funciona section { padding: 0px 50px; grid-template-columns: 1fr 1fr; }

}

@media (max-width: 950px){

  /* top */
  #top .left nav { display: none; }
  
  /* feat */
  #feat { height: auto; flex-direction: column; }
  #feat section { width: 100%; text-align: center; padding: 160px 0px 0px 0px; }
  #feat section h1 { font-size: 44px; }
  #feat section p { font-size: 16px; }
  #feat figure { display: none; }
  #feat section footer { display: none; }
  #feat section form fieldset { margin-bottom: 20px; padding: 0px; }

  /* easy */
  #easy .container { flex-direction: column; padding: 0px 40px; }
  #easy figure { width: 100%; }
  #easy article { width: 100%; padding: 30px 0px 0px 0px; text-align: center; }
  
}

@media (max-width: 800px){

  /* form */
  #login { align-items: flex-start; }
  #login section { width: 100%; }
  #login .side { display: none; }

  /* consulta */
  .info-grid { grid-template-columns: repeat(2, 1fr); }

  /* pacotes */
  #pacotes { padding: 0px 20px; }
  #pacotes header h2 { font-size: 20px; }
  #pacotes header p { font-size: 16px; }
  #pacotes section .line.head { display: none; }
  #pacotes section .line.body { grid-template-columns: 1fr; }
  #pacotes section .line span { width: 100%; padding: 0px !important; text-align: center !important; }
  #pacotes section .line.body b { display: inline-block; font-size: 14px; }

  /* easy */
  #easy article h2 { font-size: 36px; }

  /* faq */
  #faq header h2 { font-size: 20px; }
  #faq header p { font-size: 16px; }
  #faq section article strong { font-size: 16px; }

  /* como funciona */
  #como-funciona { padding: 40px 40px 140px 40px; }
  #como-funciona header h2 { font-size: 24px; }
  #como-funciona header p { font-size: 16px; }
  #como-funciona section { padding: 0px; grid-template-columns: 1fr; }
  #como-funciona section article h3 { font-size: 20px; }

}

@media (max-width: 600px){

  /* global */
  html, body { overflow-x: hidden; }
  body { font-size: 13px; }

  /* top */
  #wrapper .top .right .wallet { display: none; }

  /* feat */
  #feat section form fieldset { flex-direction: column; }
  #feat section form fieldset label { width: 100% !important; }
  
  /* dashboard */
  .dashboard .grid .item h2 { font-size: 16px; }
  .dashboard .grid .item .amount { font-size: 30px; }

  /* consulta */
  .info-grid { grid-template-columns: 1fr; }
  .placa-destaque { font-size: 30px; }
  .veiculo-titulo { font-size: 16px; }
  .infracao-header { flex-direction: column; align-items: flex-start; gap: 10px; }

  /* carteira */
  .wallet-page .grid .item.lastest nav ul { grid-template-columns: repeat(2, 1fr); }
  .wallet-page .grid .item.lastest nav ul li button.credit strong { font-size: 16px; }

  /* profile */
  #profile form fieldset { width: 100%; grid-template-columns: 1fr; }

  /* footer */
  #footer { flex-direction: column; gap: 40px; }

}

@media (max-width: 500px){

  /* wrapper */
  #wrapper section { padding: 20px; }

  /* dashboard */
  .dashboard .grid .item { padding: 40px 20px; }
  .wallet-page .grid .item.lastest nav ul { grid-template-columns: 1fr; }

  /* consulta */
  #consulta fieldset { width: 100%; }

}