.shared-key-panel {
  margin-bottom: 14px;
  box-shadow: none;
}

.shared-key-toolbar {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 64px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}

.shared-key-toolbar h2 {
  margin: 0;
  font-size: 15px;
}

.shared-key-toolbar p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.shared-key-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.shared-key-toolbar-actions span {
  color: #4f5d70;
  font-size: 11px;
  font-weight: 700;
}

.shared-key-table-wrap {
  overflow-x: auto;
}

.shared-key-table {
  min-width: 820px;
}

.shared-key-table th:first-child,
.shared-key-table td:first-child {
  width: 48px;
  text-align: center;
}

.shared-key-table th:last-child,
.shared-key-table td:last-child {
  width: 96px;
  text-align: right;
}

.shared-key-table tbody tr:hover {
  background: #fafbfc;
}

.shared-key-table code {
  color: #263445;
  font: 11px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace;
}

.shared-key-source,
.shared-key-date {
  color: var(--muted);
}

.shared-key-name {
  color: #263445;
  font-weight: 750;
}

.shared-key-status-text {
  color: var(--green);
  font-weight: 750;
}

.shared-key-empty {
  padding: 24px 16px !important;
  color: var(--muted);
  text-align: center !important;
}

.shared-key-modal-card {
  width: min(620px, 100%);
}

.shared-key-input-list {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}

.shared-key-input-row {
  display: grid;
  grid-template-columns: 70px minmax(130px, 0.7fr) minmax(220px, 1.3fr) 72px;
  align-items: end;
  gap: 10px;
}

.shared-key-row-number {
  align-self: center;
  color: #4f5d70;
  font-size: 11px;
  font-weight: 750;
}

.shared-key-input-row label {
  display: grid;
  gap: 5px;
  color: #4f5d70;
  font-size: 10.5px;
  font-weight: 700;
}

.shared-key-input-row input {
  width: 100%;
  border: 1px solid #c9d2df;
  border-radius: 6px;
  padding: 9px 10px;
  background: #fff;
  font: inherit;
  font-size: 12px;
}

.shared-key-input-row .shared-fmcsa-key-input {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}

.shared-key-input-row input:focus {
  border-color: #718096;
  box-shadow: 0 0 0 3px #e7ebef;
  outline: 0;
}

@media (max-width: 720px) {
  .shared-key-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .shared-key-toolbar-actions {
    width: 100%;
    margin-left: 0;
    justify-content: space-between;
  }

  .shared-key-input-row {
    grid-template-columns: 1fr 64px;
  }

  .shared-key-row-number,
  .shared-key-input-row label {
    grid-column: 1 / -1;
  }

  .shared-key-input-row .remove-shared-key-input {
    grid-column: 2;
  }
}
