@import url("https://fonts.googleapis.com/css2?family=Bumblegum+Sans&display=swap");

/* 🌟 BASIC RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Bumblegum Sans", cursive;
  background-color: #fffef7;
  overflow-x: hidden;
}

/* 🧭 MAIN CONTAINER */
.loginContainer {
  width: 100%;
  min-height: 100vh;
  background-color: #fffef7;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.auth-brand-title {
  font-family: "Bumblegum Sans", cursive;
  font-size: clamp(22px, 5vw, 42px);
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 20px;
}

.divider {
  width: 160px; 
  height: 3px;
  background: linear-gradient(90deg, #ffdd57, #ff8a65, #42a5f5);
  border-radius: 4px;
  margin: 8px auto 16px;
}

/* 🌳 LAND */
.land {
  position: fixed;
  bottom: -70px;
  left: 0;
  width: 100%;
  height: clamp(150px, 28vw, 450px);
  z-index: 1;
  border-top-left-radius: 50%;
  border-top-right-radius: 50%;
  object-fit: cover;
  pointer-events: none;
}

/* ☁️ CLOUDS */
.cloud-left,
.cloud-right,
.cloud-right1 {
  position: fixed;
  object-fit: contain;
  z-index: 3;
  opacity: 0.95;
  pointer-events: none;
}

.cloud-left {
  top: clamp(40px, 8vw, 80px);
  left: clamp(10px, 3vw, 40px);
  width: clamp(80px, 16vw, 260px);
  height: auto;
  z-index: 1;
}

.cloud-right {
  top: clamp(10px, 2vw, 30px);
  right: clamp(5px, 2vw, 20px);
  width: clamp(80px, 16vw, 250px);
  height: auto;
  z-index: 4;
}

.cloud-right1 {
  top: clamp(50px, 8vw, 130px);
  right: clamp(5px, 2vw, 20px);
  width: clamp(120px, 24vw, 380px);
  height: auto;
  z-index: 2;
}

/* 🎈 BALLOON */
.balloon {
  position: fixed;
  left: clamp(-60px, -2vw, 20px);
  top: 8%;
  width: clamp(100px, 22vw, 380px);
  height: auto;
  background-image: url("/assets/images/balloon.png");
  background-size: contain;
  background-repeat: no-repeat;
  aspect-ratio: 1 / 1.3;
  z-index: 2;
  pointer-events: none;
}

/* 🧩 FORM CONTAINERS */
.form_container,
.form_container-register,
.form_container-forgot {
  position: relative;
  z-index: 10;
  width: min(560px, 92vw);
  padding: clamp(24px, 5vw, 40px);
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid #000;
  border-radius: 16px;
  box-shadow: 4px 4px 0px #00000030;
  font-family: "Bumblegum Sans", cursive;
  backdrop-filter: blur(6px);
}

/* 🖋️ TITLE */
.title {
  text-align: center;
  font-size: clamp(18px, 5vw, 26px);
  font-weight: 700;
  color: #222;
  margin: 0 0 12px;
  font-family: "Bumblegum Sans", cursive;
}

/* ✏️ INPUT FIELDS */
.input_container {
  text-align: left;
  margin-bottom: 12px;
}

.input_label {
  font-weight: 600;
  font-size: clamp(13px, 2.5vw, 18px);
  font-family: "Bumblegum Sans", cursive;
  display: block;
  margin-bottom: 4px;
  color: #333;
}

.input_field {
  width: 100%;
  height: clamp(36px, 5vw, 42px);
  border: 2px solid #ccc;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: clamp(13px, 2.5vw, 15px);
  font-family: "Bumblegum Sans", cursive;
  background: #fffef7;
}

.input_field:focus {
  outline: none;
  border-color: #4caf50;
  background: #fff;
}

/* 🔘 BUTTON */
.sign-in_btn {
  width: 100%;
  height: clamp(40px, 6vw, 48px);
  margin: 12px 0 8px;
  background-color: #ffdd57;
  border: 2px solid #000;
  border-radius: 10px;
  font-size: clamp(14px, 2.5vw, 18px);
  font-weight: 700;
  cursor: pointer;
  box-shadow: 3px 3px 0px #000;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  font-family: "Bumblegum Sans", cursive;
  display: block;
}

.sign-in_btn:hover {
  transform: translateY(-2px);
  box-shadow: 3px 5px 0px #000;
}

.sign-in_btn:active {
  transform: translateY(1px);
  box-shadow: 2px 2px 0px #000;
}

.sign-in_btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: 3px 3px 0px #000;
}

/* 🔗 FOOTER LINKS */
.sign-in_footer {
  font-size: clamp(12px, 2vw, 14px);
  margin-top: 8px;
  text-align: center;
  font-family: "Bumblegum Sans", cursive;
  color: #555;
}

.note {
  color: #1e88e5;
  text-decoration: none;
  font-weight: 700;
}

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

/* 🌬️ CLOUD ANIMATIONS */
@keyframes cloudDrift {
  0%   { transform: translateX(-400px); opacity: 0; }
  3%   { opacity: 1; }
  100% { transform: translateX(110vw); opacity: 1; }
}

.cloud-left  { animation: cloudDrift 20s linear infinite; }
.cloud-right { animation: cloudDrift 25s linear infinite; }
.cloud-right1 { animation: cloudDrift 30s linear infinite; }

.cloud-left.clone  { animation: cloudDrift 40s linear infinite; animation-delay: 10s; opacity: 0; }
.cloud-right.clone { animation: cloudDrift 40s linear infinite; animation-delay: 20s; opacity: 0; }
.cloud-right1.clone { animation: cloudDrift 50s linear infinite; animation-delay: 25s; opacity: 0; }

/* 🎈 BALLOON ANIMATION */
@keyframes balloonDrift {
  0%   { transform: translate(0, 0); }
  20%  { transform: translate(10vw, -30px); }
  40%  { transform: translate(30vw, 20px); }
  60%  { transform: translate(55vw, -40px); }
  80%  { transform: translate(80vw, 30px); }
  100% { transform: translate(110vw, 0); }
}

.balloon {
  animation: balloonDrift 20s linear infinite;
  left: -200px;
}

/* 📱 MOBILE */
@media (max-width: 480px) {
  .loginContainer {
    padding-top: 130px;
    padding-bottom: 60px;
    align-items: flex-start;
  }

  .form_container,
  .form_container-register,
  .form_container-forgot {
    width: 95vw;
    padding: 20px 16px 24px;
  }

  .balloon { display: none; }
  .cloud-right1 { display: none; }
}

/* 📱 TABLET */
@media (min-width: 481px) and (max-width: 768px) {
  .loginContainer {
    padding-top: 140px;
  }

  .form_container,
  .form_container-register,
  .form_container-forgot {
    width: 88vw;
  }

  .balloon {
    width: 150px;
  }
}