/* ==========================================
   AUTHENTICATION PAGES STYLES
   ========================================== */

.auth-section {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: linear-gradient(135deg, #f9fafb 0%, #e5e7eb 100%);
}

.auth-container {
  max-width: 1200px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

/* ==========================================
   LEFT SIDE - INFO PANEL
   ========================================== */

.auth-info {
  background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
  padding: 4rem;
  border-radius: 30px;
  color: #fff;
  position: relative;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
}

.auth-info::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.auth-info::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.auth-info-content {
  position: relative;
  z-index: 1;
}

.auth-info-title {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.auth-info-description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #cbd5e1;
  margin-bottom: 2.5rem;
}

.auth-features {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.auth-feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.05rem;
  color: #e5e7eb;
}

.feature-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.auth-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-stat {
  text-align: center;
}

.auth-stat h3 {
  font-size: 2rem;
  font-weight: 800;
  color: #10b981;
  margin-bottom: 0.5rem;
}

.auth-stat p {
  font-size: 0.9rem;
  color: #94a3b8;
}

.auth-testimonial {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2rem;
}

.testimonial-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #e5e7eb;
  margin-bottom: 1rem;
  font-style: italic;
}

.testimonial-author {
  font-size: 0.95rem;
  color: #94a3b8;
  font-weight: 600;
}

/* ==========================================
   RIGHT SIDE - FORM PANEL
   ========================================== */

.auth-form-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-form-container {
  background: #fff;
  padding: 3rem;
  border-radius: 30px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 500px;
}

.auth-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.auth-title {
  font-size: 2rem;
  font-weight: 800;
  color: #1f2937;
  margin-bottom: 0.75rem;
}

.auth-subtitle {
  font-size: 1rem;
  color: #6b7280;
  line-height: 1.6;
}

/* ==========================================
   ALERTS
   ========================================== */

.alert {
  padding: 1rem 1.25rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.alert-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.alert-error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.alert-success {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}

/* ==========================================
   FORM ELEMENTS
   ========================================== */

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-weight: 600;
  font-size: 0.95rem;
  color: #374151;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 1.25rem;
  font-size: 1.25rem;
  pointer-events: none;
  z-index: 1;
}

.form-input {
  width: 100%;
  padding: 1rem 1.25rem 1rem 3.5rem;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
  background: #f9fafb;
}

.form-input:focus {
  outline: none;
  border-color: #10b981;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

.form-input::placeholder {
  color: #9ca3af;
}

.form-hint {
  font-size: 0.85rem;
  color: #6b7280;
  margin-top: -0.25rem;
}

/* ==========================================
   CHECKBOXES AND OPTIONS
   ========================================== */

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: -0.5rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.95rem;
  color: #4b5563;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #10b981;
}

/* ==========================================
   LINKS
   ========================================== */

.link-primary {
  color: #10b981;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.link-primary:hover {
  color: #059669;
  text-decoration: underline;
}

.link-primary-bold {
  color: #10b981;
  font-weight: 700;
  transition: all 0.2s ease;
}

.link-primary-bold:hover {
  color: #059669;
}

/* ==========================================
   SUBMIT BUTTON
   ========================================== */

.btn-submit {
  width: 100%;
  padding: 1.125rem 2rem;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
}

.btn-submit:active {
  transform: translateY(0);
}

.btn-arrow {
  font-size: 1.25rem;
  transition: transform 0.3s ease;
}

.btn-submit:hover .btn-arrow {
  transform: translateX(5px);
}

/* ==========================================
   DIVIDER
   ========================================== */

.auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 0.5rem 0;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #e5e7eb;
}

.auth-divider span {
  padding: 0 1rem;
  color: #9ca3af;
  font-size: 0.9rem;
  font-weight: 500;
}

/* ==========================================
   AUTH SWITCH
   ========================================== */

.auth-switch {
  text-align: center;
  color: #6b7280;
  font-size: 0.95rem;
}

/* ==========================================
   MINIMAL FOOTER
   ========================================== */

.footer-minimal {
  background: #f9fafb;
  padding: 1.5rem;
  text-align: center;
  color: #6b7280;
  font-size: 0.9rem;
  border-top: 1px solid #e5e7eb;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

@media (max-width: 1024px) {
  .auth-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .auth-info {
    min-height: auto;
    padding: 3rem 2rem;
  }
  
  .auth-info-title {
    font-size: 2rem;
  }
  
  .auth-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .auth-section {
    padding: 1rem;
  }
  
  .auth-info {
    padding: 2rem 1.5rem;
  }
  
  .auth-info-title {
    font-size: 1.75rem;
  }
  
  .auth-info-description {
    font-size: 1rem;
  }
  
  .auth-form-container {
    padding: 2rem 1.5rem;
  }
  
  .auth-title {
    font-size: 1.75rem;
  }
  
  .auth-stats {
    gap: 1rem;
  }
  
  .auth-stat h3 {
    font-size: 1.5rem;
  }
  
  .form-options {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .auth-info-title {
    font-size: 1.5rem;
  }
  
  .auth-title {
    font-size: 1.5rem;
  }
  
  .auth-form-container {
    padding: 1.5rem;
  }
  
  .form-input {
    padding: 0.875rem 1rem 0.875rem 3rem;
  }
  
  .btn-submit {
    padding: 1rem 1.5rem;
  }
}