.loader {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  position: relative;
  animation: rotate 1s linear infinite
}

.loader::before {
  content: "";
  box-sizing: border-box;
  position: absolute;
  inset: 0px;
  border-radius: 50%;
  border: 5px solid #FFF;
  animation: prixClipFix 2s linear infinite;
}

@keyframes rotate {
  100% {
    transform: rotate(360deg)
  }
}

@keyframes prixClipFix {
  0% {
    clip-path: polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0)
  }

  25% {
    clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0)
  }

  50% {
    clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%)
  }

  75% {
    clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 100%)
  }

  100% {
    clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 0)
  }
}

.containerCampos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.containerCampos label {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 3px;
}

@media screen and (max-width: 610px) {
  .containerCampos {
    grid-template-columns: 1fr;
  }
}

.containerCampos input,
.containerCampos select {
  display: flex;
  padding: 14px 18px;
  border-radius: 4px;
  border: 1px solid #ffffff26;
  background: transparent;
  color: #fff;
}

.col-12 {
  display: flex;
  gap: 5px;
  flex-direction: column;
}

.containerCampos option {
  background: #000;
  color: #fff;
}

.botoesCalculadora {
  display: grid;
  gap: 6px;
}

button.botaoCalculo {
  margin: 13px 0 !important;
}

#formularioCalculadora button {
  margin: 0;
}

#formularioCalculadora button {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  text-transform: capitalize;
  border-radius: 4px;
}

#formularioCalculadora button>i {
  display: flex;
}

@media screen and (max-width: 310px) {
  .botoesCalculadora {
    grid-template-columns: 1fr;
  }
}


@media screen and (min-width: 310px) {
  .botoesCalculadora {
    grid-template-columns: 50px 1fr;
  }


  button.botaoNew {
    padding: 0;
  }
}


@media screen and (min-width: 440px) {
  .containerBotoesMain {
    max-width: 390px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
  }

  button.botaoCalculo {
    width: auto !important;
  }
}

.app.toolCalculadora {
  position: relative;
  padding: 35px 20px 35px 20px;
}

#formularioCalculadora * {
  user-select: none;
}


div#loadingCalculadora {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

div#loadingCalculadora .loader {
  z-index: 2;
}

div#loadingCalculadora:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  z-index: 1;
  background: #0c0c0cd6;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.containerBotoesMain {
  margin-bottom: 18px !important;
}

button.botaoNew {
  background: transparent;
  border: 1px solid #ffffff52;
  color: #fff;
}

button#apostarInit {
  background: #0762d3;
  color: #fff;
}

body,
html {
  overflow-x: hidden;
  /* Mantém o padrão para o resto da página */
}

.app {
  max-width: 720px;
  margin: 0 auto;
  padding: 30px 20px 10px 20px;
}

#tabelaCalculadora {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  user-select: auto !important;
  -ms-user-select: auto !important;
  -moz-user-select: auto !important;
  -webkit-user-select: auto !important;
  -khtml-user-select: auto !important;
  -webkit-touch-callout: default !important;
}

#tabelaCalculadora table {
  width: 100%;
  border-collapse: collapse;
  min-width: 450px;
  max-width: 600px;
  margin: 0 auto;
}

th, td {
  border: 1px solid #ffffff0d;
}

#tabelaCalculadora th {
  text-align: left;
  color: #000;
  padding: 5px 6px;
  font-size: 15px;
  white-space: nowrap;
}

thead {
  background: var(--primary);
}

tbody#table-body {
  background: #1e1e1e;
}

#tabelaCalculadora td {
  padding: 8px;
  white-space: nowrap;
}

@media (max-width: 440px) {
  #tabelaCalculadora.active {
    display: block !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (min-width: 440px) {
  #tabelaCalculadora.active {
    display: table !important;
  }
}

::-webkit-scrollbar {
  height: 3px;
  border-radius: 50px;
}

.headerCalculadora {
  display: flex;
  margin-bottom: 30px;
  gap: 8px;
  justify-content: center;
  align-items: center;
}

.headerCalculadora i {
  background: var(--primary);
  color: #000;
  width: 35px;
  height: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
}

.headerCalculadora h2 {
  font-size: 18px;
}