/* Auth-specific styles */
.auth-section {
  min-height: calc(100vh - 140px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
  background: linear-gradient(180deg, var(--color-bg-dark), var(--color-bg-dark-alt));
}

.auth-container {
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
}

.auth-form {
  background: var(--color-card-bg);
  border-radius: var(--radius-l);
  padding: 48px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.auth-form::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-2));
  border-radius: var(--radius-l) var(--radius-l) 0 0;
}

.auth-form:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.7);
}

.auth-header {
  text-align: center;
  margin-bottom: 32px;
}

.auth-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--color-text);
  letter-spacing: -0.5px;
}

.auth-subtitle {
  color: var(--color-muted);
  font-size: 1.1rem;
  margin: 0;
  opacity: 0.9;
}

.auth-form-content {
  margin-bottom: 24px;
}

.auth-submit {
  width: 100%;
  margin-top: 16px;
  font-size: 1.05rem;
  font-weight: 800;
}

.auth-footer {
  text-align: center;
}

.auth-footer p {
  color: var(--color-muted);
  font-size: 0.95rem;
  margin: 0;
}

.auth-link {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s var(--ease);
  position: relative;
}

.auth-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.3s var(--ease);
}

.auth-link:hover {
  color: var(--color-primary-2);
}

.auth-link:hover::after {
  width: 100%;
}

/* Form animations */
.auth-form {
  animation: fadeInUp 0.5s var(--ease);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive design */
@media (max-width: 768px) {
  .auth-section {
    padding: 40px 0;
    min-height: calc(100vh - 120px);
  }

  .auth-form {
    padding: 36px 28px;
    border-radius: var(--radius-m);
  }

  .auth-title {
    font-size: 1.9rem;
    margin-bottom: 10px;
  }

  .auth-subtitle {
    font-size: 1rem;
  }

  .auth-header {
    margin-bottom: 28px;
  }

  .auth-form-content {
    margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
  .auth-section {
    padding: 30px 0;
  }

  .auth-form {
    padding: 28px 24px;
    border-radius: var(--radius-s);
  }

  .auth-title {
    font-size: 1.7rem;
  }

  .auth-subtitle {
    font-size: 0.95rem;
  }

  .auth-header {
    margin-bottom: 24px;
  }
}

/* ==========================================
   CAPTCHA STYLES
   ========================================== */

.captcha-container {
  margin: 20px 0;
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-m);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.captcha-container label {
  display: block;
  margin-bottom: 0;
}

.captcha-container img {
  display: block;
  margin: 0 auto 10px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-s);
  background: white;
  cursor: default;
}

.captcha-container input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.3);
  border-radius: var(--radius-s);
  font-size: 16px;
  text-align: center;
  color: var(--color-text);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.captcha-container input:focus {
  outline: none;
  border-color: var(--color-primary);
  background: rgba(0, 0, 0, 0.4);
}

.refresh-btn {
  margin-top: 10px;
  width: 100%;
  padding: 8px 15px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-text);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-s);
  cursor: pointer;
  font-size: 14px;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.refresh-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.refresh-btn:active {
  background: rgba(255, 255, 255, 0.2);
}
