/* Auth Container Styles */
.auth-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
  padding: 2rem 1rem;
  background: radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.08) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
}

.auth-container {
  width: 100%;
  max-width: 500px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  box-shadow: var(--box-shadow);
  overflow: hidden;
  position: relative;
}

/* Glassmorphism accent blur block behind card */
.auth-container::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background: var(--accent-blue);
  filter: blur(80px);
  opacity: 0.3;
  z-index: 0;
  pointer-events: none;
}

.auth-header {
  padding: 2rem 2rem 1rem 2rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.auth-header h2 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.auth-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Role Selector Tabs (Job Seeker vs Recruiter) */
.auth-tabs {
  display: flex;
  padding: 0 2rem;
  border-bottom: 1px solid var(--border-color);
  position: relative;
  z-index: 1;
}

.auth-tab {
  flex: 1;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 600;
  padding: 1rem;
  cursor: pointer;
  transition: color var(--transition-speed);
  position: relative;
  font-family: var(--font-heading);
}

.auth-tab:hover {
  color: var(--text-main);
}

.auth-tab.active {
  color: var(--accent-blue);
}

.auth-tab.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent-blue);
  box-shadow: 0 0 8px var(--accent-blue);
}

/* Form Styles */
.auth-form {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
  z-index: 1;
}

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

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

.form-control {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all var(--transition-speed);
  width: 100%;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-control::placeholder {
  color: var(--text-muted);
  opacity: 0.5;
}

/* Role-Specific Fields Container */
.role-fields {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: all var(--transition-speed) ease;
}

.hidden {
  display: none !important;
}

/* Toggle Link Text */
.auth-toggle {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.auth-toggle a {
  color: var(--accent-blue);
  text-decoration: none;
  font-weight: 600;
}

.auth-toggle a:hover {
  text-decoration: underline;
}
