/* Public workspace signup and tenant admin sign-in. */
.login.cb-access {
  padding: 0;
}

.cb-access #header {
  flex-direction: row;
}

body.cb-access #container {
  width: 100%;
  min-width: 0;
  max-width: none;
  min-height: 100vh;
  margin: 0;
  background: var(--bg);
  border: 0;
  border-radius: 0;
  overflow: visible;
}

.cb-access #main {
  display: block;
}

.cb-access #content-start {
  width: min(100% - 32px, 34rem);
  min-width: 0;
  margin: clamp(24px, 6vw, 64px) auto;
}

.cb-access #content {
  min-height: 0 !important;
  padding: clamp(20px, 5vw, 32px) !important;
  background: var(--bg3) !important;
  border: 1px solid var(--bdr2);
  border-radius: var(--r2);
  overflow-wrap: anywhere;
}

.cb-access #content > h1 {
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 4vw, 2.125rem);
  line-height: 1.2;
}

.cb-access #content > .clear {
  display: none;
}

.cb-access #content-main > p {
  color: var(--text2);
}

.cb-access .cb-progress {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: .8125rem;
  font-weight: 700;
}

.cb-access .form-row {
  padding: 0 !important;
  margin: 0 0 16px;
  border: 0 !important;
}

body.cb-access .form-row label {
  display: block;
  margin: 0 0 4px;
  color: var(--text2);
  font-weight: 600;
  line-height: 1.5;
}

.cb-access .form-row :is(input, select) {
  width: 100%;
  min-width: 0;
}

.cb-access input[type=file] {
  color: var(--text2);
  font: inherit;
}

.cb-access input[type=file]::file-selector-button {
  margin-inline-end: 8px;
  padding: 6px 10px;
  background: var(--bg2);
  color: var(--text);
  border: 1px solid var(--bdr2);
  border-radius: var(--r);
  font: inherit;
  cursor: pointer;
}

.cb-access .submit-row {
  margin: 0;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
}

.cb-access .submit-row input {
  width: 100%;
  min-height: 42px;
}

.cb-access .cb-entry-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-top: 20px;
}

.cb-access .cb-entry-actions .button {
  background: var(--accent) !important;
  color: var(--bg) !important;
  text-decoration: none;
}

.cb-access .cb-entry-actions .button:hover,
.cb-access .submit-row input:hover {
  box-shadow: 0 4px 16px var(--ag);
}

.cb-access .cb-resend {
  margin-top: 12px;
}

.cb-access .cb-resend button {
  padding: 8px 12px;
  background: var(--bg2);
  color: var(--accent);
  border: 1px solid var(--bdr2);
  border-radius: var(--r);
  font: inherit;
  cursor: pointer;
}

.cb-access :is(a, button, input, select):focus-visible {
  outline: 2px solid var(--accent) !important;
  outline-offset: 2px;
}

.cb-access .cb-domain {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  color: var(--text2);
}

.cb-access .cb-domain input {
  flex: 1 1 9rem;
  width: auto;
}

.cb-access .helptext {
  display: block;
  margin-top: 6px;
  color: var(--text2);
  font-size: .8125rem;
}

.cb-access .cb-links {
  margin-top: 14px;
  font-size: .875rem;
}

.cb-access .cb-ok { color: var(--accent); }
.cb-access :is(.cb-bad, .errorlist, .errornote) { color: var(--danger); }
.cb-access :is(.errorlist, .errornote) {
  background: var(--dd);
  border-color: var(--danger);
}
