body {
  background: linear-gradient(180deg, #F5F5F7 0%, #FFFFFF 100%);
}

.auth-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 40px 20px;
  background-image: url('https://images.unsplash.com/photo-1503428593586-e225b39bddfe?w=1920&q=80');
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.auth-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}

.auth-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-radius: 32px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  overflow: hidden;
  max-width: 900px;
  width: 100%;
  border: 0.5px solid rgba(255, 255, 255, 0.3);
  position: relative;
  z-index: 1;
}

.auth-left {
  background-image: url('https://images.unsplash.com/photo-1503428593586-e225b39bddfe?w=1920&q=80');
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: white;
  padding: 64px 48px;
  overflow: hidden;
}

.auth-left::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

.auth-left > * {
  position: relative;
  z-index: 1;
}

.auth-right {
  padding: 64px 48px;
}

.auth-tabs {
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.1);
  margin-bottom: 32px;
  display: flex;
  gap: 8px;
}

.auth-tab {
  padding: 12px 24px;
  border: none;
  background: none;
  font-weight: 500;
  color: #8E8E93;
  cursor: pointer;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  font-size: 0.9375rem;
  letter-spacing: -0.01em;
  position: relative;
}

.auth-tab.active {
  color: #007AFF;
  background: rgba(0, 122, 255, 0.1);
}

.auth-tab:hover:not(.active) {
  background: rgba(0, 0, 0, 0.04);
}

.auth-form {
  display: none;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.auth-form.active {
  display: block;
}

.btn-auth {
  padding: 14px 24px;
  font-weight: 500;
  border-radius: 20px;
  font-size: 1rem;
  letter-spacing: -0.01em;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.divider {
  text-align: center;
  margin: 32px 0;
  position: relative;
  color: #8E8E93;
  font-size: 0.875rem;
}

.divider::before,
.divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 42%;
  height: 0.5px;
  background: rgba(0, 0, 0, 0.1);
}

.divider::before {
  left: 0;
}

.divider::after {
  right: 0;
}

.social-btn {
  width: 100%;
  padding: 14px;
  border: 0.5px solid rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  color: #1D1D1F;
  font-size: 0.9375rem;
}

.social-btn:hover {
  border-color: rgba(0, 122, 255, 0.3);
  background: rgba(0, 122, 255, 0.05);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.auth-left h2 {
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.auth-left p {
  font-size: 1.0625rem;
  opacity: 0.95;
  line-height: 1.6;
}

.auth-left ul li {
  font-size: 1rem;
  opacity: 0.95;
  padding: 8px 0;
}

@media (max-width: 991.98px) {
  .auth-container {
    padding: 32px 16px;
  }
  .auth-left {
    padding: 48px 32px;
  }
  .auth-right {
    padding: 48px 32px;
  }
  .auth-left h2 {
    font-size: 1.75rem;
  }
  .auth-tabs {
    margin-bottom: 24px;
  }
  .auth-tab {
    padding: 10px 20px;
    font-size: 0.875rem;
  }
}

@media (max-width: 767.98px) {
  .auth-container {
    padding: 24px 12px;
    min-height: auto;
    padding-top: 80px;
  }
  .auth-left {
    display: none;
  }
  .auth-right {
    padding: 32px 20px;
  }
  .auth-card {
    border-radius: 24px;
    max-width: 100%;
  }
  .auth-tabs {
    margin-bottom: 24px;
  }
  .auth-tab {
    padding: 10px 16px;
    font-size: 0.875rem;
    flex: 1;
  }
  .form-floating {
    margin-bottom: 20px;
  }
  .btn-auth {
    width: 100%;
    padding: 14px;
    margin-bottom: 16px;
  }
  .social-btn {
    width: 100%;
    margin-bottom: 12px;
  }
  .divider {
    margin: 24px 0;
  }
}

@media (max-width: 575.98px) {
  .auth-container {
    padding: 20px 12px;
    padding-top: 70px;
  }
  .auth-right {
    padding: 24px 16px;
  }
  .auth-tabs {
    gap: 4px;
  }
  .auth-tab {
    padding: 8px 12px;
    font-size: 0.8125rem;
  }
  .form-control,
  .form-select {
    padding: 12px 14px;
    font-size: 0.9375rem;
  }
  .form-floating > label {
    font-size: 0.875rem;
  }
}
