body {
  font-family: Arial, sans-serif;
  background-color: #f0f4f8;
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-size: 20px;
}

.signin-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.signin-box {
  background: white;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  width: 70%;
  max-width: 900px;
  font-size: 25px;
}

.google-logo {
  display: block;
  margin: 0 auto 15px;
  width: 80px;
  max-width: 100%;
  height: auto;
}

h1 {
  margin-top: 0;
  font-size: 30px;
}

label {
  display: block;
  margin-top: 20px;
  font-size: 22px;
}

input {
  width: 100%;
  padding: 12px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 18px;
  box-sizing: border-box;
}

.link {
  display: inline-block;
  margin-top: 10px;
  font-size: 16px;
  color: #1a73e8;
  text-decoration: none;
}

.link:hover {
  text-decoration: underline;
}

.footer-text {
  font-size: 0.9rem;
  margin-top: 20px;
  color: #555;
}

.button-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.link-btn {
  background: none;
  border: none;
  color: #1a73e8;
  cursor: pointer;
  font-size: 1rem;
  padding: 10px;
}

.next-btn {
  background-color: #1a73e8;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 18px;
  flex: 1;
  min-width: 120px;
}

.next-btn:hover {
  background-color: #1669c1;
}

.bottom-links {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 100%;
  max-width: 900px;
  font-size: 0.95rem;
  margin-top: 20px;
  padding: 0 10px;
}

.bottom-links a {
  margin-left: 10px;
  color: #555;
  text-decoration: none;
}

.bottom-links a:hover {
  text-decoration: underline;
}

/* Tablet */
@media (max-width: 768px) {
  .signin-box {
    width: 90%;
    padding: 30px;
    font-size: 20px;
  }

  .button-row {
    flex-direction: column;
    align-items: stretch;
  }

  .link-btn, .next-btn {
    width: 100%;
    text-align: center;
  }
}

/* Mobile */
@media (max-width: 480px) {
  body {
    font-size: 16px;
  }

  .signin-box {
    width: 95%;
    padding: 20px;
    font-size: 1rem;
  }

  h1 {
    font-size: 24px;
  }

  label {
    font-size: 16px;
  }

  input {
    font-size: 16px;
    padding: 10px;
  }

  .link {
    font-size: 14px;
  }

  .google-logo {
    width: 60px;
  }
}
