/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  /* Base */
  body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #f0f2f5;
    color: #333;
    padding: 1rem;
    line-height: 1.6;
  }
  
  /* Título */
  h1 {
    font-size: 1.6rem;
    text-align: center;
    margin-bottom: 1.5rem;
    color: #0077b6;
  }
  
  /* Formulário */
  form {
    max-width: 500px;
    margin: 0 auto 2rem;
    background: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
  }
  
  input[type="file"] {
    padding: 1rem;
    font-size: 1rem;
    background-color: #f9f9f9;
    border: 2px dashed #0077b6;
    border-radius: 10px;
    cursor: pointer;
    text-align: center;
    width: 100%;
  }
  
  input[type="password"] {
    padding: 1rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    width: 100%;
  }
  
  /* Botões */
  button {
    padding: 0.85rem 1.2rem;
    font-size: 1rem;
    font-weight: 500;
    background-color: #0077b6;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    max-width: 220px;
    align-self: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  }
  
  button:hover {
    background-color: #005f87;
    transform: translateY(-1px);
  }
  
  /* Botão salvar */
  #saveBtn {
    margin-top: 1.5rem;
    width: 100%;
    max-width: 220px;
  }
  
  /* Valores encontrados */
  #valoresContainer {
    max-width: 600px;
    margin: 0 auto 2rem;
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  }
  
  #valoresContainer h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    text-align: center;
  }
  
  #valoresContainer label {
    font-weight: bold;
  }
  
  #valoresContainer input[type="text"] {
    padding: 0.8rem;
    width: 100%;
    margin-top: 0.3rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
  }
  
  /* Loader */
  .loader {
    display: none;
    border: 5px solid #eee;
    border-top: 5px solid #0077b6;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 2rem auto;
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  
  /* Responsividade para telas maiores */
  @media (min-width: 768px) {
    form, #valoresContainer {
      padding: 2rem;
    }
  
    h1 {
      font-size: 2rem;
    }
  }
  