.password-input-group {
  position: relative;
}

.password-input-group input {
  padding-right: 48px;
}

.password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #888;
  cursor: pointer;
  padding: 4px;
}

.password-toggle:hover {
  color: var(--black);
}

.divider-text {
  display: flex;
  align-items: center;
  text-align: center;
}

.divider-text::before,
.divider-text::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #e0e0e0;
}

.divider-text span {
  padding: 0 16px;
  color: #888;
  font-size: 14px;
}

.social-login-buttons {
  display: flex;
  gap: 12px;
}

.btn-social {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: white;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.2s;
}

.btn-social:hover {
  background: #f5f5f5;
  border-color: #ccc;
}

.btn-google:hover {
  border-color: #4285f4;
}

.btn-linkedin {
  color: #0077b5;
}

.btn-linkedin:hover {
  border-color: #0077b5;
  background: rgba(0, 119, 181, 0.05);
}

.password-strength-bar {
  height: 4px;
  background: #eaeaea;
  border-radius: 4px;
  overflow: hidden;
}

.password-strength-fill {
  height: 100%;
  width: 0;
  transition: width 0.3s, background 0.3s;
  border-radius: 4px;
}

.password-strength-fill.weak {
  width: 33%;
  background: #ef4444;
}
.password-strength-fill.medium {
  width: 66%;
  background: #f59e0b;
}
.password-strength-fill.strong {
  width: 100%;
  background: #22c55e;
}

.password-strength-text {
  font-size: 12px;
  color: #888;
}

.form-control.is-invalid {
  border-color: #ef4444;
}

.form-control.is-valid {
  border-color: #22c55e;
}

.role-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.role-option {
  cursor: pointer;
}

.role-option input {
  display: none;
}

.role-option-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 16px;
  border: 2px solid #eee;
  border-radius: 12px;
  transition: all 0.2s;
}

.role-option-content i {
  font-size: 1.5rem;
  color: #888;
  margin-bottom: 8px;
  transition: color 0.2s;
}

.role-option-content .role-title {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.role-option-content .role-desc {
  font-size: 0.75rem;
  color: #888;
}

.role-option:hover .role-option-content {
  border-color: #ccc;
}

.role-option input:checked + .role-option-content {
  border-color: var(--red);
  background: rgba(183, 28, 28, 0.03);
}

.role-option input:checked + .role-option-content i {
  color: var(--red);
}

@media (max-width: 480px) {
  .role-selector {
    grid-template-columns: 1fr;
  }
}
