/* Reset de estilos */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
  }
  
  /* Corpo da página */
  body {
    background-color: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    padding: 20px;
  }
  
  /* Header fixo no topo */
  .header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #007bff;
    color: white;
    padding: 0 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 100;
  }
  
  /* Título do menu centralizado */
  .header-title {
    flex-grow: 1;
    text-align: center;
    font-size: 22px;
    font-weight: bold;
    margin-left: 10%;
  }
  
  /* Botão voltar no canto direito */
  .voltar-button {
    float: right;
    width: 10%;
    background-color: transparent;
    border: none;
    cursor: pointer;
    color: white;
    font-size: 24px;
    margin-left: auto;
    padding: 0 10px;
    transition: transform 0.2s;
  }
  
  .voltar-button:hover {
    transform: scale(1.1);
  }
  
  /* Container principal */
  .container {
    margin-top: 180px; /* Espaço para o header */
    width: 100%;
    max-width: 500px;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  }
  
  /* Campos de entrada */
  input {
    width: 100%;
    padding: 12px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
  }
  
  /* Fieldset para Endereço */
  fieldset {
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-top: 10px;
    padding: 10px;
  }
  
  legend {
    font-size: 14px;
    font-weight: bold;
    color: #333;
  }
  
  /* Botão de Cadastrar */
  button {
    width: 100%;
    padding: 12px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  button:hover {
    background-color: #0056b3;
  }
  
  /* Estilo responsivo */
  @media (max-width: 600px) {
    .header-title {
      font-size: 18px;
    }
  
    input {
      font-size: 14px;
      padding: 10px;
    }
  }
  