* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  min-height: 100vh;
  background: url("bg.jpg") no-repeat center center fixed;
  background-size: cover;
  position: relative;
}

/* Dark overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(6px);
  z-index: -1;
}

/* WRAPPER */
.auth-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* CARD */
.auth-card {
  width: 90%;
  max-width: 460px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 30px 70px rgba(0,0,0,0.6);
  overflow: hidden;
}

/* IMAGE SECTION */
.auth-image {
  background: rgba(255,255,255,0.08);
  padding: 48px 20px 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-image img {
  width: 100%;
  max-width: 320px;
  height: auto;
  object-fit: contain;
}

/* TABS */
.auth-tabs {
  display: flex;
  justify-content: space-around;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.auth-tabs a,
.auth-tabs span {
  font-weight: 600;
  font-size: 15px;
  color: #d1d5db;
  text-decoration: none;
}

.auth-tabs .active {
  color: #ffd369;
  border-bottom: 3px solid #ffd369;
  padding-bottom: 6px;
}

/* FORM */
.auth-form {
  padding: 30px 28px 34px;
}

.auth-form label {
  font-size: 13px;
  color: #f3f4f6;
  margin-top: 16px;
  display: block;
}

.auth-form input {
  width: 100%;
  height: 48px;
  margin-top: 6px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.15);
  color: #ffffff;
  font-size: 14px;
  transition: 0.3s ease;
}

.auth-form input::placeholder {
  color: #e5e7eb;
}

.auth-form input:focus {
  outline: none;
  border-color: #ffd369;
  background: rgba(255,255,255,0.2);
  box-shadow: 0 0 0 4px rgba(255, 211, 105, 0.25);
}

/* BUTTON */
.auth-form button {
  margin-top: 0; /* ✅ removed margin */
  width: 100%;
  height: 50px;
  border: none;
  border-radius: 16px;
  background: linear-gradient(135deg, #ffd369, #ff9f1c);
  color: black;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: 0.2s ease;
}

.auth-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(255, 159, 28, 0.5);
}

/* FORGOT */
.forgot {
  display: block;
  margin-top: 14px; /* unchanged */
  font-size: 13px;
  text-align: right;
  color: #ffd369;
  text-decoration: none;
}

/* SWITCH TEXT */
.switch-text {
  margin-top: 18px;
  font-size: 13px;
  text-align: center;
  color: #e5e7eb;
}

.switch-text a {
  color: #ffd369;
  text-decoration: none;
}

/* FOOTER CTA */
.auth-footer {
  margin-top: 30px;
  width: 100%;
  max-width: 460px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  padding: 22px;
  border-radius: 20px;
  text-align: center;
}

.footer-buttons {
  display: flex;
  gap: 12px;
  margin: 16px 0;
}

.footer-buttons a {
  flex: 1;
  padding: 12px;
  background: linear-gradient(135deg, #ffd369, #ff9f1c);
  color: black;
  border-radius: 12px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

/* FOOTER LINKS */
.footer-links {
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  color: #e5e7eb;
}

/* LEGAL */
.legal-link {
  color: #ff4d4d;
  text-decoration: none;
}

/* MOBILE */
@media (max-width: 480px) {
  .auth-card {
    max-width: 100%;
    border-radius: 22px;
  }

  .auth-image {
    padding: 36px 16px 28px;
  }

  .auth-image img {
    max-width: 260px;
  }

  .footer-buttons {
    flex-direction: column;
  }
}
