/* Authentication specific styles */
.auth-section {
  padding: 3rem 0;
  min-height: calc(100vh - 180px);
  display: flex;
  align-items: center;
}

.auth-container {
  max-width: 450px;
  margin: 0 auto;
  background-color: var(--background-color);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 2.5rem;
}

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

.auth-header h1 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.auth-header p {
  color: var(--text-muted);
  margin-bottom: 0;
}

.selected-plan {
  margin-top: 1rem;
}

.plan-badge {
  display: inline-block;
  background-color: var(--primary-light);
  color: var(--primary-color);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
}

.social-auth {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.btn-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background-color: var(--background-light);
  border: 1px solid var(--border-color);
  color: var(--text-color);
}

.btn-social:hover {
  background-color: var(--background-color);
}

.btn-social img {
  width: 20px;
  height: 20px;
}

.auth-divider {
  position: relative;
  text-align: center;
  margin: 1.5rem 0;
}

.auth-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background-color: var(--border-color);
}

.auth-divider span {
  position: relative;
  background-color: var(--background-color);
  padding: 0 1rem;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.auth-form {
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group.has-error input {
  border-color: var(--danger-color);
}

.form-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-size: 0.875rem;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"] {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: border-color var(--transition-speed);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="tel"]:focus {
  outline: none;
  border-color: var(--primary-color);
}

.password-input {
  position: relative;
}

.password-toggle {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
}

.error-message {
  color: var(--danger-color);
  font-size: 0.75rem;
  margin-top: 0.5rem;
}

.password-requirements {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-weight: normal;
  margin-bottom: 0;
}

.checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkbox-custom {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 18px;
  background-color: var(--background-color);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  margin-right: 0.75rem;
  transition: all var(--transition-speed);
}

.checkbox-label input[type="checkbox"]:checked ~ .checkbox-custom {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.checkbox-custom::after {
  content: "";
  position: absolute;
  display: none;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox-label input[type="checkbox"]:checked ~ .checkbox-custom::after {
  display: block;
}

.terms-checkbox {
  margin-top: 1.5rem;
}

.terms-checkbox a {
  text-decoration: underline;
}

.forgot-password {
  font-size: 0.875rem;
  color: var(--primary-color);
}

.remember-me {
  font-size: 0.875rem;
}

.auth-footer {
  text-align: center;
  font-size: 0.875rem;
}

.auth-footer a {
  font-weight: 500;
}

.alert {
  padding: 1rem;
  border-radius: var(--border-radius);
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
}

.alert-error {
  background-color: rgba(239, 68, 68, 0.1);
  color: var(--danger-color);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.alert-success {
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--success-color);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.verification-icon {
  text-align: center;
  margin-bottom: 1.5rem;
}

.verification-icon i {
  font-size: 3rem;
  color: var(--primary-color);
  background-color: var(--primary-light);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.verification-instructions {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--text-muted);
}

.verification-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.auth-actions {
  margin-top: 2rem;
}

/* Footer for auth pages */
.auth-footer {
  padding: 1.5rem 0;
  background-color: var(--background-color);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.footer-links a {
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--primary-color);
}

/* Responsive styles */
@media (max-width: 576px) {
  .auth-container {
    padding: 1.5rem;
  }

  .form-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .forgot-password {
    align-self: flex-end;
  }
}
