.theme-body {
  background-color: #131519;
  color: #b8bcc4;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.theme-navbar {
  background-color: #1a1d23;
  border-bottom: 1px solid #2a2d35;
  color: #b8bcc4;
  font-size: 13px;
  font-weight: 400;
  height: 52px;
  overflow: hidden;
  padding: 0 16px;
}

.theme-navbar__logo-wrap {
  display: inline-block;
  height: 100%;
  overflow: hidden;
  padding: 12px 15px;
  width: 300px;
}

.theme-navbar__logo {
  height: 100%;
  max-height: 26px;
}

.theme-heading {
  color: #dcdfe5;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
  margin-top: 0;
}

.theme-panel {
  background-color: #1a1d23;
  border: 1px solid #2a2d35;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  padding: 32px;
}

/* A width rather than a minimum: the button has to be the same size whatever
 * the connector is called, and it has to give way on a screen too narrow to
 * hold it rather than push out of the panel. */
.theme-btn-provider {
  background-color: #22252c;
  border: 1px solid #33363e;
  color: #b8bcc4;
  max-width: 100%;
  width: 260px;
}

.theme-btn-provider:hover {
  background-color: #2a2d35;
  border-color: #3e414a;
  color: #dcdfe5;
}

.theme-btn--primary {
  background-color: #3d3f47;
  border: none;
  color: #e8eaed;
  min-width: 200px;
  padding: 8px 16px;
}

.theme-btn--primary:hover {
  background-color: #4a4c55;
  color: #fff;
}

.theme-btn--success {
  background-color: #2d7d9a;
  color: #e8eaed;
  width: 260px;
}

.theme-btn--success:hover {
  background-color: #358fae;
}

.theme-form-row {
  display: block;
  margin: 16px auto;
}

.theme-form-input {
  background-color: #131519;
  border: 1px solid #33363e;
  border-radius: 8px;
  color: #b8bcc4;
  display: block;
  font-size: 14px;
  height: 40px;
  line-height: 1.5;
  margin: auto;
  padding: 8px 12px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  width: 260px;
}

.theme-form-input:focus,
.theme-form-input:active {
  border-color: #5a9bb5;
  box-shadow: 0 0 0 3px rgba(90, 155, 181, 0.15);
  color: #dcdfe5;
  outline: none;
}

.theme-form-label {
  color: #b8bcc4;
  font-size: 14px;
  font-weight: 500;
  margin: 4px auto;
  position: relative;
  text-align: left;
  width: 260px;
}

.theme-link-back {
  margin-top: 8px;
}

.theme-remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    width: 260px;
    margin: 4px auto;
}

.dex-container {
  color: #b8bcc4;
}

/* Palette the shared stylesheet reads for the home page. Without these the
 * page would fall back to the light values and render dark text on the dark
 * panel. */
.theme-body {
  --dex-fg: #dcdfe5;
  --dex-fg-muted: #8b909b;
  --dex-border: #2a2d35;
  --dex-accent: #5a9bb5;
}
