:root {
  --golden-yellow: #ffcd00;
  --charcoal-blue: #212533;
  --vivid-gold: #e5b400;
}

/* ===== GLOBAL ===== */
body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: #ffffff;
  color: var(--charcoal-blue);
  overflow-x: hidden;
}

.login-container {
  min-height: 100vh;
  display: flex;
  overflow: hidden;
}

/* ===== LEFT FORM (60%) ===== */
.form-section {
  flex: 0 0 55%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: clamp(1.5rem, 3vw, 3rem);
  position: relative;
  background: #ffffff;
}

/* Decorative images */
.form-section::before,
.form-section::after {
  content: "";
  position: absolute;
  width: 353px;
  height: 353px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  pointer-events: none;
  z-index: 0;
}

/* TOP-LEFT → HONEY / HONEYCOMB */
.form-section::before {
  top: -57px;
  left: -90px;
  background-image: url("../../assets/logo/UpperSide.png");
  opacity: 0.9;
}

/* BOTTOM-RIGHT → LOGO */
.form-section::after {
  bottom: -90px;
  right: -90px;
  background-image: url("../../assets/logo/LowerSide.png");
  opacity: 0.9;
  transform: scale(-1, -1);
}

.form-wrapper {
  width: 100%;
  max-width: 420px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.logo-area img {
  max-width: 240px;
  margin-bottom: 1.5rem;
}

.form-control {
  border-radius: 8px;
  padding: 0.75rem;
}

.btn-signup {
  background: #ff5722;
  border: none;
  color: #fff;
  font-weight: 600;
  padding: 0.8rem;
  border-radius: 8px;
  width: 100%;
}

.btn-signup:hover {
  background: #e64a19;
}

/* ===== RIGHT BELT (40%) ===== */
.visual-section {
  flex: 0 0 45%;
  background: var(--vivid-gold);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
}

/* BELTS */
.belts {
  display: flex;
  gap: 25px;
  /* Slightly reduced gap to fit wider cards */
}

/* SINGLE BELT */
.belt {
  width: 280px;
  /* INCREASED WIDTH: Gives your 769x434 images enough room to look great */
  height: 100vh;
  overflow: hidden;
}

/* TRACK */
.belt-track {
  display: flex;
  flex-direction: column;
}

/* PROFILE CARD (RECTANGLE) */
.profile-card {
  /* background: #ffffff00; */
  border-radius: 16px;
  /* padding: 12px; */
  margin-bottom: 22px;
  /* box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18); */
}

/* PERFECT IMAGE AREA */
.avatar {
  width: 100%;
  aspect-ratio: 769 / 434;
  /* MAGIC FIX: Matches your exact image dimensions perfectly */
  height: auto;
  /* Replaces the broken fixed 160px height */
  border-radius: 12px;
  background-color: #e0e7ff00;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ANIMATIONS */
.belt.down .belt-track {
  animation: scrollDown 50s linear infinite;
}

.belt.up .belt-track {
  animation: scrollUp 50s linear infinite;
}

@keyframes scrollDown {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-50%);
  }
}

@keyframes scrollUp {
  from {
    transform: translateY(-50%);
  }

  to {
    transform: translateY(0);
  }
}

/* =========================
   TABLET & MOBILE
   ========================= */
@media (max-width: 991px) {
  .visual-section {
    display: none;
  }

  .form-section {
    flex: 0 0 100%;
    padding: 2.5rem 1.5rem;
  }

  .form-wrapper {
    max-width: 460px;
  }
}

@media (max-width: 767px) {
  .form-section {
    padding: 2rem 1.25rem;
  }

  .logo-area img {
    max-width: 180px;
  }

  h5 {
    font-size: 1.1rem;
  }

  .form-control {
    padding: 0.85rem;
    font-size: 0.95rem;
  }

  .btn-signup {
    padding: 0.9rem;
    font-size: 1rem;
  }

  .form-section::before,
  .form-section::after {
    display: none !important;
  }
}