.company-brand-logo {
  display: block;
  width: 190px;
  max-width: 100%;
  height: auto;
}

.company-sidebar-head {
  min-height: 52px;
  margin-bottom: 34px;
}

.company-user-logo {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #fff;
  object-fit: cover;
  box-shadow: 0 4px 14px rgba(20, 47, 70, .12);
}

.company-logout button {
  color: #d4e0e3;
}

.company-logout button:hover {
  background: rgba(255, 255, 255, .08);
  color: #fff;
}

.company-toast {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 300;
  width: min(560px, calc(100% - 32px));
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, calc(-100% - 40px));
  transition: transform .36s ease, opacity .28s ease;
  box-shadow: 0 14px 34px rgba(15, 38, 61, .18);
}

.company-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.company-title-row,
.company-private-line,
.company-code-secret,
.company-generated-code {
  display: flex;
  align-items: center;
}

.company-title-row {
  gap: 12px;
}

.company-title-qr {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-top: 5px;
  border-radius: 12px;
  background: #e5eeff;
  color: var(--qc-blue);
  text-decoration: none;
}

.company-title-qr:hover {
  background: var(--qc-blue);
  color: #fff;
}

.company-private-line {
  gap: 8px;
}

.company-private-line > strong {
  min-height: 39px;
  margin: 4px 0;
  letter-spacing: .04em;
}

.company-private-line button,
.company-code-secret button,
.company-generated-code button {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 9px;
  background: #edf2f8;
  color: #647187;
  cursor: pointer;
}

.company-private-line button:hover,
.company-code-secret button:hover,
.company-generated-code button:hover {
  background: #dfe9fa;
  color: var(--qc-blue);
}

.company-private-line button .material-symbols-rounded,
.company-code-secret button .material-symbols-rounded,
.company-generated-code button .material-symbols-rounded {
  font-size: 20px;
}

.company-code-secret,
.company-generated-code {
  gap: 7px;
  white-space: nowrap;
}

.company-code-secret code {
  min-width: 112px;
  text-align: center;
}

.company-type,
.company-code-status {
  display: inline-flex;
  align-items: center;
  padding: 6px 9px;
  border-radius: 999px;
  font-size: .73rem;
  font-weight: 800;
  white-space: nowrap;
}

.company-type {
  background: #eef2f7;
  color: #5e6a7d;
}

.company-type.is-prepontos {
  background: #edf8d4;
  color: #557900;
}

.company-code-status.is-aguardando {
  background: #fff4dc;
  color: #956000;
}

.company-code-status.is-ativo,
.company-code-status.is-finalizado {
  background: #e8f8ed;
  color: #247246;
}

.company-code-status.is-expirado,
.company-code-status.is-cancelado {
  background: #f1f3f6;
  color: #778295;
}

.company-muted {
  color: var(--qc-muted);
}

.company-codes-table td {
  vertical-align: middle;
}

.company-primary:disabled {
  cursor: not-allowed;
  background: #cbd3df;
  color: #718094;
  opacity: 1;
}

.company-redemption {
  max-width: none;
  margin-bottom: 22px;
}

.company-redemption-search {
  max-width: 760px;
}

.company-redemption-client {
  margin-bottom: 22px;
}

.company-client-summary {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 26px;
  border-radius: 20px;
  background: #123d4a;
  color: #fff;
  box-shadow: var(--qc-shadow);
}

.company-client-summary > img {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  border: 2px solid rgba(255, 255, 255, .65);
  border-radius: 50%;
  background: #fff;
  object-fit: cover;
}

.company-client-summary > div:nth-child(2) {
  display: grid;
}

.company-client-summary > div:nth-child(2) > span,
.company-client-balance > span {
  color: #bdd1d6;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.company-client-summary h2 {
  margin: 3px 0;
  font-size: 1.35rem;
}

.company-client-summary small {
  color: #d3e1e4;
}

.company-client-balance {
  display: grid;
  margin-left: auto;
  text-align: right;
}

.company-client-balance strong {
  color: var(--qc-lime);
  font-size: 2rem;
  line-height: 1;
}

.company-reward-list {
  display: grid;
  gap: 12px;
}

.company-reward-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--qc-line);
  border-radius: 15px;
  background: #f8fafc;
}

.company-reward-item.is-ready {
  border-color: #cfe99b;
  background: #fbfff2;
}

.company-reward-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: #e8edf4;
  color: #788497;
}

.company-reward-item.is-ready .company-reward-icon {
  background: #eaf8c9;
  color: #567c00;
}

.company-reward-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.company-reward-heading > div {
  display: grid;
}

.company-reward-heading small {
  color: var(--qc-muted);
}

.company-reward-heading > span {
  color: var(--qc-muted);
  font-size: .78rem;
  font-weight: 800;
  text-align: right;
}

.company-reward-item.is-ready .company-reward-heading > span {
  color: #4f7800;
}

.company-progress {
  height: 8px;
  margin-top: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #dfe5ed;
}

.company-progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--qc-blue);
}

.company-reward-item.is-ready .company-progress i {
  background: #8fc51a;
}

@media (max-width: 780px) {
  .company-mobile-header .company-brand-logo {
    width: 154px;
  }

  .company-sidebar-head {
    margin-bottom: 24px;
  }

  .company-client-summary {
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 20px;
  }

  .company-client-balance {
    width: 100%;
    margin-left: 80px;
    text-align: left;
  }

  .company-reward-item {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .company-reward-item form {
    grid-column: 1 / -1;
  }

  .company-reward-item form .company-primary {
    width: 100%;
  }

  .company-reward-heading {
    display: grid;
  }

  .company-reward-heading > span {
    text-align: left;
  }
}
