* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #6d214f;
  --secondary: #8e2c63;
  --gold: #d4af37;
  --dark: #1c0b14;
}

body {
  font-family: "Poppins", sans-serif;
  background: #faf7f9;
}

/* Main Layout */
.login-container {
  display: flex;
  min-height: 100vh;
}

/* Left Side */
.login-left {
  width: 45%;
  background:
    linear-gradient(rgba(28, 11, 20, .55),
      rgba(28, 11, 20, .75)),
    url('https://images.unsplash.com/photo-1519741497674-611481863552?auto=format&fit=crop&w=1800&q=90');
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
}

.brand-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  padding: 40px;
}

.brand-content h1 {
  font-size: 58px;
  margin-bottom: 20px;
}

.brand-content p {
  font-size: 20px;
  line-height: 1.8;
  opacity: 0.95;
}

/* Right Side */
.login-right {
  width: 55%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px;
}

.login-box {
  width: 100%;
  max-width: 450px;
  background: white;
  padding: 45px;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .08);
  animation: fadeIn .5s ease;
}

.login-box h2 {
  font-size: 34px;
  color: var(--primary);
  margin-bottom: 10px;
}

.login-box p {
  color: #666;
  margin-bottom: 30px;
  line-height: 1.8;
}

/* Inputs */
input[type="email"],
input[type="password"] {
  width: 100%;
  padding: 16px;
  margin-bottom: 18px;
  border: 1px solid #e7e7e7;
  border-radius: 14px;
  outline: none;
  transition: .3s;
}

input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(109, 33, 79, .08);
}

/* Options */
.login-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  font-size: 14px;
}

.login-options label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.login-options a {
  text-decoration: none;
  color: var(--primary);
}

/* Button */
.login-btn {
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg,
      var(--primary),
      var(--secondary));
  color: white;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: .3s;
}

.login-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(109, 33, 79, .25);
}

/* Divider */
.divider {
  text-align: center;
  margin: 30px 0;
  color: #777;
  position: relative;
}

.divider span {
  background: white;
  padding: 0 15px;
  position: relative;
  z-index: 2;
}

.divider::before {
  content: "";
  width: 100%;
  height: 1px;
  background: #eee;
  position: absolute;
  left: 0;
  top: 50%;
}

/* Social Buttons */
.social-login {
  display: flex;
  gap: 15px;
}

.social-login button {
  flex: 1;
  padding: 14px;
  border: 1px solid #eee;
  background: white;
  border-radius: 12px;
  cursor: pointer;
  transition: .3s;
}

.social-login button:hover {
  background: #fafafa;
}

/* Register Link */
.register-link {
  text-align: center;
  margin-top: 25px;
  color: #666;
}

.register-link a {
  text-decoration: none;
  color: var(--primary);
  font-weight: 600;
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media(max-width: 992px) {
  .login-left {
    display: none;
  }

  .login-right {
    width: 100%;
  }
}

@media(max-width: 576px) {
  .login-box {
    padding: 30px;
  }

  .login-box h2 {
    font-size: 28px;
  }

  .social-login {
    flex-direction: column;
  }
}