* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f2f4f8;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.branding {
  text-align: center;
  margin-top: -25%;  
  margin-right: 10%;  
}



.branding h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #f57c00; /* orange */
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.05);
}

.branding p {
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #455a64; /* modern eye-catching grey-blue */
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Form container */
.form-container {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 18px;
  padding: 25px 55px;
  max-width: 420px;
  width: 100%;
  
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
}

.form-container h2 {
  text-align: center;
  margin-bottom: 25px;
  font-size: 1.8rem;
  color: #2e7d32; /* green */
  border-bottom: 2px solid #dce775;
  padding-bottom: 8px;
}

/* Alert messages */
.alert {
  padding: 12px 15px;
  margin-bottom: 20px;
  border-radius: 8px;
  font-weight: 500;
  text-align: center;
}

.alert-success {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #c8e6c9;
}

.alert-error,
.alert-danger {
  background: #ffebee;
  color: #c62828;
  border: 1px solid #ef9a9a;
}

/* Form elements */
form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

form label {
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0px 2px 0px 0px;
  color: #444;

}

form input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  background: #f9f9f9;
  resize: none;
}

form input:focus,
form textarea:focus {
  border-color: #fbc02d; /* yellow */
  background: #fff;
  outline: none;
}

/* Submit button */
.button-wrapper {
  text-align: center;
  margin-top: 10px;
}

button[type="submit"] {
  background: linear-gradient(135deg, #f57c00, #fbc02d); /* orange-yellow */
  color: white;
  border: none;
  padding: 14px 30px;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

button[type="submit"]:hover {
  background: linear-gradient(135deg, #fbc02d, #f57c00);
}

/* Form footer */
.form-footer {
  text-align: center;
  margin-top: 25px;
  border-top: 1px solid #eee;
  padding-top: 15px;
}

.form-footer p {
  color: #777;
  padding: 3% 0
}

.form-footer a {
  color: #388e3c; /* green */
  font-weight: 600;
  text-decoration: none;
}

.form-footer a:hover {
  color: #f57c00;
}

form textarea {
  width: 100%;
  font-size: 1rem;
  background: #f9f9f9;
  resize: none;
  min-height: 40px;
  max-height: 70px;
  line-height: 1.6;
  background-color: #fdfdfd;
  border: 1px solid #ccc;
  padding: 4px 12px;
  border-radius: 14px;
  font-size: 15px;
  color: #333;
  resize: none;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}


/* ---------------------------------
   ✅ Mobile Responsiveness Queries
   --------------------------------- */

/* Devices: Tablets and smaller (≤ 768px) */
@media (max-width: 768px) {


  .helptext{
    display: none;
  }
  body {
    flex-direction: column;
    padding: 10px;
  }

  .branding {
    margin: 0 auto 20px auto;
    padding: 0 10px;
    text-align: center;
  }

  .branding h1 {
    font-size: 1.8rem;
  }

  .branding p {
    margin-top: 1rem;
    font-size: 0.9rem;
    max-width: 100%;
  }

  .form-container {
    width: 100%;
    max-width: 90%;
    padding: 20px 18px;
  }

  button[type="submit"],
  .google-btn {
    width: 100%;
    padding: 12px;
    font-size: 0.95rem;
  }

  .form-footer p,
  .form-footer a,
  .login-divider {
    font-size: 0.85rem;
  }

  .alert {
    font-size: 0.9rem;
  }
}

/* Devices: Phones (≤ 480px) */
@media (max-width: 480px) {
    .helptext{
    display: none;
  }
  .branding h1 {
    font-size: 1.5rem;
  }

  .branding p {
    font-size: 0.85rem;
    line-height: 1.4;
  }

  .form-container h2 {
    font-size: 1.4rem;
  }

  form input,
  form textarea {
    font-size: 0.9rem;
    padding: 10px 12px;
  }

  .google-btn,
  button[type="submit"] {
    font-size: 0.9rem;
    padding: 10px;
  }

  .form-footer {
    margin-top: 10px;
  }

  .login-divider {
    margin: 10px 0;
  }

  .alert {
    padding: 10px 12px;
    font-size: 0.85rem;
  }
}



