* {
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(120deg,#9b0389,#bc0205,#d5d359);
  padding: 20px; /* 🔥 prevents overflow on small screens */
}

/* SIGNUP LINK */
.signup {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 14px;
}

.signup a {
  color: #fff;
  font-weight: bold;
  text-decoration: underline;
}

/* LOGIN CARD */
.login-container {
  width: 100%;
  max-width: 420px;     /* 🔥 responsive width */
  background: #000;
  color: #fff;
  border-radius: 12px;
  padding: 40px 30px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

/* TITLE */
.login-container h1 {
  text-align: center;
  margin-bottom: 10px;
  font-size: 32px;
}

.login-container p {
  text-align: center;
  color: #aaa;
  margin-bottom: 30px;
  font-size: 14px;
}

/* INPUTS */
.input-group {
  margin-bottom: 15px;
}

.input-group input {
  width: 100%;
  padding: 14px;
  border-radius: 10px;
  border: none;
  outline: none;
  background: #1a1a1a;
  color: #fff;
  font-size: 14px;
}

/* LOGIN BUTTON */
.login-btn {
  width: 100%;
  padding: 14px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-size: 16px;
  background: #fff;
  color: #000;
  margin-top: 10px;
  font-weight: bold;
}

/* DIVIDER */
.divider {
  height: 1px;
  background: #222;
  margin: 25px 0;
}

/* SOCIAL BUTTONS */
.social-btn {
  width: 100%;
  padding: 14px;
  margin-bottom: 12px;
  border-radius: 10px;
  border: 1px solid #333;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
}

.social-btn:hover {
  background: #111;
}

/* FORGOT PASSWORD */
.forgot {
  text-align: center;
  margin-top: 15px;
  font-size: 13px;
  color: #aaa;
  cursor: pointer;
}

.forgot:hover {
  text-decoration: underline;
}

/* =========================
   📱 MOBILE FIXES
========================= */
@media (max-width: 480px) {

  .signup {
    text-align: center;
    margin-bottom: 15px;
  }

  .login-container {
    padding: 30px 20px;
  }

  .login-container h1 {
    font-size: 26px;
  }

  .login-container p {
    font-size: 13px;
  }

  .login-btn,
  .social-btn {
    font-size: 14px;
    padding: 12px;
  }
}
