/* SRD B2B — Shared Frontend Styles */

/* ── Auth bar ─────────────────────────────────────────────────────────────── */

.srdbs-auth-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: #f7f7f7;
  border: 1px solid #dadada;
  border-radius: 8px;
  margin-bottom: 24px;
  font-size: 0.9rem;
}

.srdbs-auth-welcome {
  color: #1a202c;
}

.srdbs-auth-welcome strong {
  color: #2d3748;
  font-weight: 600;
}

.srdbs-auth-action {
  font-size: 0.8125rem;
  color: #718096;
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
  margin-left: 16px;
}

.srdbs-auth-action:hover {
  text-decoration: underline;
}

.srdbs-auth-action--signin {
  color: #2563eb;
  font-weight: 600;
}

.srdbs-auth-action--signin:hover {
  color: #1d4ed8;
}

.srdbs-auth-actions {
  display: flex;
  align-items: center;
  gap: 0;
}

@media (max-width: 767px) {
  .srdbs-auth-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .srdbs-auth-action {
    margin-left: 0;
  }
}

/* ── Password strength meter ───────────────────────────────────────────────── */

.srdbs-strength {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}

.srdbs-strength__bar {
  flex: 1;
  height: 4px;
  background: #e2e8f0;
  border-radius: 2px;
  overflow: hidden;
}

.srdbs-strength__fill {
  height: 100%;
  border-radius: 2px;
  transition: width 0.25s ease, background-color 0.25s ease;
}

.srdbs-strength__label {
  font-size: 0.75rem;
  font-weight: 600;
  min-width: 68px;
  text-align: right;
  transition: color 0.25s ease;
}
