:root {
  --primary: #f6f1f7;
  --secondary: #00dbde;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(120deg, var(--secondary), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 1rem;
}

.container {
  background: #fff;
  border-radius: 20px;
  width: 100%;
  max-width: 900px;
  min-height: 500px;
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: row;
  transition: 0.5s ease-in-out;
  position: relative;
}

.form-container {
  flex: 1;
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: all 0.6s ease-in-out;
}

.form-container.hidden {
  transform: translateX(100%);
  opacity: 0;
  position: absolute;
  pointer-events: none;
}

.form-container.active {
  opacity: 1;
  transform: translateX(0);
  position: relative;
  pointer-events: all;
}

h2 {
  margin-bottom: 1rem;
  color: #333;
  text-align: center;
  font-size: 1.8rem;
}

.input-field {
  margin: 0.8rem 0;
  background: #f0f0f0;
  border-radius: 30px;
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
}

.input-field input {
  border: none;
  background: none;
  outline: none;
  width: 100%;
  padding: 0.5rem;
  font-size: 1rem;
}

.btn {
  background: linear-gradient(45deg, var(--secondary), var(--primary));
  color: #0a0a0a;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 600;
  margin-top: 1rem;
  font-size: 1rem;
  transition: 0.3s ease;
}

.btn:hover {
  opacity: 0.9;
}

.switch-btn {
  background: none;
  border: none;
  color: #333;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  text-decoration: underline;
  margin-top: 1rem;
  cursor: pointer;
  font-size: 0.95rem;
}

.side-panel {
  flex: 1;
  background: linear-gradient(to bottom right, var(--secondary), var(--primary));
  color: #0a0808;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
  flex-direction: column;
}

.side-panel h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.side-panel p {
  font-size: 1rem;
}

/* Mobile Optimization */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
    min-height: auto;
    padding: 0;
  }

  .form-container,
  .side-panel {
    width: 100%;
    padding: 2rem 1.2rem;
    position: relative;
  }

  .side-panel {
    order: -1;
  }

  h2 {
    font-size: 1.5rem;
  }

  .btn {
    font-size: 1rem;
  }
}

/* TENALLECT Background Text */
.tenallect-bg {
  position: fixed;
  top: 30%;
  left: -50%;
  font-size: 10rem;
  font-weight: 800;
  color: rgba(0, 0, 0, 0.03);
  white-space: nowrap;
  z-index: 0;
  pointer-events: none;
  animation: scrollTenallect 30s linear infinite;
}

@keyframes scrollTenallect {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(150%);
  }
}

/* Toast Notification */
#toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
}
.toast {
  background: #333;
  color: #fff;
  padding: 12px 20px;
  margin-top: 10px;
  border-radius: 8px;
  opacity: 0;
  transform: translateY(-20px);
  animation: fadeInOut 3s ease forwards;
}

@keyframes fadeInOut {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  10%, 90% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-20px);
  }
}


 