*
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    height: 100%;
}


body {
  margin: 0;
  font-family: 'Inter', sans-serif;

  background:
    linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.8)),
    url("https://images.unsplash.com/photo-1588072432836-e10032774350");

  background-size: cover;
  background-position: center;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 20px; /* THIS fixes edge crush on mobile */
}

/* Login Card */
.login-select {
  background: rgba(255, 255, 255, 0.97);
  padding: 36px 24px;
  border-radius: 18px;
  width: 100%;
  max-width: 380px;
  text-align: center;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}
/* Headings */
.login-select h1 {
  font-size: 1.8rem;
  margin-bottom: 6px;
  color: #0f172a;
}

.login-select p {
  font-size: 0.95rem;
  color: #64748b;
  margin-bottom: 28px;
}

/* Buttons */
.login-btn {
  display: block;
  width: 100%;
  padding: 16px;
  margin-bottom: 14px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  box-sizing: border-box;
}
.login-btn.learner {
  background: #1e88e5;
  color: white;
}

.login-btn.mentor {
  background: transparent;
  color: #0f172a;
  border: 2px solid #0f172a;
}


.login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.18);
}

.back-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.9rem;
  color: #64748b;
  text-decoration: none;
}

.back-link:hover {
  color: #0f172a;
}
