:root {
  --s5n-ink: #18212f;
  --s5n-muted: #667085;
  --s5n-line: #d9dee7;
  --s5n-teal: #217c7e;
  --s5n-red: #b42318;
  --s5n-page: #f5f7fa;
}

html,
body {
  min-height: 100%;
}

.s5n-dashboard-page {
  color: var(--s5n-ink);
  background: var(--s5n-page);
  font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.s5n-auth-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  background: linear-gradient(180deg, #ffffff 0%, #f2f5f8 100%);
}

.s5n-auth-box {
  width: min(100%, 25rem);
}

.login-logo {
  margin-bottom: 1rem;
  color: var(--s5n-ink);
  letter-spacing: 0;
}

.nav-pills .nav-link {
  border-radius: 0.35rem;
}

.nav-pills .nav-link.active {
  background: var(--s5n-teal);
}

.s5n-provider-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.s5n-provider-grid .btn {
  min-height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

.s5n-message {
  min-height: 1.5rem;
  margin: 0.75rem 0 0;
  color: var(--s5n-muted);
}

.s5n-message.is-error {
  color: var(--s5n-red);
}

.brand-link {
  min-height: 3.5rem;
}

.main-sidebar .brand-text {
  font-weight: 700;
  letter-spacing: 0;
}

.s5n-user-email {
  max-width: 16rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.content-wrapper {
  background: var(--s5n-page);
}

.content-header h1 {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0;
}

.card,
.small-box {
  border-radius: 0.5rem;
}

.table td,
.table th {
  vertical-align: middle;
}

.s5n-destination-cell {
  max-width: 20rem;
  overflow: hidden;
  text-overflow: ellipsis;
}

.s5n-copy-button {
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 575.98px) {
  .s5n-provider-grid {
    grid-template-columns: 1fr;
  }

  .content-header .btn {
    margin-top: 0.75rem;
  }

  .s5n-user-email {
    max-width: 9rem;
  }
}
