* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  height: 100vh;
  background: #0f172a;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* MAIN CARD */
.container {
  width: 2000px;
  height: 700px;
  display: flex;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

/* LEFT IMAGE */
.left {
  flex: 1;
  position: relative;
}

.left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Dim the left image */
.left-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(60%); /* dims the image */
}

/* Logo text at top-left */
.logo-left {
  position: absolute;
  top: 50px;
  left: 30px;
  font-size: 1.8rem;      
  font-weight: bold;      
  color: white;          
  z-index: 10;
  font-family: 'Arial', sans-serif; 
}

.overlay-text {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: white;
}

/* RIGHT FORM */
.right {
  flex: 1;
  background: #1e293b;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.screen {
  width: 100%;
  max-width: 300px;
  display: none;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  gap: 0.5rem;
}

.screen.active {
  display: flex;
}

h2 {
  color: white;
  text-align: center;
  margin-bottom: 40px;
}

input {
  padding: 17px;
  border-radius: 20px;
  border: none;
  background: #0f172a;
  color: white;
  width: 430px;
}

.password-container {
  position: relative;
  width: 100%;
   justify-content: center;
  display: flex;
   width: 425px;
  margin: 7px;
  margin: 0 0 0.5rem 0; 
}

.password-container input {
  width: 100%;
  padding-right: 40px; 
  box-sizing: border-box;
}

.toggle-password {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  width: 20px;   /* adjust to your icon size */
  height: 20px;
}

button {
  padding: 12px;
  border: none;
  background: #7c3aed;
  color: white;
  border-radius: 20px;
  cursor: pointer;
  width: 430px;
}

button:hover {
  background: #6d28d9;
}

.forgot{
  width: 100%;
  display: flex;
  justify-content: flex-end;
  margin-left: 100px;
}

.forgot p {
  color: #7c3aed;
  margin-top: 1px;
  
}

p {
  color: #cbd5f5;
  font-size: 0.9rem;
  text-align: center;
  cursor: pointer;
  margin-top:8px;
  margin-bottom: 8px;
}

span {
  color: #7c3aed;
  cursor: pointer;
}

.divider {
  display: flex;
  align-items: center;
  width: 100%;
  color: #aaa;
  font-size: 0.8rem;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #444;
}

.divider span {
  margin: 0 10px;
}

/* SOCIAL */
.social-login {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

/* BUTTON STYLE */
.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  width: 100%;
  padding: 12px;

  background: white;
  color: #333;

  border-radius: 8px;
  border: 1px solid #ddd;

  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;

  transition: all 0.2s ease;
}

/* ICON */
.social-btn img {
  width: 18px;
  height: 18px;
}

/* HOVER EFFECT 🔥 */
.social-btn:hover {
  background: #f5f5f5;
  transform: translateY(-1px);
}

/* MOBILE */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
    height: auto;
  }

  .left {
    height: 200px;
  }
}