﻿html {
  --verde-claro: #8fc436;
  --verde-escuro: #008b50;
  --verde: #008b50;
  --abobora: #f69024;
  --azul: #e5eff0;
  --azul-claro: #eef4f4;
  --vermelho: #ca4204;
  --vermelho-claro: #f65900;
}

::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}
::-webkit-scrollbar-thumb {
  background: var(--verde);
}
::-webkit-scrollbar-track {
  background: transparent;
}

.d-none {
  display: none !important;
}

input{
    outline: none !important;
}

body{
     /*background: url(../img/background_top_left.png) no-repeat top left, 
                url(../img/background_bottom_right.png) no-repeat bottom right;*/
    background-repeat: no-repeat;
    background-clip: border-box;
    /*background-size: 18%, 18%;*/
    min-height: 100vh;
    width: 100%;
    margin: 0px;
    background-color: #fff;
    font-family: Poppins;
}

body.home::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: url(../img/minhaunimedlabV2.png) no-repeat calc(100% - 50px) 170px, 
      url(../img/ficarNaFilaCapazApure.png) no-repeat calc(100% - 45px) 42px, 
      url(../img/UnimedLabNossoMaiorValor.png) no-repeat calc(100% - 40px) calc(100% + -30px),

      url(../img/detalhe-verde-preenchido.png) no-repeat -102px -140px, 
      url(../img/detalhe-laranja-vazado.png) no-repeat -30px -58px, 
      url(../img/detalhe-laranja-preenchido.png) no-repeat -166px 11px, 
      url(../img/detalhe-verde-preenchido-inverso.png) no-repeat 58px -164px;

      /*url(../img/detalhe-branco-vazado.png) no-repeat -118px calc(100% - -34px), 
      url(../img/detalhe-verde-preenchido.png) no-repeat -117px calc(100% - -26px), 
      url(../img/detalhe-laranja-preenchido.png) no-repeat -116px calc(100% - 34px), 
      url(../img/detalhe-laranja-vazado.png) no-repeat -77px calc(100% - -70px),
     
     url(../img/detalhe-verde-preenchido.png) no-repeat calc(100% - -58px) calc(100% - 269px),
     url(../img/detalhe-laranja-preenchido-invertido.png) no-repeat calc(100% - -89px) calc(100% - 201px),
     url(../img/detalhe-verde-vazado-invertido.png) no-repeat calc(100% - -151px) calc(100% - 138px);*/
    z-index: -1; /* Garante que o background fique atrás do conteúdo */
    /*background-size: 212px, 212px, 212px, 251px, 173px, 270px, 286px, 183px, 251px, 189px, 189px, 151px, 189px, 219px;*/
    background-size: 212px, 212px, 212px, 251px, 173px, 270px, 286px;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: 
      url(../img/detalhe-verde-preenchido.png) no-repeat -102px -140px, 
      url(../img/detalhe-laranja-vazado.png) no-repeat -30px -58px, 
      url(../img/detalhe-laranja-preenchido.png) no-repeat -166px 11px, 
      url(../img/detalhe-verde-preenchido-inverso.png) no-repeat 58px -164px;

      /*url(../img/detalhe-branco-vazado.png) no-repeat -118px calc(100% - -34px), 
      url(../img/detalhe-verde-preenchido.png) no-repeat -117px calc(100% - -26px), 
      url(../img/detalhe-laranja-preenchido.png) no-repeat -116px calc(100% - 34px), 
      url(../img/detalhe-laranja-vazado.png) no-repeat -77px calc(100% - -70px),
    
     url(../img/detalhe-verde-preenchido.png) no-repeat calc(100% - -58px) calc(100% - 269px),
     url(../img/detalhe-laranja-preenchido-invertido.png) no-repeat calc(100% - -89px) calc(100% - 201px),
     url(../img/detalhe-verde-vazado-invertido.png) no-repeat calc(100% - -151px) calc(100% - 138px);*/
    z-index: -1; 
    /*background-size: 251px, 173px, 270px, 286px, 183px, 251px, 189px, 189px, 151px, 189px, 219px;*/
    background-size: 251px, 173px, 270px, 286px;
}

@media (max-width: 1000px), (max-height: 700px)  {
    body.home::before {
        background: 
            url(../img/minhaunimedlabV2.png) no-repeat calc(100% - 20px) 130px,
            url(../img/ficarNaFilaCapazApure.png) no-repeat calc(100% - 16px) 42px,
            url(../img/UnimedLabNossoMaiorValor.png) no-repeat 99% 97%,
            url(../img/detalhe-verde-preenchido.png) no-repeat -121px -140px,

            url(../img/detalhe-laranja-vazado.png) no-repeat -17px -42px,
            url(../img/detalhe-laranja-preenchido.png) no-repeat -76px 10px,
            url(../img/detalhe-verde-preenchido-inverso.png) no-repeat 36px -78px,
            url(../img/detalhe-branco-vazado.png) no-repeat -50px calc(100% - -8px);

            /*url(../img/detalhe-verde-preenchido.png) no-repeat -62px calc(100% - -12px),
            url(../img/detalhe-laranja-preenchido.png) no-repeat -60px calc(100% - 20px),
            url(../img/detalhe-laranja-vazado.png) no-repeat -35px calc(100% - -30px),

            url(../img/detalhe-verde-preenchido.png) no-repeat calc(100% - -31px) calc(100% - 255px),
            url(../img/detalhe-laranja-preenchido-invertido.png) no-repeat calc(100% - -36px) calc(100% - 211px),
            url(../img/detalhe-verde-vazado-invertido.png) no-repeat calc(100% - -76px) calc(100% - 186px);*/
        /*background-size: 130px, 130px, 130px, 251px, 110px, 135px, 143px, 91px, 125px, 95px, 95px, 75px, 95px, 110px;*/
        background-size: 130px, 130px, 130px, 251px, 110px, 135px, 143px, 91px;
    }

    body::before {
        background: 
            url(../img/detalhe-verde-preenchido.png) no-repeat -121px -140px,
            url(../img/detalhe-laranja-vazado.png) no-repeat -17px -42px, 
            url(../img/detalhe-laranja-preenchido.png) no-repeat -76px 10px, 
            url(../img/detalhe-verde-preenchido-inverso.png) no-repeat 36px -78px, 
            
            /*url(../img/detalhe-branco-vazado.png) no-repeat -50px calc(100% - -8px), 
            url(../img/detalhe-verde-preenchido.png) no-repeat -62px calc(100% - -12px), 
            url(../img/detalhe-laranja-preenchido.png) no-repeat -60px calc(100% - 20px), 
            url(../img/detalhe-laranja-vazado.png) no-repeat -35px calc(100% - -30px), 
                                    
            url(../img/detalhe-verde-preenchido.png) no-repeat calc(100% - -31px) calc(100% - 255px), 
            url(../img/detalhe-laranja-preenchido-invertido.png) no-repeat calc(100% - -36px) calc(100% - 211px), 
            url(../img/detalhe-verde-vazado-invertido.png) no-repeat calc(100% - -76px) calc(100% - 186px);*/
        /*background-size: 251px, 110px, 135px, 143px, 91px, 125px, 95px, 95px, 75px, 95px, 110px;*/
        background-size: 251px, 110px, 135px, 143px;
    }
}

main {
  display: flex;
  flex-flow: column;
  height: 100%;
  width: 100%;
  justify-content: center;
  align-items: center;
}

section:not(.pesquisa-satisfacao, .excluded) {
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

section.pesquisa-satisfacao {
  flex-flow: column;
  max-width: 600px;
  padding: 16px;
}
section.pesquisa-satisfacao,
section.pesquisa-satisfacao ul {
  display: flex;
}

section.pesquisa-satisfacao ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20px, 1fr));
  justify-content: center;
  align-items: center;
  padding: 0px;
}
section.pesquisa-satisfacao ul li {
  list-style: none;
}
section.pesquisa-satisfacao img {
  width: 100%;
}

.input-unimed {
    background: var(--azul-claro);
    border: none;
    border-radius: 32px;
    height: 50px !important;
}


 .breakable-grid{
        display: grid;
        grid-template-columns: repeat(2, max-content);
        gap: 8px;
        max-width: 100%;
        justify-content: center;
        margin-bottom: 32px;
    }

.actions2 {
  justify-content: space-between;
  display: flex;
  gap: 32px;
  align-items: center;
}

.actions2 .voltar {
  background: linear-gradient(90deg, #ca4204, #f65900);
  padding: 8px 64px;
  border: none;
  border-radius: 32px;
  color: white;
  text-transform: uppercase;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  font-weight: 700;
  text-decoration: none;
  height: min-content;
}

.actions2 .avancar * {
  padding: 8px 32px;
  font-size: 24px;
}

.loading {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #0004;
  z-index: 999;
}

.botao-verde {
  background: linear-gradient(130deg, var(--verde), var(--verde-claro));
  border: none;
  font-weight: 700;
  color: white;
  padding: 8px 16px;
  border-radius: 32px;
  transition: all 200ms ease-in-out;
}

.botao-verde:active {
  background: linear-gradient(130deg, var(--verde-claro), var(--verde));
}

.botao-borda-flutuante {
  position: relative;
  color: white;
  display: inline-block;
  border-radius: 64px;
  text-decoration: none;
  font-weight: bold;
  border: 2px solid #138747;
  padding-top: 4px;
  padding-bottom: 4px;
  padding-left: 32px;
  padding-right: 4px;
  background: transparent;

  cursor: pointer;
}
.invalid-feedback{
    color: var(--vermelho)
}

.botao-borda-flutuante * {
  display: flex;
  z-index: 2;
  padding: 8px 12px;
  justify-content: center;
  background: linear-gradient(90deg, #138747, #7dba38);
  border-radius: 64px;
  align-items: center;
  text-transform: uppercase;
}

.botao-borda-flutuante:hover * {
  background: linear-gradient(90deg, #7dba38, #138747);
}

button {
  cursor: pointer;
  outline: none;
}

button:active {
  cursor: pointer;
  outline: none;
}

.bordaBotao a {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  color: var(--verde-claro);
  font-weight: 700;
  font-size: 22px;
}

.bordaBotao button {
  border-radius: 32px;
  border: none;
  background-color: var(--verde-claro);
}

h1 {
  color: #f69024;
  font-size: 32px;
  text-decoration: underline;
  margin-bottom: 32px;
}

.alert * {
  color: red;
}

form {
  margin: 0px !important;
}

.minhaunimedlab {
  /*background: url("../img/minhaunimedlab.png");
  background-size: contain;
  background-repeat: no-repeat;*/
  height: clamp(80px, 80vw, 200px);
  width: clamp(120px, 80vw, 250px);
}

@media (max-width: 550px) {
  section {
    padding-bottom: 32px;
  }
  section.escolha .actions button {
    height: 157px;
    width: 158px;
  }

  section.dados .actions {
    display: flex;
    flex-flow: column;
  }

  h1 {
    font-size: 18px;
    font-weight: 600;
  }

  .actions2 {
    gap: 8px;
  }

  .actions2 .botao-borda-flutuante {
    font-size: 21px;
  }

  .actions2 .voltar {
    background: linear-gradient(90deg, #ca4204, #f65900);
    padding: 5px 16px;
  }

  .actions2 .avancar * {
    padding: 8px 32px;
    font-size: 18px;
  }

  .breakable-grid {
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
  }

  section.procedencias .actions button {
    width: 98%;
  }
}

.box-container{
  box-shadow: 0 0 3px 0.5px #dddddd !important;
  background: white;
  padding: 10px;
  border-radius: 20px;
}
