/* Seção de Cadastro */
.cadastro {
    padding: 50px 20px;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 20px;
}

.cadastro h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-top: 50px;
    margin-bottom: 30px;
    color: var(--white-color);
}

.cadastro form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.cadastro form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.label-standard {
  color: #555;
}

.cadastro form input, form select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

.cadastro form input[type="date"] {
    appearance: none; /* Remove estilos padrão do navegador */
    -webkit-appearance: none; /* Para navegadores baseados em WebKit (Safari, Chrome) */
    background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='%23333' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E") no-repeat right 10px center;
    background-size: 16px 16px;
    padding-right: 30px; /* Espaço para o ícone de calendário */
}

.cadastro form input[type="text"]:not(.sem-mascara) {
  text-transform: uppercase;
}

.cadastro form button {
    width: 100%;
    padding: 12px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cadastro form button:hover {
    background-color: #218838;
}

  .dropdown-multiselect {
    position: relative;
    width: 100%;
    margin-top: 10px;
    font-family: sans-serif;
  }

  .dropdown-toggle {
    border: 1px solid #ccc;
    padding: 10px;
    background-color: white;
    cursor: pointer;
    border-radius: 5px;
  }

  .dropdown-options {
    position: absolute;
    background-color: white;
    border: 1px solid #ccc;
    max-height: 200px;
    overflow-y: auto;
    width: 200px;
    display: none;
    z-index: 10;
    margin-top: 5px;
    border-radius: 5px;
  }

.dropdown-multiselect .dropdown-options label {
    display: flex !important;         /* Mantém checkbox e texto lado a lado */
    align-items: center;              /* Alinha verticalmente */
    justify-content: flex-start;      /* Alinha à esquerda */
    gap: 8px;                         /* Espaço entre checkbox e texto */
    margin-bottom: 6px;               /* Espaço entre os itens */
    font-weight: normal;              /* Fonte normal */
    white-space: nowrap;              /* NÃO DEIXA QUEBRE A LINHA */
    overflow: hidden;                 /* Esconde overflow se tiver */
    text-overflow: ellipsis;          /* Coloca '...' se passar */
}

.dropdown-multiselect .dropdown-options input[type="checkbox"] {
    width: auto;        /* Ou remova a propriedade */
    padding: 0;         /* Sem padding extra */
    margin: 0 5px 0 5px;  /* Ajuste a margem conforme quer espaçamento */ 
}

.dropdown-multiselect .dropdown-options {
    width: 200px;   /* Ajuste conforme necessário */
}


  .dropdown-options input {
    margin-right: 8px;
  }

  .dropdown-options label:hover {
    background-color: #f0f0f0;
  }

/* GRUPO BOX  */
fieldset {
    border: 2px solid #ccc;
    padding: 1em;
    border-radius: 8px;
    margin-bottom: 2em;
}

legend {
    font-weight: bold;
    font-family: 'Nova Square', sans-serif; 
    font-size: 0.75em;
    padding: 0 10px;
    color: var(--secondary-color);
}

/* EFEITO FLUTUANTE INPUT */
.floating-label {
    position: relative;
    /* margin-bottom: 2em; */
  }

  .floating-label input {
    width: 100%;
    padding: 1.2em 0.5em 0.5em;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 4px;
    outline: none;
    background: white;
  }

  .floating-label label {
    position: absolute;
    left: 0.6em;
    top: 0.75em;
    background-color: white;
    padding: 0 5px;
    color: #777;
    font-size: 1em;
    transition: all 0.2s ease;
    pointer-events: none;
  }

  .floating-label input:focus + label,
  .floating-label input:not(:placeholder-shown) + label {
    top: -0.6em;
    font-size: 0.75em;
    color: #555;
  }

  .floating-label select:focus + label,
  .floating-label select:not(:placeholder-shown) + label {
    top: -0.6em;
    font-size: 0.75em;
    color: #555;
  }

  .floating-label small {
    display: block;
    margin-top: -10px;
    margin-bottom: 7px;
    font-size: 12px;
  }
  
  /* TERMOS */
  #termosContainer {
    margin-top: 10px;
    margin-bottom: 10px;
  }

  #termosContainer label {
    display: flex;
    justify-items: center;
    align-content: center;
  }

  #termosContainer label p {
    margin-left: 10px;
    font-size: 0.8rem;
  }

  #termosContainer .termos-texto {
    display: none;
    margin-top: 10px;
    padding: 10px;
    border: 1px solid #ccc;
    background-color: #f9f9f9;
  }

  #termosContainer .mostrar-termos {
    cursor: pointer;
    color: blue;
    text-decoration: underline;
    background: none;
    border: none;
    font-size: 1em;
    padding: 0;
    width: auto;
  }
  

/* CAIXA DE PAGAMENTO PIX */
#pixContainer {
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 15px;
    border: 2px solid #28a745;
    border-radius: 10px;
    background-color: #f9f9f9;
    text-align: center;
    max-width: 400px;
    justify-content: center;    
}

#pixContainer h3 {
    color: #28a745;
}

#pixContainer a {
    cursor: pointer;
    position: relative;
    z-index: 10;
    /* background-color: #FF9900; */
}

#pixContainer img {
  width: 80%;
}

#valorPix {
    font-size: 1.5rem;
    font-weight: bold;
    color: #000000;
}

textarea {
  width: 100%;
  /* max-width: 500px;  limite no desktop */
  /* min-width: 200px; */
  box-sizing: border-box;
}

.cupom-container {
  margin-top: 15px;
  margin-bottom: 20px;
}

.campo-box {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.input-cupom {
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 5px;
  flex: 1;
  max-width: 200px;
}

.btn-cupom-toggle {
  background-color: var(--secondary-color);
  border: none;
  padding: 8px 12px;
  border-radius: 5px;
  color: white;
  cursor: pointer;
}

.btn-aplicar-cupom {
  font-size: 24px;
  /* padding: 5px 10px; */
  cursor: pointer;
}

#mensagem-cupom {
  margin-bottom: 10px;
}

.botoes-modal {
  display: flex;
  flex-direction: column;
  gap: 10px; 
}


@media (max-width: 768px) {
    .cadastro {
        margin: initial;
    }

    textarea {
      width: 80%;
    }

}