/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

/* PAGE */
.auth-page {
  display: flex;
  height: 100vh;
  width: 100%;
}
/* MAIN BRAND BLOCK */
.brand {
  margin-bottom: 40px;
}

/* BIG TEXT (ONGOING STYLE) */
.big-text {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 2px;
}

/* SCRIPT TEXT (PROJECTS STYLE) */
.script-text {
  font-family: 'Great Vibes', cursive;
  font-size: 42px;
  color: #d4a373; /* gold tone */
  margin: -10px 0 -10px 10px;
}

/* LEFT IMAGE */
.auth-left {
  flex: 1;
  position: relative;
  overflow: hidden;

  background: url('/image/pixel-walls2.png') center/cover no-repeat;
  animation: zoomBg 20s ease-in-out infinite alternate;
}

/* DARK GRADIENT OVERLAY */
.auth-left::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.2), rgba(0,0,0,0.85));
}

.auth-left::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,215,0,0.25), transparent 70%);
  top: 20%;
  left: 30%;
  filter: blur(80px);
  animation: floatGlow 8s ease-in-out infinite;
}

@keyframes floatGlow {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-40px); }
}


/* RIGHT PANEL */
.auth-right {
  width: 420px;
  background: #000;

  display: flex;
  align-items: flex-start;
  justify-content: center;

  padding: 100px 40px 40px;   /* 🔥 more top space */
}
/* BOX */
.auth-box input {
  width: 100%;
  padding: 16px;              /* 🔥 bigger */
  margin-bottom: 16px;        /* 🔥 more gap */

  border-radius: 10px;
  border: 1px solid #222;

  background: #0f0f0f;
  color: #fff;
}

.auth-box input:focus {
  outline: none;
  border: 1px solid #ffd700;
  box-shadow: 0 0 10px rgba(255,215,0,0.4);
}

/* LOGO */
.logo {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 20px;
}

/* TITLE */
.auth-box h2 {
  margin-bottom: 25px;
}

/* INPUT */
.auth-box input {
  width: 100%;
  padding: 14px;
  margin-bottom: 12px;
  border-radius: 8px;
  border: 1px solid #222;
  background: #111;
  color: #fff;
}

/* BUTTON */
.auth-box button {
  width: 100%;
  padding: 14px;
  border-radius: 10px;
  border: none;

  background: linear-gradient(135deg, #ffd700, #ffb300);
  color: #000;
  font-weight: 600;

  cursor: pointer;
  position: relative;
  overflow: hidden;
}

/* SHINE EFFECT */
.auth-box button::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.6), transparent);
}

.auth-box button:hover::after {
  left: 100%;
  transition: 0.6s;
}

.auth-box button:hover {
  transform: scale(1.03);
}
.auth-box {
  animation: fadeUp 0.8s ease;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* LINK */
.link {
  margin-top: 15px;
  font-size: 13px;
  color: #aaa;
}


.link span {
  color: #fff;
  cursor: pointer;
}

/* BRAND SECTION */
.brand {
  margin-bottom: 30px;
  text-align: center;   /* 🔥 EVERYTHING CENTERED */
}

/* WELCOME */
.big-text {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  line-height: 1.1;
  margin: 0;
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 34px;
  margin: 0;
}

/* TO */
.script-text {
  font-family: 'Lobster Two', cursive;
  font-size: 28px;
  color: #d4a373;
  padding-top: 10%;
  text-align: center;
  margin: -6px 0 -6px 0;
}

/* WELCOME TEXT */
.welcome {
  font-size: 12px;
  letter-spacing: 3px;
  color: #aaa;
  margin-bottom: 6px;
}

/* MAIN LOGO TEXT */
.logo-text {
  font-size: 34px;
  font-weight: 700;

  background: linear-gradient(135deg, #ffffff, #ffd700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  letter-spacing: 1px;
}

/* SUBTEXT */
.sub {
  font-size: 13px;
  color: #888;
  margin-bottom: 25px;
}

/* SUCCESS POPUP */
.success-popup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  pointer-events: none;
  transition: 0.4s;
  z-index: 999;
}

.success-popup.show {
  opacity: 1;
  pointer-events: all;
}

.success-box {
  background: #111;
  padding: 30px 40px;
  border-radius: 16px;
  text-align: center;

  transform: scale(0.8);
  opacity: 0;

  transition: 0.4s;
}

.success-popup.show .success-box {
  transform: scale(1);
  opacity: 1;
}

/* CHECK ICON */
.checkmark {
  font-size: 40px;
  color: #00ff88;
  margin-bottom: 10px;

  animation: pop 0.5s ease;
}

@keyframes pop {
  0% { transform: scale(0); }
  80% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* BUTTON LOADING */
.auth-box button {
  position: relative;
}

/* TEXT */
.btn-text {
  display: inline-block;
}

/* SPINNER */
.spinner {
  width: 18px;
  height: 18px;
  border: 2px solid transparent;
  border-top: 2px solid #000;
  border-radius: 50%;

  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  animation: spin 0.6s linear infinite;
  display: none;
}

@keyframes spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* LOADING STATE */
button.loading .btn-text {
  opacity: 0;
}

button.loading .spinner {
  display: block;
}