/* Mobile-first styles */

body {
    font-family: Arial, sans-serif;
    background: #f4f4f4;
    margin: 0;
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
  }
  
  .form-container {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
  }
  
  h2 {
    text-align: center;
    margin-bottom: 1rem;
  }
  
  label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
  }
  /*
  input[type="date"],
  select,
  input[type="submit"] {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
  }
  */
    input[type="text"],
    input[type="number"],
    input[type="date"],
    select,
    input[type="submit"] {
        width: 100%;
        padding: 0.75rem;
        margin-bottom: 1rem;
        border: 1px solid #ccc;
        border-radius: 8px;
        font-size: 1rem;
        box-sizing: border-box;
        appearance: none; /* optional, for consistent rendering */
    }

    /* Style the GPS button like the rest */
  button {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    background-color: #f2f2f2;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  button:hover {
    background-color: #e0e0e0;
  }

  #submitBtn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    opacity: 0.7;
  }

  #submitBtn {
    transition: background-color 0.3s, opacity 0.3s;
  }

  input[type="submit"] {
    background: #007BFF;
    color: white;
    border: none;
    cursor: pointer;
  }
  
  input[type="submit"]:hover {
    background: #0056b3;
  }
  
  @media (min-width: 600px) {
    body {
      padding: 2rem;
    }
  
    .form-container {
      padding: 2rem;
    }
  }
  