/* ---------------------------------------
   Mobile-first global styles
   --------------------------------------- */

   html {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: #eee;
    padding: 0.5rem;
  }
  
  body {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    box-shadow: 0 0 6px rgba(0,0,0,0.1);
    border-radius: 4px;
  }
  
  h1, h2, h3, h4, h5 {
    font-family: serif;
    color: #377ba8;
    margin: 1rem 0 0.5rem 0;
  }
  
  a {
    color: #377ba8;
  }
  
  /* Form styling */
  .form-group {
    display: flex;
    flex-direction: column;
    width: 100%;
  }
  
  .form-label {
    margin-bottom: 0.25rem;
    font-weight: 500;
    font-size: 1rem;
    color: #333;
  }
  
  .form-control {
    padding: 0.6rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 0.25rem;
    width: 100%;
    box-sizing: border-box;
  }
  
  .form-control:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52,152,219,0.2);
  }
  
  /* Buttons */
  .btn {
    display: inline-block;
    padding: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border: none;
    border-radius: 0.25rem;
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
  }
  
  .btn:hover {
    opacity: 0.9;
  }
  
  .btn-success {
    background-color: #2ecc71;
    color: white;
  }
  
  .btn-secondary {
    background-color: #95a5a6;
    color: white;
  }
  
  /* Alerts */
  .alert {
    padding: 0.75rem 1rem;
    border-radius: 0.25rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
  }
  
  .alert-info {
    background-color: #e7f3fe;
    border: 1px solid #b3d7ff;
    color: #31708f;
  }
  
  /* Card wrapper */
  .card {
    border: none;
    border-radius: 4px;
    overflow: hidden;
  }
  
  .card-header {
    padding: 0.75rem 1rem;
  }
  
  .card-body {
    padding: 1rem;
  }
  
  /* Utility classes */
  .mx-auto {
    margin-left: auto;
    margin-right: auto;
  }
  
  .mb-3 {
    margin-bottom: 1rem !important;
  }
  
  .mb-4 {
    margin-bottom: 1.5rem !important;
  }
  
  .py-3 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }
  
  /* Responsive tweaks */
  @media (max-width: 480px) {
    body {
      padding: 0.2rem;
    }
    h1, h2 {
      font-size: 1.25rem;
    }
    .form-control {
      font-size: 0.95rem;
      padding: 0.5rem;
    }
    .btn {
      font-size: 0.95rem;
      padding: 0.65rem;
    }
  }
  