@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");

* {
  margin: 0;
  padding: 0;

  box-sizing: border-box;

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
}

body {
  height: 100vh;

  font-family: "Roboto", sans-serif;
}

.loading {
  width: 100%;
  height: 100%;

  display: flex;
  justify-content: center;
  align-items: center;

  position: fixed;

  left: 0px;
  top: 0px;

  background-color: rgba(0, 0, 0, 0.4);

  z-index: 9999;
}

.loading .loader {
  width: 120px;
  height: 120px;

  border: 12px solid #e5e5e5;
  border-radius: 50%;
  border-top-color: #51d4db;

  animation: rotating 1s infinite;
}

.error-404 {
  height: 100%;

  display: none;
  justify-content: center;
  align-items: center;
}

.error-404 .error-404-container {
  width: 100%;
  max-width: 768px;

  padding: 36px 12px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;

  background-color: #dddddd;

  border-radius: 8px;

  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.2), 0 1px 2px -1px rgb(0 0 0 / 0.2);
}

.error-404 .error-404-container .text-404-container {
  display: flex;
  align-items: center;
  gap: 16px;
}

.error-404 .error-404-container .text-404-container span {
  color: #00304d;

  font-size: 82px;
  text-shadow: 0 0 7px #c3d168a2;
}

.error-404 .error-404-container .text-404-container .circle {
  width: 96px;
  height: 96px;

  display: inline-block;

  position: relative;

  background: #e6f1a3 radial-gradient(#f9ffd2, #ecff70);
  color: transparent;

  border-radius: 50%;

  box-shadow: 0 0 7px #e7f1a3a2;
  text-shadow: none;

  user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-user-select: none;
}

.error-404 .error-404-container .text-404-container .circle:after {
  content: "";

  width: 160px;
  height: 64px;

  display: block;

  position: absolute;

  top: 50%;
  left: 50%;

  border: 2px solid #00304d;
  border-top: 0px solid #00304d;
  border-bottom: 4px solid #00304d;
  border-radius: 50%;

  transform: translate(-50%, -50%) rotate(-45deg);

  z-index: 1;
}

.error-404 .error-404-container .text-404-container .circle:before {
  content: "";

  width: 4px;
  height: 4px;

  display: block;

  position: absolute;

  top: 50%;
  left: 50%;

  background-color: #112244;

  border-radius: 50%;

  transform: translate(-2.5rem, 0) rotate(0deg);
  transform-origin: 2.5rem 0;

  animation: circle-around 5s infinite linear;
}

.error-404 .error-404-container h1 {
  padding-top: 16px;

  color: #00304d;

  font-size: 32px;
  text-align: center;
}

.error-404 .error-404-container p {
  color: #00304d;

  font-size: 16px;
  text-align: center;
}

main {
  height: 100%;

  padding: 24px;

  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 16px;
}

.orders {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.orders .logo {
  width: 100px;
  height: 46px;
}

.orders .orders-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 16px;
}

.orders .orders-info .order-info {
  padding: 12px;

  display: flex;
  flex-direction: column;
  gap: 4px;

  border-radius: 8px;

  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.2), 0 1px 2px -1px rgb(0 0 0 / 0.2);
}

.orders .orders-info .order-info .order-info-vendor {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.orders .orders-info .order-info .order-info-vendor span,
.orders .orders-info .order-info .order-info-client span {
  color: #757575;

  font-size: 14px;
}

.orders .orders-info .order-info .order-info-vendor span strong,
.orders .orders-info .order-info .order-info-client span strong {
  color: #00304d;
}

.orders .orders-info .order-summary {
  padding: 12px;

  display: flex;
  flex-direction: column;
  gap: 12px;

  border-radius: 8px;

  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.2), 0 1px 2px -1px rgb(0 0 0 / 0.2);
}

.orders .orders-info .order-summary h4 {
  color: #424242;

  font-size: 16px;
}

.orders .orders-info .order-summary .separator {
  height: 1px;

  background-color: #757575;
}

.orders .orders-info .order-summary-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.orders .orders-info .order-summary-info strong,
.orders .orders-info .order-summary-info span {
  color: #757575;

  font-size: 12px;
}

.orders .orders-info .order-summary-itens {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.orders .orders-info .order-summary-itens .order-summary-itens-container {
  max-height: 180px;

  overflow: auto;
}

.orders
  .orders-info
  .order-summary-itens
  .order-summary-itens-container
  .order-summary-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.orders
  .orders-info
  .order-summary-itens
  .order-summary-itens-container
  .order-summary-item
  h6 {
  color: #424242;

  font-size: 14px;
}

.orders
  .orders-info
  .order-summary-itens
  .order-summary-itens-container
  .order-summary-item
  span {
  color: #757575;

  font-size: 12px;
}

.orders .orders-info .order-summary-itens h6 {
  color: #424242;

  font-size: 14px;
}

.orders .orders-info .order-summary .subtotal-order-summary,
.orders .orders-info .order-summary .discount-order-summary,
.orders .orders-info .order-summary .fines-interest-order-summary,
.orders .orders-info .order-summary .total-order-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.orders .orders-info .order-summary .subtotal-order-summary span,
.orders .orders-info .order-summary .discount-order-summary span,
.orders .orders-info .order-summary .fines-interest-order-summary span,
.orders .orders-info .order-summary .total-order-summary span,
.orders .orders-info .order-summary .due-date-order-summary span {
  color: #424242;

  font-size: 14px;
  font-weight: 700;
}

.orders .developed-by {
  padding-bottom: 20px;

  color: #757575;

  font-size: 14px;
}

.orders .developed-by strong {
  color: #00304d;
}

.checkout {
  padding-bottom: 24px;

  display: flex;
  flex-direction: column;
  gap: 24px;
}

.checkout .steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.checkout .steps .steps-name {
  display: flex;
  justify-content: space-between;
}

.checkout .steps .steps-name span {
  color: #424242;

  font-size: 16px;
}

.checkout .steps .progress {
  width: 100%;
  height: 10px;

  background-color: #bbbbbb;

  border-radius: 16px;
}

.checkout .steps .progress .progress-value {
  width: 25%;
  height: 10px;

  background-color: #00304d;

  border-radius: 16px;
}

.checkout .checkout-container {
  padding: 12px;

  display: flex;
  flex-direction: column;
  gap: 16px;

  border-radius: 8px;

  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.2), 0 1px 2px -1px rgb(0 0 0 / 0.2);
}

.checkout .checkout-container .payment {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checkout .checkout-container .payment h4 {
  color: #424242;

  font-size: 20px;
}

.checkout .checkout-container .payment .payment-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.checkout .checkout-container .payment .payment-list .radio-payment {
  width: 300px;

  display: none;
}

.checkout
  .checkout-container
  .payment
  .payment-list
  .radio-payment
  [type="radio"] {
  display: none;
}

.checkout
  .checkout-container
  .payment
  .payment-list
  .radio-payment
  + .radio-payment {
  margin-top: 8px;
}

.checkout .checkout-container .payment .payment-list .radio-payment label {
  padding: 20px 20px 20px 60px;

  display: flex;
  justify-content: space-between;
  align-items: center;

  position: relative;

  background-color: #eeeeee;
  color: #444444;

  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;

  font-size: 16px;

  cursor: pointer;

  transition: 0.4s ease-in-out 0s;
}

.checkout .checkout-container .payment .payment-list .radio-payment label i {
  font-size: 32px;
}

.checkout .checkout-container .payment .payment-list .radio-payment label:after,
.checkout
  .checkout-container
  .payment
  .payment-list
  .radio-payment
  label:before {
  content: "";

  position: absolute;

  border-radius: 50%;
}

.checkout
  .checkout-container
  .payment
  .payment-list
  .radio-payment
  label:after {
  width: 20px;
  height: 20px;

  top: calc(50% - 12px);
  left: 20px;

  border: 2px solid #444444;
}

.checkout
  .checkout-container
  .payment
  .payment-list
  .radio-payment
  label:before {
  width: 14px;
  height: 14px;

  top: 29px;
  left: 25px;

  background-color: #444444;

  opacity: 0;

  visibility: visible;
}

.checkout
  .checkout-container
  .payment
  .payment-list
  .radio-payment
  [type="radio"]:checked
  ~ label {
  background-color: #e0e0e0;

  border-color: #444444;
}

.checkout
  .checkout-container
  .payment
  .payment-list
  .radio-payment
  [type="radio"]:checked
  ~ label:before {
  opacity: 1;

  visibility: visible;
}

.checkout .checkout-container .pix {
  padding-top: 24px;

  display: none;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.checkout .checkout-container .pix .pix-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.checkout .checkout-container .pix .pix-container h6 {
  display: flex;
  align-items: center;
  gap: 8px;

  color: #424242;

  font-size: 20px;
}

.checkout .checkout-container .pix .pix-container h6 i {
  font-size: 24px;
}

.checkout .checkout-container .pix .pix-container img {
  width: 200px;
  height: 200px;
}

.checkout .checkout-container .pix .pix-container .btn-pix-copia-e-cola {
  padding: 14px;

  display: flex;
  justify-content: center;
  align-items: center;

  background-color: transparent;
  color: #00304d;

  outline: 0;
  border: 1px solid #00304d;
  border-radius: 24px;

  cursor: pointer;
}

.checkout .checkout-container .pix .pix-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.checkout .checkout-container .pix .pix-info h6 {
  color: #424242;

  font-size: 20px;
  text-align: center;
}

.checkout .checkout-container .pix .pix-info span,
.checkout .checkout-container .pix .pix-info strong {
  color: #424242;

  font-size: 16px;
  text-align: center;
}

.checkout .checkout-container .credito {
  width: 100%;

  display: none;
  flex-direction: column;
  gap: 16px;
}

.checkout .checkout-container .credito h6 {
  display: flex;
  align-items: center;
  gap: 8px;

  color: #424242;

  font-size: 20px;
}

.checkout .checkout-container .credito h6 i {
  font-size: 24px;
}

.checkout .checkout-container .credito .inputs-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.checkout .checkout-container .credito .input-wrapper,
.checkout .checkout-container .credito .inputs-container .input-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.checkout .checkout-container .credito .input-wrapper label,
.checkout .checkout-container .credito .inputs-container .input-wrapper label {
  color: #424242;

  font-size: 16px;
}

.checkout .checkout-container .credito .input-wrapper input,
.checkout .checkout-container .credito .inputs-container .input-wrapper input {
  padding: 16px 12px;

  outline: 0;
  border: 1px solid #bbbbbb;
  border-radius: 8px;

  color: #424242;

  font-size: 14px;
}

.checkout .checkout-container .credito .btn-pay-with-credit-card {
  width: 160px;

  margin-left: auto;

  padding: 14px;

  display: none;
  justify-content: center;
  align-items: center;

  background-color: #00304d;
  color: #ffffff;

  outline: 0;
  border: 0;
  border-radius: 8px;

  cursor: pointer;

  transition: background-color 0.3s ease-in;
}

.checkout .checkout-container .credito .btn-pay-with-credit-card:hover {
  background-color: #084970;
}

.checkout .checkout-container .credito .btn-pay-with-credit-card:disabled {
  opacity: 0.85;

  cursor: not-allowed;
}

.checkout .checkout-container .boleto {
  display: none;
  flex-direction: column;
  gap: 16px;
}

.checkout .checkout-container .boleto h6 {
  display: flex;
  align-items: center;
  gap: 8px;

  color: #424242;

  font-size: 20px;
}

.checkout .checkout-container .boleto h6 i {
  font-size: 24px;
}

.checkout .checkout-container .boleto p {
  color: #424242;

  font-size: 14px;
}

.checkout .checkout-container .boleto .boleto-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.checkout .checkout-container .boleto .boleto-container span {
  color: #424242;

  font-size: 14px;
}

.checkout .checkout-container .boleto .boleto-container .linha-digitavel {
  padding: 16px;

  display: flex;
  align-items: center;
  gap: 16px;

  border: 1px solid #bbbbbb;
  border-radius: 8px;
}

.checkout .checkout-container .boleto .boleto-container .linha-digitavel span {
  color: #424242;

  font-size: 16px;

  word-break: break-all;
}

.checkout .checkout-container .boleto .boleto-container .linha-digitavel i {
  color: #424242;

  font-size: 24px;

  cursor: pointer;
}

.checkout .checkout-container .boleto .btn-view-bill {
  width: 160px;

  margin-right: auto;

  padding: 14px;

  display: flex;
  justify-content: center;
  align-items: center;

  background-color: #00304d;
  color: #ffffff;

  outline: 0;
  border: 0;
  border-radius: 8px;

  cursor: pointer;

  transition: background-color 0.3s ease-in;
}

.checkout .checkout-container .boleto .btn-view-bill:hover {
  background-color: #084970;
}

.checkout .checkout-container .boleto .btn-view-bill:disabled {
  opacity: 0.85;

  cursor: not-allowed;
}

.checkout .pagamento-aprovado,
.checkout .fatura-expirada,
.checkout .fatura-cancelada {
  padding: 12px;
  padding-bottom: 46px;

  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;

  border-radius: 8px;

  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.2), 0 1px 2px -1px rgb(0 0 0 / 0.2);
}

.checkout .pagamento-aprovado i,
.checkout .fatura-expirada i,
.checkout .fatura-cancelada i {
  color: #42426b;

  font-size: 80px;
}

.checkout .pagamento-aprovado h2,
.checkout .fatura-expirada h2,
.checkout .fatura-cancelada h2 {
  color: #42426b;

  font-size: 32px;
  font-weight: 700;
  text-align: center;
}

.checkout .pagamento-aprovado p,
.checkout .fatura-expirada p,
.checkout .fatura-cancelada p {
  color: #757575;

  font-size: 14px;
  text-align: center;
}

@media screen and (max-width: 1024px) {
  .checkout .checkout-container {
    flex-direction: column !important;
  }
}

@media screen and (max-width: 768px) {
  main {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 640px) {
  .checkout .checkout-container .payment .payment-list .radio-payment {
    width: 100%;
  }

  .checkout .checkout-container .pix {
    flex-direction: column;
  }

  .checkout .checkout-container .pix .pix-container {
    width: 100%;

    align-items: center;
  }

  .checkout .checkout-container .pix .pix-container .btn-pix-copia-e-cola {
    width: 100%;
  }

  .checkout .checkout-container .credito .inputs-container {
    grid-template-columns: 1fr;
  }

  .checkout .checkout-container .credito .btn-pay-with-credit-card,
  .checkout .checkout-container .boleto .btn-view-bill {
    width: 100%;
  }
}

@keyframes rotating {
  to {
    transform: rotate(1turn);
  }
}

@-webkit-keyframes rotating {
  to {
    transform: rotate(1turn);
  }
}

@keyframes circle-around {
  0% {
    transform: translate(-2.5rem, 0) rotate(0deg);
  }
  100% {
    transform: translate(-2.5rem, 0) rotate(360deg);
  }
}

@-webkit-keyframes circle-around {
  0% {
    transform: translate(-2.5rem, 0) rotate(0deg);
  }
  100% {
    transform: translate(-2.5rem, 0) rotate(360deg);
  }
}
