* {
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
}

body {
  background: #f3f5fc;
  display: flex;
  height: 100vh;
}

.container {
  display: flex;
  width: 100%;
}

/* LEFT SECTION */
.left {
  flex: 1.2;
  position: relative;
  overflow: hidden;
}

.left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.left img.active {
  opacity: 1;
}

.left .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.left .ad-content {
  position: absolute;
  bottom: 50px;
  left: 50px;
  color: #fff;
  z-index: 2;
  max-width: 400px;
}

.left .ad-content h1 {
  font-size: 2.2rem;
  font-weight: 700;
}

.left .ad-content h1 span {
  color: #00bfff;
}

.left .ad-content p {
  margin-top: 10px;
  font-size: 1rem;
  opacity: 0.85;
}

/* RIGHT SECTION */
.right {
  flex: 0.8;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  padding: 30px;
}

.form-container {
  width: 100%;
  max-width: 400px;
  background: #fff;
  padding: 40px;
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  animation: fadeIn 0.5s ease;
}

h2 {
  text-align: center;
  color: #222;
  margin-bottom: 25px;
}

.input-group {
  margin-bottom: 15px;
}

.input-group label {
  font-size: 14px;
  color: #444;
  margin-bottom: 5px;
  display: block;
}

.input-group input,
.input-group select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  transition: all 0.2s;
}

.input-group input:focus,
.input-group select:focus {
  border-color: #00bfff;
  box-shadow: 0 0 4px rgba(0, 191, 255, 0.2);
  outline: none;
}

.btn {
  width: 100%;
  background: linear-gradient(45deg, #007bff, #00bfff);
  color: white;
  border: none;
  padding: 12px;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover {
  background: linear-gradient(45deg, #0056b3, #0099cc);
}

.toggle-link {
  text-align: center;
  margin-top: 15px;
  font-size: 14px;
  color: #555;
}

.toggle-link a {
  color: #007bff;
  text-decoration: none;
  font-weight: 600;
}

.toggle-link a:hover {
  text-decoration: underline;
}
.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }
  .left {
    height: 40vh;
  }
  .right {
    height: 60vh;
  }
  .left .ad-content {
    bottom: 20px;
    left: 20px;
    font-size: 0.9rem;
  }
}

/* login section */
.login-container {
        background: #fff;
        padding: 30px;
        border-radius: 10px;
        box-shadow: 0 3px 10px rgba(0,0,0,0.1);
        width: 340px;
    }

    .login-container h2 {
        text-align: center;
        margin-bottom: 20px;
    }

    .input-group {
        margin-bottom: 15px;
    }

    label {
        display: block;
        font-weight: 600;
        margin-bottom: 6px;
    }

    input[type="email"],
    input[type="password"],
    input[type="text"] {
        width: 100%;
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 6px;
        font-size: 15px;
    }

    .login-methods {
    display: flex;
    gap: 10px; /* optional, adds spacing */
    }

    .login-methods label {
        display: flex;
        align-items: center;
        cursor: pointer;
        font-weight: 500;
    }


    button {
        width: 100%;
        padding: 10px;
        border: none;
        border-radius: 6px;
        background: #007bff;
        color: white;
        font-size: 16px;
        cursor: pointer;
        transition: 0.3s;
    }

    button:hover {
        background: #0056b3;
    }

    .hidden {
        display: none;
    }
