body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: linear-gradient(to bottom, #e8faff 50%, #41dcff);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  overflow: hidden;
}

.container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  padding: 0 50px;
}

.login-box {
  padding: 50px;
  border-radius: 10px;
  width: 450px; /* wider form */
}

.login-box h2 {
  margin: 0;
  color: #004b73;
  font-size: 32px;
  font-weight: bold;
  text-align: center;
  font-size: 50px;
}

.login-box p {
  text-align: center;
  font-size: 16px;
  color: #666;
  margin-bottom: 20px;
}

/* Wider form styles */
form {
  display: flex;
  flex-direction: column;
}

form label {
  margin-top: 15px;
  font-weight: bold;
  color: #0b4b75;
  font-size: 18px;
}

form input,
form textarea {
  padding: 14px;
  margin-top: 8px;
  border: 1px solid #0b4b75;
  border-radius: 6px;
  font-size: 22px; /* bigger font size */
  color: #0b4b75;
}

form button {
  margin-top: 20px;
  padding: 14px;
  background: #0b4b75;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 22px; /* bigger button text */
}

form button:hover {
  background: #005fa3;
}

.options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  font-size: 15px;
}

.options label {
  display: flex;
  align-items: center;
  gap: 6px;
}

.options a {
  color: #0b4b75;
  text-decoration: none;
  transform: translateY(50%);
}

.options a:hover {
  color: #005fa3;
  text-decoration: underline;
}

.social-login {
  margin-top: 25px;
  text-align: center;
  font-size: 15px;
  color: #666;
}

.social-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 18px;
  border: 1px solid #ccc;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  background: #f7f7f7;
  margin-top: 12px;
  box-sizing: border-box;
}

.social-btn img {
  width: 22px;
  height: 22px;
}

.logo-box { 
  flex: 1;
}

/* ✅ Mobile (≤576px) */
@media (max-width: 576px) {
  body {
    overflow-y: auto; /* allow scroll if content is taller */
    height: auto;
    min-height: 100vh;
  }

  .container {
    flex-direction: column;   /* stack logo above login */
    align-items: center;
    padding: 20px;
  }

  .logo-box {
    order: -1;   /* move logo above login */
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    width: 80px; /* smaller logo */
    transform: translateX(-16px) ;
  }



  .login-box {
    width: 100%;
    max-width: 350px;
    padding: 25px;
    background: rgba(255,255,255,0.3); /* optional overlay effect */
  }

  .login-box h2 {
    font-size: 36px;
  }

  form input,
  form button {
    font-size: 18px;
    padding: 12px;
  }
}

/* ✅ Tablet (iPad Pro, ~1024px) */
@media (max-width: 1024px) {
  .container {
    flex-direction: column;
    align-items: center;
    padding: 30px;
  }

  .logo-box {
    order: -1;
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    width: 180px;  /* slightly larger than mobile */
    transform: translateX(-36px);
  }

  .login-box {
    width: 100%;
    max-width: 450px;
    padding: 40px;
    background: rgba(255,255,255,0.3);
  }

  .login-box h2 {
    font-size: 44px;
  }
}


