* {
  box-sizing: border-box;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

body{margin:0;min-height:100vh;background-image:image-set(url("bg.webp") 1x,url("bg.webp") 2x);background-size:cover;background-position:center;background-repeat:no-repeat;background-attachment:scroll;color:white;}





body::before{content:"";position:fixed;inset:0;background:rgba(0,0,0,.45);pointer-events:none;}




/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 56px;

  display: flex;
  align-items: center;

  padding: 0 20px;
  background: #111;
  z-index: 100;

  position: relative; /* REQUIRED for centering search */
}

.logo {
  font-weight: 700;
  margin-right: 24px;
}

.nav-links span {
  margin-right: 18px;
  opacity: 0.85;
  cursor: pointer;
}

/* CENTERED SEARCH */
.search {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);

  width: 260px;
  height: 32px;

  background: #222;
  border: none;
  color: white;
  padding: 0 10px;
  border-radius: 6px;
}

/* RIGHT BUTTON */
.signup {
  margin-left: auto;
  height: 32px;
  padding: 0 12px;

  background: #2563eb;
  border: none;
  color: white;
  border-radius: 6px;
  cursor: pointer;
}







/* CENTERING WRAPPER */
.page-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* LOGIN CARD */
.login-card {
  background: #232527;
  width: 360px;
  padding: 28px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.7);
}

/* TITLE */
.login-card h2 {
  margin-bottom: 18px;
  font-size: 22px;
  font-weight: 600;
}

/* INPUTS */
.login-card input {
  width: 100%;
  height: 42px;
  margin-bottom: 12px;
  padding: 0 12px;
  background: #2f3136;
  border: 1px solid #3b3e45;
  border-radius: 8px;
  color: white;
  font-size: 14px;
  outline: none;
}

.login-card input::placeholder {
  color: #9ca3af;
}

.login-card input:focus {
  border-color: #6b7280;
}

/* MAIN BUTTON */
.login {
  width: 100%;
  height: 42px;
  margin-top: 6px;
  background: transparent;
  border: 1px solid #9ca3af;
  border-radius: 8px;
  color: white;
  font-size: 14px;
  cursor: pointer;
}

.login:hover {
  background: rgba(255,255,255,0.05);
}

/* LINK */
.login-card a {
  display: block;
  margin: 14px 0;
  font-size: 13px;
  color: #8b5cf6;
  text-decoration: none;
}

.login-card a:hover {
  text-decoration: underline;
}

/* SECONDARY BUTTONS */
.secondary {
  width: 100%;
  height: 42px;
  margin-top: 10px;
  background: #2f3136;
  border: none;
  border-radius: 8px;
  color: white;
  cursor: pointer;
}

.secondary:hover {
  background: #3a3d44;
}

/* FOOTER */
.login-card p {
  margin-top: 16px;
  font-size: 13px;
  color: #d1d5db;
}

.login-card span {
  color: #3b82f6;
  cursor: pointer;
}
/* Make links white instead of purple/blue */
.login-card a {
  color: white;
  text-decoration: none;
  opacity: 0.9;
}

.login-card a:hover {
  text-decoration: underline;
  opacity: 1;
}

/* Make "Sign Up" white too */
.login-card span {
  color: white;
  font-weight: 500;
}
