
:root {
  --clr-white: #fff;
  --clr-white-bg: #f0f0f1;
  --clr-facebook: #3b5998;
  --clr-google: #4285F4;
  --clr-black: #141414;
  --clr-red: #b90505;
  --clr-span-color: #4e0101;
  --clr-border: #CCC;
  --clr-gray: #2a2a2a;
  --clr-gray-clear: #343a3e;
  --clr-gray-secund: #555a61;
}

/* Global */

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

/* ------------------------- */
body {
  margin: 0;
  font-family: Arial, sans-serif;
}
.telaLoading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(242, 252, 249, 0.041);
  z-index: 9999;
}
.all {
  width: 50px;
  height: 50px;
  border: 5px solid #fff;
  border-top: 5px solid #f35e5e;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  0% {
      transform: rotate(0deg);
  }
  100% {
      transform: rotate(360deg);
  }
}

.ticket-details-page {
  background-color: #fff;
  margin-top: 0;
  padding: 2rem;
}

.ticket-details-page .container {
  background-color: #fff;
  background-repeat: no-repeat;
  background-size: cover;
  text-align: center;
  position: relative;
  border-radius: 5px;
  border: solid 1px #d8d9db;
  padding: 50px;
}

.left-image {
  width: 100%;
  height: 100%;
  display: block;
  background-image: url(/assets/images/plano-bg.png);
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.containerPlano {
  overflow: hidden;
  transition: 0.3s ease, box-shadow 0.3s ease;
  background-blend-mode: overlay;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between; 
}

/* Títulos */
.containerPlano .ticket-item {
  font-size: 30px;
  margin-top: 20px;
  font-weight: 800;
  text-transform: uppercase;
}

.containerPlano .ticket-item h4 {
  font-size: 30px;
  margin-top: 20px;
  font-weight: 800;
  color: #f0f4f9;
  text-transform: uppercase;
}

.containerPlano .top-content span {
  color: #ffa5a5;
  font-weight: 200;
}

/* Estilização da área de Preço */

.main-dark-button a {
  height: 60px;
  margin-top: 10px;
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
}

#pgcartao {
  color: var(--clr-gray-clear);
  background-color: #b79c0010 !important;
  border-radius: 5px;
  border: solid 1px #b796005e !important;
}

#pgcartao:hover {
  box-shadow: 0px 0px 10px 5px #b7a50010;
}

#pgpix {
  color: var(--clr-gray-clear);
  background-color: #00b7a810 !important;
  border-radius: 5px;
  border: solid 1px #00b7a85e !important;
}

#pgpix-indisponivel {
  color: var(--clr-gray-clear);
  background-color: #b7340010 !important;
  border-radius: 5px;
  border: solid 1px #b725005e !important;
}

#pgpix:hover {
  box-shadow: 0px 0px 10px 5px #00b7a810;
}

.containerPlano .ticket-item .price {
  color: #fff;
  color: #2a2a2a;
  font-weight: 700;
  padding: 30px 10px;
  display: inline-block;
}

.containerPlano .ticket-item .price em {
  font-size: 55px;
}

.containerPlano .ticket-item .price #reais, #validade {
  font-size: 15px;
}

#totalPlano {
  font-size: 18px;
}

#valorParcelado {
  font-size: 30px;
}

.left-content {
 align-items: left;
 text-align: left !important;
 justify-content: left;
}

#descricaoPlano {
  font-size: 15px !important;
}

.containerPlano .down-content {
  margin-bottom: 20px;
}

.containerPlano .down-content ul {
  font-size: 15px;
  color: #ffffff;
  color: #2a2a2a;
  text-align: left;
  font-weight: 400;
  padding-left: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.containerPlano .down-content ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
  color: #ffe6e6;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.containerPlano .down-content ul li i {
  color: #ffe6e6;
  margin-right: 15px;
  font-size: 18px;
  width: 25px;
  height: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.containerPlano .down-content ul li:last-child {
  border-bottom: none;
}

/* Pagamento pix */
.overlay {
  position: fixed;
  background-color: #00000094;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.overlay-load {
  background-color: #00000017;
}

.bx-time-five {
  font-size: 200px;
}

.telaCartao,
.telaPix {
  background-color: var(--clr-white);
  border-radius: 10px;
  padding: 50px;
  box-shadow: 1px 5px 7px 1px rgba(0, 0, 0, 0.2);
}

.telaCartao {
  width: 550px;
}

.telaPix {
  width: 550px;
}

#vlrParcela {
  border: none !important;
  font-size: 2rem !important;
  color: #ff4a4a !important;
}

#vlrCompra-PIX{
  border: none !important;
  font-size: 2rem !important;
  color: #29bcac !important;
}

.telaPix-qrCode {
  display: flex;
  align-items: center;
  justify-content: center;
}

.overlay .telaPix .espacoQRCode {
  border-radius: 10px;
  border: solid 1px #c0c0c0;
  margin: 10px;
}

.loader-QrCode {
  border: 5px solid #f3f3f3;
  border-top: 5px solid #29bcac;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.telaPix-qrCode {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 180px;
  position: relative;
}

.overlay .telaPix img,
.overlay .telaCartao img {
  max-width: 100%;
  overflow: hidden;
}

.overlay .telaPix h4,
.overlay .telaCartao h4 {
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: 700;
  color: var(--clr-gray);
  margin-top: 2rem;
}

.overlay .telaPix span,
.overlay .telaCartao span {
  font-size: 14px;
  font-weight: 700;
  color: #656c74;
  display: inline-block;
}

.overlay .telaPix ul,
.overlay .telaCartao ul {
  text-align: left;
  border-bottom: 1px solid #eee;
  padding-bottom: 5px;
  margin-bottom: 5px;
}

.overlay .telaPix ul li,
.overlay .telaCartao ul li {
  font-size: 13px;
  color: var(--clr-gray);
  font-weight: 300;
  margin-bottom: 5px;
}

.overlay .telaPix .divstringcodigo {
  display: flex;
  align-items: center; 
  justify-content: center;
  text-align: center;
  flex-direction: row;
  flex-wrap: wrap;
}

#btn_copiarCodigo {
  background-color: #29bcac;
}

#btn_codigoCopiado {
  background-color: #41dba8;
}

.divstringcodigo button:hover {
  opacity: 0.8;
}

@media (max-width: 1366px) {

  .overlay .telaPix ul,
  .overlay .telaCartao ul {
    display: none;
  }
  .colunaButtons {
    display: flex;
    gap: 5px;
    margin-bottom: 10px;
  }
  
  .colunaButtons button {
    color: #fff;
    font-size: 16px;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
    outline: none;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  }

  /* Pagamento pix */

  .bx-time-five {
    font-size: 100px;
  }

  .vlr_compra {
    border: none !important;
  }

  .divVlrCompra {
    display: inline-block !important;
    margin-right: 5px;
  }

  .overlay .telaPix .divstringcodigo {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: row;
    flex-wrap: wrap;
  }

  #btn_codigoCopiado {
    background-color: rgb(80, 172, 134);
  }

}

/* Estilização do pagamento Cartão */

.formPagamentoCartao {
  width: 100%;
}

.contDadosCartao fieldset input {
    width: 100%;
    border: none;
    margin-bottom: 15px;
    color: #7a7a7a;
    font-size: 13px;
    border: 1px solid #ddd;
    background-color: var(--clr-white);
    height: 40px;
    outline: none;
    padding: 10px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 5px;
}

.contDadosCartao label {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 5px;
    text-align: left;
}

.formPagamentoCartao .linha {
  display: flex !important;
  flex-direction: row !important;
  justify-content: justify;
  gap: 5px;
}

.formPagamentoCartao .linha fieldset{
  display: flex;
  flex-direction: column !important;
  width: 50%;
}

/* Botões */

.colunaButtons button {
  color: #fff;
  font-size: 16px;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  width: 100%;
  margin-top: 10px;
  outline: none;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.finalizar {
  background-color: #f35e5e;
}

.finalizar:hover {
  background-color: #ff7878;
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.finalizar:active {
  box-shadow: 0 8px 15px #ff787871;
}

.cancelar {
  background-color: #414141;
  transition: 0.3s;
}

.cancelar:hover {
  background-color: #353535;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

#btn_copiarCodigo:hover {
  box-shadow: 0 8px 15px rgba(80, 154, 172, 0.37);
}

.cancelar:active {
  background-color: #383838;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

#inputcodigoQR {
  width: 100%;
  height: 2rem;
  font-size: 12px;
  font-weight: 400;
  border: solid #ccc 1px;
  border-radius: 5px;
  outline: none;
  padding: 5px;
}

#inputcodigoQR:focus {
  border: solid #509aac 1px;
}

/* Valor da compra */
.vlr_compra {
    font-weight: bold;
    color: #333;
}

.vlr_compra {
  font-weight: bold;
  color: #333;
}

#bandeiraCartao {
  position: absolute;
  margin-left: -50px;
}

.user-name {
  border-left: solid 1px #bdb9ba !important;
  padding-left: 20px;
}

.user-name img {
  border-radius: 50%;
  margin-right: 10px;
  border: solid 2px #e4dcde;
  width: 40px;
  height: 40px;
  object-fit: cover;
  overflow: hidden;
}

#btnSair {
  margin-top: 3px;
  font-size: 25px;
  cursor: pointer;
}