/* Basic Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

.login-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eaf6ff;
}

/* Container */
.login-container {
  width: 90%;
  max-width: 1000px;
  background: #fff;
  display: flex;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.1);
  animation: fadeIn 1s ease;
}

/* Left Side */
.login-left {
  flex: 1;
  background: url("images/b2b_image.avif") no-repeat center center/cover;
  position: relative;
}

.overlay-text {
  position: absolute;
  bottom: 50px;
  left: 30px;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.overlay-text h1 {
  font-family: "Great Vibes", cursive;
  font-size: 38px;
 
}

.overlay-text p {
  font-size: 20px;
  opacity: 0.9;
}

/* Right Side */
.login-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #e3f2ff, #ffffff);
}

.login-box {
  width: 80%;
  max-width: 350px;
  text-align: center;
  animation: slideUp 0.8s ease;
}

.login-box h2 {
  font-size: 45px;
  color: #0084ff;
  margin-bottom: 5px;
  margin-top: 20px;
  font-weight: bold;
}

.login-subtext {
  color: #777;
  margin-bottom: 20px;
}

/* Input Fields */
.input-group {
  position: relative;
  margin-bottom: 20px;
}

.input-group input {
  width: 100%;
  padding: 12px 40px 12px 15px;
  border: 1.5px solid #ccc;
  border-radius: 10px;
  outline: none;
  font-size: 15px;
  transition: all 0.3s ease;
}

.input-group input:focus {
  border-color: #0084ff;
  box-shadow: 0 0 5px rgba(0, 132, 255, 0.3);
}

.icon {
  position: absolute;
  right: 15px;
  top: 12px;
  color: #888;
}

/* Buttons */
.login-btn {
  width: 100%;
  background: #0084ff;
  color: #fff;
  padding: 12px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s;
  margin-top: 40px;
}

.login-btn:hover {
  background: #0070e0;
  transform: translateY(-2px);
}

/* Divider */
.divider {
  margin: 20px 0;
  font-weight: 500;
  color: #888;
  position: relative;
}

.divider::before,
.divider::after {
  content: "";
  position: absolute;
  width: 35%;
  height: 1px;
  background: #ccc;
  top: 50%;
}

.divider::before {
  left: 0;
}

.divider::after {
  right: 0;
}

/* Social Buttons */
.social-login {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.social-login button {
  border: none;
  background: #f1f1f1;
  padding: 10px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 18px;
  transition: 0.3s;
}

.social-login button:hover {
  background: #e2e2e2;
}


/* Footer text */
.register-text {
  margin-top: 20px;
  font-size: 14px;
}

.register-text a {
  color: #0084ff;
  text-decoration: none;
  font-weight: 600;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 900px) {
  .login-container {
    flex-direction: column;
  }
  .login-left {
    height: 300px;
  }
  .overlay-text {
    bottom: 20px;
    left: 20px;
  }
}
