* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Jost', sans-serif;
    background: linear-gradient(to bottom, #31183f, #2a2a2a);
    color: white;
    min-height: 100vh;
    display: flex;
    justify-content: center;
  }
  
  .container {
    width: 100%;
    max-width: 450px;
    padding: 1rem;
    text-align: center;
  }
  
  header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 2rem;
  }
  
  .logo-container {
    display: flex;
    align-items: center;
    gap: 0.8rem;
  }
  
  .logo {
    width: 55px;
    height: auto;
    filter: brightness(0) invert(1); /* Ensures logo is white */
  }
  
  .brand-name {
    font-size: 1.4rem;
    font-weight: 600;
    padding-top: 15px;
  }
  
  main h1 {
    font-size: 1.9rem;
    margin-bottom: 0.5rem;
  }
  
  .subtitle {
    font-size: 0.95rem;
    margin-bottom: 2rem;
    color: #ccc;
    line-height: 1.5;
  }
  
  form {
    background: linear-gradient(to bottom, #3d4855, #2a2a2a);
    padding: 1.5rem;
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  }
  
  label {
    font-size: 0.9rem;
    text-align: left;
    margin-left: 0.2rem;
  }
  
  input {
    padding: 0.6rem;
    border-radius: 1rem;
    border: none;
    outline: none;
    font-size: 1rem;
  }
  
  button {
    margin-top: 1rem;
    padding: 0.6rem;
    font-size: 1rem;
    border: none;
    border-radius: 0.6rem;
    background: white;
    color: black;
    cursor: pointer;
    transition: background 0.3s;
    width: 50%; /* half the width */
    align-self: center; /* center it horizontally in the form */
  }
  
  button:hover {
    background: #ddd;
  }
  
  footer {
    margin-top: 2rem;
    font-size: 0.75rem;
    color: #aaa;
  }
  
  .footer-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.5rem;
  }
  
  .footer-links a {
    color: #aaa;
    text-decoration: none;
  }
  
  .footer-links a:hover {
    text-decoration: underline;
  }
#admin-login {
  margin-top: 2rem;
  max-width: 450px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  color: white; /* match page text color */
  /* Optional: add padding for alignment with form */
  padding: 0 1rem;
  box-sizing: border-box;
}

#admin-login h3 {
  margin-bottom: 1rem;
  font-weight: 600;
}

/* Container holding the two input groups side by side */
.inputs-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  justify-content: space-between;
}

/* Each label + input stacked vertically */
.input-group {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0; /* prevent overflow */
}

/* Style the labels */
.input-group label {
  margin-bottom: 0.3rem;
  font-size: 0.9rem;
  text-align: left;
}

/* Inputs fill their container, but limit max width */
.input-group input {
  padding: 0.6rem;
  border-radius: 1rem;
  border: none;
  outline: none;
  font-size: 1rem;
  width: 100%;
  max-width: 200px; /* Keeps inputs narrower than full container */
  box-sizing: border-box;
}

/* Responsive: stack inputs on small screens */
@media (max-width: 480px) {
  .inputs-row {
    flex-direction: column;
    gap: 0.75rem;
  }

  .input-group input {
    max-width: 100%; /* full width on mobile */
  }
}

/* Admin login button styling */
#admin-login-btn {
  padding: 0.6rem;
  font-size: 1rem;
  border: none;
  border-radius: 0.6rem;
  background: white;
  color: black;
  cursor: pointer;
  transition: background 0.3s;
  width: 100%; /* full width matching container */
  max-width: 450px; /* keep consistent with container */
  margin: 0 auto; /* center if max-width kicks in */
  display: block;
}

#admin-login-btn:hover {
  background: #ddd;
}

/* Optional: adjust download button to match style */
#download-btn {
  margin-top: 1rem;
  padding: 0.6rem;
  font-size: 1rem;
  border: none;
  border-radius: 0.6rem;
  background: white;
  color: black;
  cursor: pointer;
  transition: background 0.3s;
  width: 100%;
  max-width: 450px;
  display: none; /* initially hidden by JS */
}

#download-btn:hover {
  background: #ddd;
}
