/* Reset */
* {
  box-sizing: border-box;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Page centering */
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1f2933, #111827);
  color: #fff;
}

/* Wrapper */
#logincontent {
  width: 100%;
  padding: 1rem;
}

/* Form */
.login-form {
  width: 100%;
  max-width: 420px;   /* wider on mobile */
  margin: auto;
  background: #1f2933;
  padding: 2rem;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Title */
.login-form h2 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 2rem;
}

/* Inputs */
.login-form input {
  width: 100%;
  height: 56px;              /* BIG touch target */
  padding: 0 1rem;
  margin-bottom: 1.25rem;
  border-radius: 8px;
  border: none;
  font-size: 1.1rem;         /* readable without zoom */
}

/* Button */
.login-form button {
  width: 100%;
  height: 56px;
  font-size: 1.1rem;
  font-weight: 600;
  background: #3b82f6;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.login-form button:hover {
  background: #2563eb;
}

/* Error */
#login-error {
  margin-top: 1.25rem;
  text-align: center;
  font-size: 1rem;
  color: #f87171;
}

/* 📱 Extra mobile boost */
@media (max-width: 480px) {
  .login-form {
    padding: 2.25rem 1.5rem;
  }

  .login-form h2 {
    font-size: 2rem;
  }

  .login-form input,
  .login-form button {
    height: 60px;        /* even bigger on small screens */
    font-size: 1.15rem;
  }
}
