/* Modal Style */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh; /* Definindo a altura em unidades de visualização de altura */
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
  }
  body.modal-open {
    overflow: hidden !important;
  }

  

  
  .modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 500px;
    animation: slideIn 0.5s forwards;
   
  }
.modal-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #333; 
  text-align: center; 
  text-transform: uppercase; 
  padding: 20px; 
}
  
  @keyframes slideIn {
    from {transform: translateY(-100px); opacity: 0;}
    to {transform: translateY(0); opacity: 1;}
  }
  
  @keyframes fadeOut {
    from {opacity: 1;}
    to {opacity: 0;}
  }
  
  @keyframes slideOut {
    from {transform: translateY(0); opacity: 1;}
    to {transform: translateY(-100px); opacity: 0;}
  }
  
  .modal.hidden .modal-content {
    animation: slideOut 0.5s forwards;
  }
  
  .modal.hidden {
    animation: fadeOut 0.5s forwards;
  }
  
  .close, .closefor, .closeSenha, .closeSenhaFornecedor {
    color: #aaa;
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  }
  
  
  
  .form-group {
    margin-bottom: 15px;
  }
  
  .form-group label {
    display: block;
    margin-bottom: 5px;
  }
  
  .form-group > input[type="text"],
  .form-group > input[type="password"],
  .form-group > input[type="email"],
  .form-group > select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
  }
  
  /* Estilo do Checkbox */
  .form-check {
    display: flex;
    align-items: center;
  }
  
  .form-check-input {
    width: auto;
    height: auto;
    margin-right: 10px;
  }
  
  .form-check-label {
    margin-bottom: 0;
    flex: 1;
    display: flex;
  }
  
  .btn-cadastrar {
    background-color: #007bff; 
    border: none;
    color: white;
    padding: 10px 0; 
    text-align: center;
    text-decoration: none;
    display: block; 
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    margin: 20px auto; 
    width: 100%; 
  }
  
  .btn-cadastrar:hover {
    background-color: #0056b3; 
  }

  .btn-cancelar {
    background-color: tomato; 
    border: none;
    color: white;
    padding: 10px 0; 
    text-align: center;
    text-decoration: none;
    display: block; 
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    margin: 20px auto; 
    width: 100%; 
  }
  
  .btn-cancelar:hover {
    background-color: rgb(221, 78, 53); 
  }
 
  @media (min-width: 600px) {
    .modal-content {
      width: 80%;
      max-width: 600px;
    }
  }

 

  
  