* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Open Sans', sans-serif;
}

body {
  background-color: #faf8f6;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  
  /* Set initial zoom level to 100% (1.0) as requested */
  zoom: 1.0; 
}

.container {
  width: 90%;
  max-width: 1200px;
  /* Increased height to fit the longer form content */
  height: 95vh; 
  display: flex;
  border-radius: 20px;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

/* LEFT SECTION */
.left {
  flex: 1;
  background: url("images/background.jpg") center/cover no-repeat;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.overlay {
  text-align: center;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

.subtitle {
  font-style: italic;
  font-size: 1.1rem;
  color: #fff;
  margin: 0; 
}

.subtitle.signature {
  font-family: 'Tangerine', cursive;
  font-style: normal;
  font-size: 4rem;
  font-weight: 700;
  color: #d62828;
  text-shadow: 0 0 5px rgba(250, 250, 250, 0.7);
  margin-top: -10px;
}

.mascot {
  width: 100px;
  margin-top: -500px;
}

/* RIGHT SECTION */
.right {
  flex: 1;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  /* Start content from the top to prevent overflow */
  justify-content: flex-start; 
  align-items: center;
  padding: 30px;
  text-align: center;
  overflow-y: auto; /* Allow scrolling if the form is too long */
}

.top-promo-title {
  font-family: 'Playfair Display', serif;
  color: #6FD9EC; 
  font-size: 2.8rem; 
  margin-bottom: 25px; 
  line-height: 1.2;
}

.promo {
  font-family: 'Playfair Display', serif;
  color: #1DC4E2;
  font-size: 1.5rem;
  margin-bottom: 20px;
  line-height: 1.3;
}

.login-box {
  width: 80%;
  max-width: 350px;
  text-align: left;
  margin-top: 10px;
}

.login-box h3 {
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
}

.login-box .desc {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

label {
  display: block;
  font-size: 0.9rem;
  color: #333;
  margin-top: 10px;
}

/* 🛑 FIX: This block now includes all input types to ensure equal size 🛑 */
input[type="text"],
input[type="password"],
input[type="email"], 
input[type="text"] {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ddd;
  border-radius: 5px;
  outline: none;
  transition: 0.3s;
}

input:focus {
  border-color: #d62828;
}

.options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 15px 0;
  font-size: 0.85rem;
}

.options label {
  display: flex;
  align-items: center;
  gap: 5px;
}

.forgot {
  color: #d62828;
  text-decoration: none;
}

.forgot:hover {
  text-decoration: underline;
}

.login-btn {
  width: 100%;
  background-color: #1DC4E2;
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: 0.3s;
}

.login-btn:hover {
  background-color: #b61f1f;
}

.logo {
  text-align: center;
  margin-top: 20px;
}

.logo img {
  width: 50px;
}

.logo p {
  color: #6FD9EC;
  font-weight: 700;
  font-size: 0.9rem;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .container {
    flex-direction: column;
    height: auto;
  }

  .left, .right {
    width: 100%;
    flex: none;
  }

  .mascot {
    width: 180px; 
  }
}

/* ======= Popup ======= (Popup CSS remains the same) */
.popup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 100;
}

.popup.show {
  display: flex;
  animation: fadeIn 0.5s ease-in-out;
}

.popup-content {
  background: linear-gradient(135deg, #ffcc70, #ff8177);
  color: #fff;
  text-align: center;
  padding: 40px 60px;
  border-radius: 20px;
  position: relative;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  overflow: hidden;
}

.popup-content h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.popup-content p {
  font-size: 1.2rem;
  margin-bottom: 25px;
}

#closePopup {
  background: #fff;
  color: #ff5e5e;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

#closePopup:hover {
  background: #ffd5d5;
}

/* Balloons */
.balloons::before,
.balloons::after {
  content: "";
  position: absolute;
  width: 50px;
  height: 70px;
  border-radius: 50%;
  background: #fff;
  opacity: 0.6;
  animation: float 4s ease-in-out infinite;
}

.balloons::before {
  left: -20px;
  background: #ffec85;
  animation-delay: 0.3s;
}

.balloons::after {
  right: -20px;
  background: #ff6b81;
  animation-delay: 0.6s;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes float {
  0% { transform: translateY(20px); opacity: 0.6; }
  50% { transform: translateY(-20px); opacity: 1; }
  100% { transform: translateY(20px); opacity: 0.6; }
}