/* AdminAuth Modal Styles — Docusign Brand */

:root {
  --ds-purple: #4B00E9;
  --ds-purple-dark: #3B00BA;
  --ds-inkwell: #130032;
  --ink: #18181B;
  --ink-mid: #3F3F46;
  --ink-soft: #71717A;
  --hair: #E4E4E7;
  --hair-strong: #D4D4D8;
  --err: #DC2626;
  --bg: #FAFAF7;
  --ui: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

.admin-auth-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(19, 0, 50, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  font-family: var(--ui);
}

.admin-auth-card {
  background: #fff;
  border: 1px solid var(--hair);
  border-radius: 10px;
  padding: 32px;
  max-width: 360px;
  width: 100%;
  box-shadow: 0 10px 40px rgba(19, 0, 50, 0.1);
}

.admin-auth-header {
  font-weight: 600;
  font-size: 18px;
  color: var(--ds-inkwell);
  margin-bottom: 8px;
}

.admin-auth-sub {
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 20px;
  line-height: 1.55;
}

.admin-auth-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.admin-auth-input {
  padding: 10px 12px;
  border: 1px solid var(--hair-strong);
  border-radius: 6px;
  font-size: 14px;
  font-family: var(--mono);
  background: #fff;
  color: var(--ink);
  transition: border-color 0.15s;
}

.admin-auth-input:focus {
  outline: none;
  border-color: var(--ds-purple);
  box-shadow: 0 0 0 3px rgba(75, 0, 233, 0.08);
}

.admin-auth-err {
  font-size: 12px;
  color: var(--err);
  min-height: 16px;
  margin-top: -6px;
}

.admin-auth-btn-submit,
.admin-auth-btn-cancel {
  padding: 10px;
  border-radius: 6px;
  border: none;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.15s;
}

.admin-auth-btn-submit {
  background: var(--ds-purple);
  color: #fff;
  margin-top: 4px;
}

.admin-auth-btn-submit:hover {
  background: var(--ds-purple-dark);
}

.admin-auth-btn-cancel {
  background: var(--hair);
  color: var(--ink);
}

.admin-auth-btn-cancel:hover {
  background: var(--hair-strong);
}
