:root {
  /*--background: url();*/
  --button_color: #ed6939;
  --header_color: #3fba64;
  --primary_color: #3fba64;
  --second_color: #ed6939;
  --third_color: #1b6e34;
}

/* Error/warning place — remove padding herdado do col-xs e adiciona espaçamento inferior */
#error-place:not(:empty) {
  margin: 0 -15px 24px;
}

body:has(div.confirmation-page) {
  background: var(--primary_color);
}

.wrapper-steps:has(div.confirmation-page) {
  border-radius: 15px;
}

.row {
  padding: 0 4%;
}

.wrapper-steps:has(div.confirmation-page) .nav-tabs {
  display: none;
}

body:has(div.confirmation-page) .content-inside.row {
  display: none;
}

.wrapper-steps:has(div.error-page) .nav-tabs {
  display: none;
}

body:has(div.error-page) .content-inside.row {
  display: none;
}

body:has(div.confirmation-page) .vnd-checkout-footer-message p {
  color: #fff;
}

body.green {
  background: #3fba64;
}

.loader-box {
  align-items: center;
  background-color: var(--primary_color);
  display: none;
  height: 100%;
  justify-content: center;
  margin: 0;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
}

.loader-box.active {
  display: flex;
}

.loader {
  width: 300px;
  text-align: center;
}

.loader-wheel {
  animation: spin 1s infinite linear;
  border: 4px solid rgba(30, 30, 30, 0.5);
  border-left: 4px solid #fff;
  border-radius: 50%;
  height: 50px;
  margin: 10px auto;
  width: 50px;
}

.loader-text {
  color: #fff;
  font-family: arial, sans-serif;
}

.loader-text:after {
  content: "Carregando";
  animation: load 20s linear infinite;
}

.header.fixed + .container {
  padding-top: 70px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes load {
  0% {
    content: "Carregando...";
  }
  33% {
    content: "Carregando...";
  }
  67% {
    content: "Carregando...";
  }
  100% {
    content: "Carregando...";
  }
}

.btn.btn-orange {
  background: var(--second_color);
  border-color: var(--second_color);
}

.btn.btn-green {
  background: var(--primary_color);
  border-color: var(--primary_color);
}

.btn.btn-green:hover {
  background: var(--third_color);
  border-color: var(--third_color);
}

.font-weight-bold {
  font-weight: bold;
}

.font-size-1-2 {
  font-size: 1.2em;
}

.font-size-1-5 {
  font-size: 1.5em;
}

.font-size-2 {
  font-size: 2em;
}

.color-orange {
  color: var(--second_color);
}

.border-rounded-15 {
  border-radius: 15px;
  padding: 15px 30px;
}

.pd-3 {
  padding: 3em;
}

.pd-1-2 {
  padding: 1.2em;
}

.pt-3 {
  padding-top: 3em;
}

.pt-2 {
  padding-top: 2em;
}

.pt-1 {
  padding-top: 1em;
}

.mb-3 {
  margin-bottom: 3em;
}

svg.e-font-icon-svg {
  width: 1.7em;
  height: 1.7em;
  vertical-align: middle;
  fill: #000;
}

svg.e-font-icon-svg.e-fab-whatsapp {
  fill: #fff;
}

.header {
  width: 100%;
  height: auto;
  display: inline-block;
  background-color: #083242;
}
.header.fixed {
  position: fixed;
  z-index: 999999;
}

.header-logo,
.header-price {
  margin: 0;
  line-height: 40px;
  color: #fff;
  padding: 10px 0;
}
.header-price {
  text-align: right;
  color: #ff914d!important;;
}

.header-logo img,
.header-price span {
  vertical-align: middle;
  margin: 10px;
  max-height: 20px;
  object-fit: contain !important;
  max-width: fit-content !important;
}

.header .header-whatsapp {
  float: right;
  font-size: 16px;
  color: #fff;
}

.header .header-whatsapp svg {
  width: 1.7em;
  height: 1.7em;
  vertical-align: middle;
  fill: #fff;
  margin: 0 2px 0 8px;
}

.step_1-footer {
}

.wrapper-steps h1 {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0;
  color: #000;
  text-transform: uppercase;
  margin: 8px 0;
  padding: 0;
  text-align: center;
}
.container .nav-tabs {
  width: 100%;
  height: 69px;
  line-height: 69px;
  border-bottom: 1px solid #e8e8e8;
  margin: 0 auto 15px;

  .tabs {
    margin: 0;
    padding: 0;
    text-align: center;
    display: flex;
  }

  .tabs .tab {
    padding: 0;
    position: relative;
    margin: 0;
    width: 25%;
    max-width: 100%;
  }

  .tabs .tab a {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0;
    color: #afafaf;
    text-transform: uppercase;
    text-decoration: none;
  }

  .tab.active a {
    color: var(--second_color);
  }

  .line-indicator {
    display: block;
    width: 100%;
    height: 1px;
    position: absolute;
    bottom: 2px;
    background-color: #e8e8e8;
  }

  .tabs .tab.active .line-indicator {
    background-color: var(--second_color);
  }

  .tabs .vnd-hide-small {
    margin-left: 10px;
  }
}

.tab-content {
  padding: 15px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

.cartao-content {
  padding: 0 18px;

  .form-half {
    display: flex;
    justify-content: space-evenly;
    gap: 40px;
  }
  .vnd-step3-select div {
    display: flex;
    flex-direction: column-reverse;

    select {
      width: 100% !important;
      background: white;
      border: 0;
      font-family: Montserrat, sans-serif;
      font-size: 12px;
      font-weight: normal;
      font-style: normal;
      font-stretch: normal;
      line-height: 1.17;
      letter-spacing: normal;
      text-align: left;
      color: #999;
      height: 37px;
      border-radius: 3px;
      margin-bottom: 5px;
      padding: 0 17px !important;
    }
  }

  input {
    background: white;
    border: 0;
    font-family: Montserrat, sans-serif;
    font-size: 12px;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.17;
    letter-spacing: normal;
    text-align: left;
    color: #999;
    height: 37px;
    border-radius: 3px;
    margin-bottom: 5px;
    padding: 0 17px !important;
  }
}
.header-inside.row {
  padding: 0 4%;
}
.form-group {
  margin-bottom: 5px;
}
.vnd-return-link {
  text-align: left;
}
.vnd-radio-step3.active ~ .content-aba {
  max-height: 100%;
  display: block;
}

.link {
  font-size: 12.5px;
  color: var(--second_color);
  text-decoration: none;
  line-height: 41px;
  font-weight: 500;
}

.footer-product,
.footer-personal-information,
.footer-payment-method {
  margin-top: 100px;
  border-top: solid 1px #d7d7d7;
  padding-top: 25px;

  .vnd-return-link {
    width: 50%;
    float: left;

    .link {
      font-size: 12.5px;
      color: var(--second_color);
      text-decoration: none;
      line-height: 41px;
      font-weight: 500;
    }

    .link:hover {
      text-decoration: underline;
    }
  }
}

.plan-item:hover,
.plan-item.active,
.product-item:hover,
.product-item.active,
.payment-item:hover,
.payment-item.active {
  background-color: #ce873624;
  border: solid 1px var(--second_color);
}

.plan-item:hover .input-radio .radio-fake,
.plan-item.active .input-radio .radio-fake,
.product-item:hover .input-radio .radio-fake,
.product-item.active .input-radio .radio-fake,
.payment-item:hover .input-radio .radio-fake,
.payment-item.active .input-radio .radio-fake {
  background-color: var(--second_color);
  border: 0;
}

.input-radio input[type="radio"]:checked + .radio-fake {
  background-color: var(--second_color);
  border: 0;
}

.input-radio input[type="radio"]:checked + .radio-fake .dot {
  display: block;
}

h1.hc-reform + p {
  clear: both;
}

.vnd-hide-large {
  width: auto;
  margin: 0 15px 30px 15px;
}

form div.alert,
.alert-danger,
.alert-success {
  border: 1px solid red;
  background-color: var(--second_color);
  border-radius: 20px;
  margin: 20px 0 20px 40px;
  padding: 20px;
  font-size: 16px;
  color: #fff;
}
.alert-danger,
.alert-success {
  margin: 10px 0 30px 0;
}
.alert-success {
  border-color: var(--primary_color);
  background-color: var(--third_color);
}

#paymentForm .icon {
  text-align: center;
  margin-bottom: 15px;
}
#paymentForm .icon img {
  width: 100px;
}
#paymentForm .timer,
.pix-timer {
  font-size: 13px;
  text-align: center;
}

input#car_plate {
  text-transform: uppercase;
}

input#car_plate::placeholder {
  text-transform: none;
}

input.invalid {
  border: 1px solid red;
  color: red;
}

div.form-group label {
  font-weight: bold;
  font-size: 12px;
}
div.form-group label.radio-label {
  font-size: 14px;
  margin-right: 30px;
}
button.vnd-next[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
}

.pix .pix-qrcode {
  text-align: center;
}
.pix .pix-qrcode img {
  width: 250px;
}
.pix .pix-copy-paste {
  font-size: 14px;
  font-family: Courier New, monospace;
  word-wrap: break-word;
  word-break: break-all;
  margin: 20px;
  padding: 20px;
  border-radius: 20px;
  border: 1px solid green;
}

.pix-copy-paste-label {
  margin-top: 20px;
}

.header-inside p {
  margin-bottom: 10px;
}
a#gerar-cartao,
a#gerar-cpf {
  font-size: 13px;
  color: tomato;
  display: inline-block;
  text-align: center;
  margin-bottom: 15px;
  opacity: 0.5;
}
a#gerar-cartao:hover,
a#gerar-cpf:hover {
  opacity: 1;
}
form#paymentForm input {
  font-size: 18px;
  border: 1px solid silver;
}

.content-inside .col-right {
  width: 360px;
  padding-left: 0;
}

/* Topbar layout: flexbox para alinhar logo e preço lado a lado */
.header .nav-wrapper {
  display: flex;
  align-items: center;
  height: 60px;
}

.header .nav-col {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
}

.header-logo {
  display: flex !important;
  align-items: center;
  float: none !important;
  width: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  line-height: normal !important;
}

.header-logo img {
  max-height: 28px !important;
  width: auto !important;
  object-fit: contain !important;
  margin: 0 !important;
  vertical-align: middle;
}

.header-price {
  display: flex !important;
  align-items: center;
  float: none !important;
  width: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  line-height: normal !important;
  gap: 6px;
}

/* Topbar navy para tela de pagamento */
body.step-payment .header {
  background-color: #083242 !important;
  height: auto !important;
  min-height: 60px;
  margin-bottom: 0 !important;
}

.header-plan-name {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  vertical-align: middle;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 180px;
}

.header-price-separator {
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  flex-shrink: 0;
}

.header-price-value,
.header-price #top-price {
  color: #ff914d !important;
  font-weight: 700;
  font-size: 14px;
  vertical-align: middle;
  white-space: nowrap;
  flex-shrink: 0;
}

@media only screen and (max-width: 960px) {
  .header .nav-col {
    width: 100%;
    float: left;
  }

  .header .nav-col.right {
    text-align: center;
  }

  .step_1-footer {
    margin-top: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    background-color: #fff;
    border-top: 0;
  }

  .btn.vnd-next {
    width: 100%;
    border-radius: 0;
  }

  .vnd-action-button {
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    background-color: #fff;
    padding: 0;
  }
}

/* ── Resumo do Contrato (coluna direita, etapa de pagamento) ── */
.contract-summary-aside {
    background: #f7f9fc;
    border: 1px solid #e4eaf0;
    border-radius: 8px;
    padding: 12px 14px;
    margin-top: 4px;
}

.contract-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
    padding: 6px 0;
    border-bottom: 1px solid #edf0f4;
    font-size: 13px;
    line-height: 1.4;
}

.contract-summary-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.contract-summary-label {
    color: #6b7a8d;
    flex-shrink: 0;
}

.contract-summary-value {
    color: #1a2e3b;
    font-weight: 600;
    text-align: right;
}
