/* Modern MNC Auth Styles */
:root {
  --auth-primary: #1a1a1a;
  --auth-secondary: #2d2d2d;
  --auth-text: #1a1a1a;
  --auth-text-light: #666;
  --auth-border: #e5e7eb;
  --auth-success: #10b981;
  --auth-error: #ef4444;
  --auth-input-bg: #f9fafb;
  --auth-gradient-start: #ffffff;
  --auth-gradient-end: #f3f4f6;
}

.auth-shell {
  min-height: calc(100vh - var(--header-height));
  background: linear-gradient(135deg, var(--auth-gradient-start) 0%, var(--auth-gradient-end) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.auth-wrap {
  width: 100%;
  max-width: 1200px;
  background: white;
  border-radius: 24px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  overflow: hidden;
}

/* Left Side - Branding Section */
.auth-left {
  background: linear-gradient(45deg, var(--auth-primary) 0%, var(--auth-secondary) 100%);
  color: white;
  padding: 4rem;
  position: relative;
  overflow: hidden;
}

.auth-left::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('/static/images/pattern.svg');
  opacity: 0.1;
}

.brand-mark {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.8) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 3rem;
  position: relative;
}

.auth-hero {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  position: relative;
}

.auth-sub {
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 3rem;
  position: relative;
}

ul.helper-text {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}

ul.helper-text li {
  display: flex;
  align-items: center;
  margin-bottom: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
}

ul.helper-text li::before {
  content: "✓";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  margin-right: 1rem;
  color: white;
  font-size: 0.9rem;
}

/* Right Side - Auth Form */
.auth-card {
  padding: 4rem;
  background: white;
  display: flex;
  flex-direction: column;
}

.auth-card h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--auth-text);
  margin-bottom: 2rem;
}

.auth-field {
  margin-bottom: 1.75rem;
}

.auth-field label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.75rem;
  color: var(--auth-text);
  font-size: 0.95rem;
}

.auth-input {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid var(--auth-border);
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.2s ease;
  background: var(--auth-input-bg);
}

.auth-input:focus {
  outline: none;
  border-color: var(--auth-primary);
  box-shadow: 0 0 0 4px rgba(26, 26, 26, 0.1);
  background: white;
}

.auth-actions {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
}

.auth-cta {
  flex: 1;
  background: var(--auth-primary);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.auth-cta:hover {
  background: var(--auth-secondary);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -10px rgba(0, 0, 0, 0.2);
}

.auth-ghost {
  background: var(--auth-input-bg);
  color: var(--auth-text);
  border: 2px solid var(--auth-border);
  padding: 1rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  text-align: center;
  transition: all 0.2s ease;
}

.auth-ghost:hover {
  border-color: var(--auth-primary);
  background: white;
}

/* Step Indicators */
.step-indicator {
  display: flex;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.step {
  flex: 1;
  padding: 1rem;
  background: var(--auth-input-bg);
  border: 2px solid var(--auth-border);
  border-radius: 12px;
  font-weight: 500;
  text-align: center;
  color: var(--auth-text-light);
  transition: all 0.3s ease;
}

.step.active {
  background: var(--auth-primary);
  border-color: var(--auth-primary);
  color: white;
}

.step.completed {
  background: var(--auth-success);
  border-color: var(--auth-success);
  color: white;
}

/* Social Login Section */
.auth-footer {
  margin-top: 2.5rem;
  text-align: center;
  position: relative;
  color: var(--auth-text-light);
  font-weight: 500;
}

.auth-footer::before,
.auth-footer::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 80px;
  height: 1px;
  background: var(--auth-border);
}

.auth-footer::before {
  right: 58%;
}

.auth-footer::after {
  left: 58%;
}

.social-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-btn {
  padding: 1rem;
  border: 2px solid var(--auth-border);
  border-radius: 12px;
  background: white;
  color: var(--auth-text);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.social-btn:hover {
  border-color: var(--auth-primary);
  background: var(--auth-input-bg);
  transform: translateY(-2px);
}

.helper-text {
  font-size: 0.9rem;
  color: var(--auth-text-light);
  margin-top: 0.5rem;
}

/* Alert Styles */
.alert {
  padding: 1rem 1.25rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.alert svg {
  flex-shrink: 0;
}

.alert-error {
  background: #fef2f2;
  border: 1px solid #fee2e2;
  color: #dc2626;
}

.alert-success {
  background: #f0fdf4;
  border: 1px solid #dcfce7;
  color: #16a34a;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .auth-wrap {
    max-width: 90%;
  }
  
  .auth-left {
    padding: 3rem;
  }
  
  .auth-card {
    padding: 3rem;
  }
  
  .auth-hero {
    font-size: 2.5rem;
  }
}

@media (max-width: 1024px) {
  .auth-wrap {
    grid-template-columns: 1fr;
    max-width: 600px;
  }
  
  .auth-left {
    padding: 3rem;
    text-align: center;
  }
  
  ul.helper-text {
    display: inline-block;
    text-align: left;
    margin: 0 auto;
  }
  
  .auth-hero {
    font-size: 2rem;
  }
  
  .auth-sub {
    margin-bottom: 2rem;
  }
}

@media (max-width: 640px) {
  .auth-shell {
    padding: 1rem;
  }
  
  .auth-wrap {
    border-radius: 16px;
  }
  
  .auth-left {
    padding: 2rem;
  }
  
  .auth-card {
    padding: 2rem;
  }
  
  .auth-hero {
    font-size: 1.75rem;
  }
  
  .social-row {
    grid-template-columns: 1fr;
  }
  
  .auth-actions {
    flex-direction: column;
  }
  
  .auth-ghost {
    width: 100%;
  }
}