.printer-discovery-exact {
  background: #eff8ff;
  font-family: RobotoLocal, Roboto, Arial, sans-serif;
}

.printer-discovery-exact .ix-status {
  background: #fff;
}

.printer-exact-toolbar {
  height: 64px;
  padding: 16px 20px 16px 36px;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 32px 32px;
  column-gap: 12px;
  align-items: center;
  background: #fff;
}

.printer-exact-toolbar h1 {
  margin: 0;
  overflow: hidden;
  color: #102a56;
  font-size: 20px;
  line-height: 26px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
  letter-spacing: 0;
}

#interactive .printer-exact-toolbar button {
  width: 32px;
  min-width: 32px;
  height: 32px;
  min-height: 32px;
  padding: 4px;
  border: 0;
  border-radius: 0;
  display: grid;
  place-items: center;
  background: transparent;
  color: #1570ef;
}

.printer-exact-toolbar svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: #1570ef;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.printer-exact-toolbar [data-act="back"] svg {
  stroke: #102a56;
}

.printer-exact-toolbar.searching {
  grid-template-columns: 32px minmax(0, 1fr);
}

.printer-discovery-exact .ix-search-form {
  grid-column: auto;
  height: 40px;
  margin: 0 8px;
  padding: 8px 12px;
  border-radius: 16px;
  background: #f2f4f7;
}

.printer-discovery-exact .ix-search-form svg {
  width: 24px;
  height: 24px;
  stroke: #788697;
}

.printer-discovery-exact .ix-search-form input {
  color: #102a56;
  font-family: RobotoLocal, Roboto, Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
}

.printer-discovery-exact .printer-list {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #eff8ff;
}

#interactive .printer-discovery-exact .conn-card {
  min-height: 0;
  margin: 0;
  padding: 16px;
  border: 0;
  border-radius: 24px;
  display: block;
  background: #fff;
  color: #102a56;
  box-shadow: inset 0 -1px 2px rgba(148, 159, 173, .65), 0 6px 16px rgba(16, 42, 86, .08);
}

#interactive .printer-discovery-exact .conn-head {
  width: 100%;
  min-height: 20px;
  padding: 0;
  border: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  column-gap: 16px;
  align-items: center;
  background: transparent;
  color: #102a56;
  font: inherit;
  text-align: left;
  box-shadow: none;
}

.printer-discovery-exact .conn-head b {
  min-width: 0;
  color: #102a56;
  font-family: Inter, RobotoLocal, Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 20px;
  font-weight: 700;
  white-space: normal;
}

.printer-discovery-exact .switch {
  position: relative;
  width: 34px;
  height: 20px;
  padding: 0;
  border-radius: 999px;
  display: block;
  background: transparent;
}

.printer-discovery-exact .switch::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 34px;
  height: 14px;
  border-radius: 7px;
  background: #e0e0e0;
  box-shadow: inset 0 -1px 2px rgba(148, 159, 173, .8);
  transition: background-color 200ms ease;
}

.printer-discovery-exact .switch i {
  position: relative;
  z-index: 1;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: block;
  background: #fff;
  box-shadow: inset 0 -1px 2px rgba(16, 42, 86, .8), 0 1px 3px rgba(16, 42, 86, .12);
  transform: translateX(0);
  transition: transform 200ms ease, background-color 200ms ease;
}

.printer-discovery-exact .switch.on::before {
  background: #d1e9ff;
  box-shadow: inset 0 -1px 2px rgba(46, 144, 250, .55);
}

.printer-discovery-exact .switch.on i {
  background: #1570ef;
  transform: translateX(14px);
}

#interactive .printer-discovery-exact .system-print {
  width: 100%;
  min-height: 0;
  margin: 0;
  padding: 8px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #1570ef;
  font-family: RobotoLocal, Roboto, Arial, sans-serif;
  font-size: 13px;
  line-height: 17px;
  font-weight: 500;
  text-align: center;
  box-shadow: none;
}

.printer-discovery-exact .printer-results {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

#interactive .printer-discovery-exact .printer-card {
  min-height: 80px;
  margin: 0;
  padding: 16px;
  border-radius: 16px;
  grid-template-columns: minmax(0, 1fr) 70px;
  overflow: hidden;
  background: linear-gradient(59deg, #fff 0%, #d1e9ff 100%);
  color: #175cd3;
  box-shadow: inset 0 -1px 2px rgba(46, 144, 250, .65);
}

.printer-discovery-exact .printer-card::after {
  content: "";
  grid-column: 2;
  grid-row: 1;
  width: 70px;
  height: 70px;
  align-self: end;
  justify-self: end;
  background: url("../assets/drawable/ic_item_printers.webp") center / contain no-repeat;
}

.printer-discovery-exact .printer-card .printer-icon {
  display: none;
}

.printer-discovery-exact .printer-card > span:nth-child(2) {
  min-width: 0;
  align-self: center;
}

.printer-discovery-exact .printer-card b {
  overflow: hidden;
  color: #175cd3;
  font-family: RobotoLocal, Roboto, Arial, sans-serif;
  font-size: 20px;
  line-height: 25px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.printer-discovery-exact .printer-card small {
  overflow: hidden;
  color: #1570ef;
  font-family: RobotoLocal, Roboto, Arial, sans-serif;
  font-size: 14px;
  line-height: 18px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.printer-discovery-exact .scan-state,
.printer-discovery-exact .empty-state {
  padding: 0;
  display: grid;
  gap: 12px;
  color: #788697;
  text-align: left;
}

.printer-discovery-exact .scan-state {
  grid-template-columns: 1fr;
  margin-top: 16px;
}

.printer-discovery-exact .scan-state div,
.printer-discovery-exact .scan-state div::before {
  height: 100px;
  border-radius: 16px;
}

.printer-discovery-exact .scan-state div {
  width: 100%;
  border: 0;
  background: linear-gradient(70deg, #ebedef 0%, #fff 50%, #ebedef 100%);
  animation: printerShimmer 1.7s linear infinite;
  box-shadow: inset 0 -1px 2px rgba(148, 159, 173, .65);
}

.printer-discovery-exact .scan-state b,
.printer-discovery-exact .scan-state p {
  display: none;
}

@keyframes printerShimmer {
  0% { filter: brightness(.98); }
  50% { filter: brightness(1.06); }
  100% { filter: brightness(.98); }
}
