.auth-container {
  min-height: 100vh;
  display: flex;
  background: #ae909093;
}

/* Left section - Logo (2/3 of the page) */
.auth-logo-section {
  flex: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, #500707 0%, #2e0303 100%);
  position: relative;
  overflow: hidden;
}

.logo-content {
  text-align: center;
  color: white;
  z-index: 2;
  max-width: 600px;
  padding: 2rem;
}

.main-logo {
  font-size: 8rem;
  font-weight: bold;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: -0.05em;
  line-height: 0.9;
}

.logo-tagline {
  font-size: 1.5rem;
  margin: 1rem 0 3rem 0;
  opacity: 0.9;
  font-weight: 300;
}

/* Right section - Auth Form (1/3 of the page) */
.auth-form-section {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: white;
}

.auth-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  padding: 2rem;
  width: 100%;
  max-width: 600px;
}

.auth-header {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #800000;
  margin-bottom: 0.5rem;
}

.auth-subtitle {
  color: #6b7280;
  font-size: 1.1rem;
}

.auth-tabs {
  display: flex;
  background: #f3f4f6;
  border-radius: 8px;
  padding: 4px;
  margin-bottom: 2rem;
}

.auth-tab {
  flex: 1;
  padding: 0.75rem;
  border: none;
  background: transparent;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.auth-tab.active {
  background: white;
  color: #800000;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.auth-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
  padding: 0.75rem;
  border-radius: 6px;
  font-size: 0.875rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group label {
  font-weight: 500;
  color: #374151;
  font-size: 0.875rem;
}

.form-group input,
.form-group select {
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #800000;
  box-shadow: 0 0 0 3px rgba(128, 0, 0, 0.1);
}

.form-group input:disabled,
.form-group select:disabled {
  background: #f9fafb;
  cursor: not-allowed;
}

.auth-submit {
  background: #800000;
  color: white;
  border: none;
  padding: 0.875rem;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
}

.auth-submit:hover:not(:disabled) {
  background: #600000;
}

.auth-submit:disabled {
  background: #9ca3af;
  cursor: not-allowed;
}

.auth-features {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  text-align: left;
}

.auth-features h3 {
  color: white;
  margin-bottom: 1rem;
  font-size: 1.3rem;
  font-weight: 600;
}

.auth-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.auth-features li {
  padding: 0.75rem 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.auth-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  font-size: 1.2rem;
  color: #6b7280;
}

@media (max-width: 768px) {
  .auth-container {
    flex-direction: column;
  }
  
  .auth-logo-section {
    flex: none;
    min-height: 40vh;
    padding: 2rem 1rem;
  }
  
  .main-logo {
    font-size: 4rem;
  }
  
  .logo-tagline {
    font-size: 1.2rem;
  }
  
  .auth-features {
    display: none; /* Hide features on mobile to save space */
  }
  
  .auth-form-section {
    flex: none;
    padding: 1rem;
  }
  
  .auth-card {
    padding: 1.5rem;
    box-shadow: none;
    border-radius: 0;
  }
  
  .auth-title {
    font-size: 1.3rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .main-logo {
    font-size: 3rem;
  }
  
  .logo-tagline {
    font-size: 1rem;
  }
  
  .auth-logo-section {
    min-height: 30vh;
  }
}
