/* Auth Section */
.auth-section {
  padding: 4rem 1rem;
  background: #f8f9fa;
}

.auth-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

/* Auth Card */
.auth-card {
  background: #fff;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(49, 68, 129, 0.08);
  border: 2px solid #e8eef5;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.auth-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 32px rgba(49, 68, 129, 0.15);
}

.card-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid #f0f4f8;
}

.card-header i {
  font-size: 3rem;
  color: #314481;
  margin-bottom: 1rem;
  display: block;
}

.card-header h2 {
  font-size: 1.8rem;
  color: #314481;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.card-header p {
  color: #64748b;
  font-size: 0.95rem;
}

/* Form Styles */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.form-group label {
  font-weight: 600;
  color: #314481;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-group label i {
  font-size: 0.85rem;
  opacity: 0.8;
}

.form-group input {
  padding: 0.9rem 1rem;
  border: 2px solid #e8eef5;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #fff;
  color: #222;
}

.form-group input:focus {
  outline: none;
  border-color: #7ed321;
  box-shadow: 0 0 0 3px rgba(126, 211, 33, 0.1);
}

.form-group input::placeholder {
  color: #94a3b8;
}

/* Form Options */
.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: -0.5rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #475569;
  cursor: pointer;
  font-weight: normal;
}

.checkbox-label input[type='checkbox'] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #7ed321;
}

.checkbox-label span {
  user-select: none;
}

.checkbox-label a {
  color: #314481;
  text-decoration: none;
  font-weight: 600;
}

.checkbox-label a:hover {
  color: #7ed321;
  text-decoration: underline;
}

.forgot-link {
  color: #314481;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.3s ease;
}

.forgot-link:hover {
  color: #7ed321;
  text-decoration: underline;
}

/* Submit Button */
.submit-btn {
  background-color: #314481 !important;
  color: #fff;
  border: none;
  padding: 1rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: all 0.3s ease;
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.submit-btn:hover {
  background: #7ed321;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(126, 211, 33, 0.3);
}

.submit-btn:active {
  transform: translateY(0);
}

.submit-btn i {
  font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 900px) {
  .auth-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .auth-card {
    padding: 2rem 1.5rem;
  }

  .card-header h2 {
    font-size: 1.5rem;
  }

  .form-options {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .auth-section {
    padding: 2rem 1rem;
  }

  .auth-card {
    padding: 1.5rem 1rem;
  }

  .card-header i {
    font-size: 2.5rem;
  }

  .card-header h2 {
    font-size: 1.3rem;
  }
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}
