body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: linear-gradient(to bottom, #e8faff 50%, #41dcff);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  height: 100%;
}

.container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  padding: 0 50px;
}

    /* Logo on the left */
.logo-box { 
  flex: 1;
}

.logo-box img { 
  width: 120%; 
  transform: translateX(-40%) translateY(-2%);
}
/* Signup box styled like login */
.signup-box {
  padding: 50px;
  border-radius: 10px;
  width: 450px; /* wider form */
}

.signup-box h2 {
  margin: 0;
  color: #004b73;
  font-size: 50px;
  font-weight: bold;
  text-align: center;
}

.signup-box p {
  text-align: center;
  font-size: 16px;
  color: #666;
  margin-bottom: 20px;
}

.input-box {
  margin-bottom: 15px;
}

.input-box input {
  width: 100%;
  padding: 14px;
  border: 1px solid #0b4b75;
  border-radius: 6px;
  font-size: 22px; /* bigger font size */
  color: #0b4b75;
  box-sizing: border-box;
}

.signup-btn {
  width: 100%;
  margin-top: 20px;
  padding: 14px;
  border-radius: 6px;
  font-size: 22px; /* bigger button text */
  border: none;
  background: #0b4b75;
  color: white;
  cursor: pointer;
  display: block;
  box-sizing: border-box;
}

.signup-btn:hover {
  background: #005fa3;
}

.options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  font-size: 15px;
}

.options label {
  display: flex;
  align-items: center;
  gap: 6px;
}

.options a {
  color: #004b73;
  text-decoration: none;
}

.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;
}

/* ✅ Mobile (≤576px) */
@media (max-width: 576px) {
  body {
    height: 100%;        /* fit exactly to screen */
    overflow: auto;     /* prevent scrolling */
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .container {
    flex-direction: column;
    align-items: center;
    padding: 10px;        /* smaller padding */
    width: 100%;
    height: 100%;         /* occupy full height */
    box-sizing: border-box;
  }

  .logo-box {
    order: -1;
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
    width: 100%;
  }

  .logo-box img {
    width: 100px;   /* smaller logo */
    height: auto;
    transform: none;
  }

  .signup-box {
    width: 90%;            /* keep inside screen */
    max-width: 320px;      /* avoid overflow */
    padding: 20px;
    background: rgba(255,255,255,0.3); /* overlay */
    box-sizing: border-box;
  }

  .signup-box h2 {
    font-size: 28px;       /* smaller font */
  }

  .signup-box p {
    font-size: 14px;
  }

  .input-box input {
    font-size: 16px;       /* smaller input text */
    padding: 10px;
  }

  .signup-btn {
    font-size: 18px;
    padding: 12px;
  }

  .social-login {
    font-size: 13px;
  }

  .social-btn {
    font-size: 14px;
    padding: 10px;
  }
}

/* ✅ Tablet (iPad Pro: 577px–1024px) */
@media (min-width: 577px) and (max-width: 1024px) {
  body {
    min-height: 100vh;  /* fill full height */
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .container {
    flex-direction: column;
    align-items: center;
    padding: 40px;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
  }

  .logo-box {
    order: -1;
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    width: 100%;
  }

  .logo-box img {
    width: 500px; /* bigger logo for iPad */
    height: auto;
    transform: none;
  }

  .signup-box {
    width: 100%;
    max-width: 900px;
    padding: 50px;
    background: rgba(255,255,255,0.3);
    box-sizing: border-box;
    margin-top: - 5%;
  }

  .signup-box h2 {
    font-size: 52px;
  }

  .signup-box p {
    font-size: 20px;
  }

  .input-box input {
    font-size: 22px;
    padding: 16px;
  }

  .signup-btn {
    font-size: 24px;
    padding: 16px;
  }

  .social-login {
    font-size: 18px;
  }

  .social-btn {
    font-size: 18px;
    padding: 14px;
  }
}

