.scanner-library {
  background: #eff8ff !important;
  color: #102a56;
  font-family: Inter, RobotoLocal, Roboto, Arial, sans-serif;
}
.scanner-library .ix-status {
  background: #fff;
  color: #344054;
}
.scanner-library .plain-title {
  min-height: 72px;
  padding: 24px 12px 14px;
  display: flex;
  align-items: center;
  background: #fff !important;
}
.scanner-library .plain-title h1 {
  margin: 0;
  color: #102a56;
  font-family: RobotoLocal, Roboto, Arial, sans-serif;
  font-size: 20px;
  line-height: 26px;
  font-weight: 700;
  letter-spacing: 0;
}
#interactive .scanner-library .scan-empty {
  flex: 1;
  min-height: 0;
  padding: 8px 20px 112px;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 22px;
  align-items: center;
  background: transparent !important;
  color: #102a56;
  text-align: center;
}
.scanner-empty-card {
  position: relative;
  min-height: 440px;
  border-radius: 30px;
  padding: 42px 24px 34px;
  display: grid;
  align-content: center;
  justify-items: center;
  overflow: hidden;
  background:
    radial-gradient(230px 150px at 50% 28%, rgba(209, 233, 255, .52), transparent 78%),
    radial-gradient(210px 140px at 100% 100%, rgba(21, 112, 239, .09), transparent 76%),
    linear-gradient(135deg, rgba(255, 255, 255, .985), rgba(248, 252, 255, .92));
  box-shadow: inset 0 0 0 1px rgba(152, 170, 194, .14), 0 18px 36px rgba(16, 42, 86, .06);
  isolation: isolate;
}
.scanner-empty-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .72), rgba(255, 255, 255, .22) 42%, transparent 72%),
    radial-gradient(160px 100px at 12% 0%, rgba(255, 255, 255, .78), transparent 70%);
}
.scanner-empty-card::after {
  content: "";
  position: absolute;
  right: -56px;
  bottom: -56px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  z-index: 0;
  background: rgba(21, 112, 239, .08);
  filter: blur(14px);
}
.scanner-library .doc-ghost {
  position: relative;
  z-index: 1;
  width: 150px;
  height: 150px;
  margin: 0 0 28px;
  display: grid;
  place-items: center;
}
.scanner-library .doc-ghost::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 42px;
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 255, 255, .88), rgba(255, 255, 255, .24) 62%, transparent 76%),
    rgba(209, 233, 255, .44);
  box-shadow: 0 18px 34px rgba(21, 112, 239, .08);
}
.scanner-library .doc-ghost img {
  position: relative;
  z-index: 1;
  width: 104px;
  height: 104px;
  object-fit: contain;
  filter: drop-shadow(0 16px 22px rgba(16, 42, 86, .08));
}
.scanner-library .scan-empty h2 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #102a56;
  font-family: Inter, RobotoLocal, Roboto, Arial, sans-serif;
  font-size: 26px;
  line-height: 32px;
  font-weight: 850;
  letter-spacing: 0;
}
.scanner-library .scan-empty p {
  position: relative;
  z-index: 1;
  max-width: 310px;
  margin: 10px 0 0;
  color: #66758a;
  font-family: Inter, RobotoLocal, Roboto, Arial, sans-serif;
  font-size: 15px;
  line-height: 21px;
  font-weight: 600;
}
#interactive .scanner-library .scan-empty button {
  width: 100%;
  min-height: 56px;
  height: 56px;
  margin: 0;
  border: 0;
  border-radius: 17px !important;
  display: grid;
  place-items: center;
  background: #1570ef !important;
  color: #fff !important;
  font-family: Inter, RobotoLocal, Roboto, Arial, sans-serif;
  font-size: 17px !important;
  line-height: 24px;
  font-weight: 850;
  box-shadow: 0 16px 34px rgba(21, 112, 239, .24), inset 0 -1px 2px rgba(16, 42, 86, .22);
}
#interactive .scanner-library .scan-empty button:active {
  transform: scale(.985);
}
#interactive .scanner-library .scan-doc-list {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 28px 0 118px;
  background: #eff8ff !important;
}
.scanner-library .scan-doc-list article {
  min-height: 80px;
  margin: 0 20px 16px;
  padding: 12px 12px 12px 16px;
  border-radius: 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 32px;
  align-items: center;
  background: #fff;
  box-shadow: 0 4px 10px rgba(16, 42, 86, .11);
}
#interactive .scanner-library .scan-doc-list article > button:first-child {
  min-width: 0;
  min-height: 56px;
  padding: 0;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 12px;
  align-items: center;
  text-align: left;
}
.scanner-library .scan-doc-thumb {
  grid-row: 1 / 3;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(180deg, #ffffff 0 18%, #eef6ff 18% 100%),
    #eff8ff;
  box-shadow: inset 0 0 0 1px rgba(21, 112, 239, .08);
}
.scanner-library .scan-doc-thumb i {
  width: 31px;
  height: 40px;
  border-radius: 4px;
  display: block;
  background:
    linear-gradient(90deg, transparent 0 22px, rgba(21, 112, 239, .16) 22px 23px, transparent 23px),
    repeating-linear-gradient(180deg, transparent 0 7px, rgba(21, 112, 239, .18) 8px 9px),
    #fff;
  box-shadow: 0 8px 14px rgba(16, 42, 86, .08);
}
.scanner-library .scan-doc-list b {
  color: #102a56;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: Inter, RobotoLocal, Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 21px;
  font-weight: 500;
}
.scanner-library .scan-doc-list small {
  margin-top: 2px;
  color: #788697;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: RobotoLocal, Roboto, Arial, sans-serif;
  font-size: 12px;
  line-height: 16px;
  font-weight: 400;
}
#interactive .scanner-library .scan-doc-more {
  width: 32px;
  min-width: 32px;
  height: 32px;
  min-height: 32px;
  padding: 4px;
  border-radius: 0;
  display: grid;
  place-items: center;
  color: #102a56;
}
#interactive .scanner-library .scan-doc-more svg {
  width: 24px;
  height: 24px;
}
#interactive .scanner-library .scan-doc-more svg path {
  fill: none;
  stroke: #102a56;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.scanner-library .scan-fab {
  right: 20px !important;
  bottom: 112px !important;
  width: 56px !important;
  height: 56px !important;
  border-radius: 16px !important;
  background: #1570ef !important;
  color: #fff !important;
  box-shadow: 0 12px 24px rgba(16, 42, 86, .18), inset 0 -1px 2px rgba(16, 42, 86, .22) !important;
}
#interactive .scanner-library .scan-fab svg {
  width: 24px;
  height: 24px;
}
#interactive .scanner-library .scan-fab svg path {
  fill: none;
  stroke: #fff;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.scanner-library .scan-more-sheet {
  position: absolute;
  inset: 0;
  z-index: 7;
  background: transparent !important;
  pointer-events: auto;
}
.scanner-library .scan-more-sheet section {
  position: absolute;
  right: 20px;
  top: var(--popup-top, 190px);
  min-width: 168px;
  width: max-content;
  padding: 8px 0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(16, 42, 86, .18);
  overflow: hidden;
}
.scanner-library .scan-more-sheet button {
  width: 100%;
  min-height: 48px;
  padding: 12px 24px 12px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: #102a56;
  background: transparent;
  font-family: RobotoLocal, Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 22px;
  font-weight: 400;
  text-align: left;
}
.scanner-library .scan-more-sheet button:nth-child(n+4) {
  min-height: 56px;
  padding-top: 16px;
  padding-bottom: 16px;
}
.scanner-library .scan-more-sheet button:active {
  background: rgba(16, 42, 86, .06);
}
.scanner-library .scan-more-sheet .popup-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  fill: none;
  stroke: #102a56;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.scanner-library .scan-dialog {
  position: absolute;
  inset: 0;
  z-index: 8;
  padding: 0;
  display: grid;
  place-items: center;
  background: rgba(16, 24, 40, .32) !important;
}
.scanner-library .scan-dialog section {
  width: 85%;
  max-width: 386px;
  min-width: 0;
  box-sizing: border-box;
  padding: 32px 16px;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  box-shadow: 0 18px 40px rgba(16, 42, 86, .22);
}
.scanner-library .scan-dialog .dialog-art {
  width: 100px;
  height: 100px;
  object-fit: contain;
  display: block;
}
.scanner-library .scan-dialog h2 {
  margin: 0;
  color: #102a56;
  font-family: RobotoLocal, Roboto, Arial, sans-serif;
  font-size: 20px;
  line-height: 26px;
  font-weight: 700;
  text-align: center;
}
.scanner-library .delete-file-dialog p {
  margin: 8px 0 0;
  color: #788697;
  font-family: RobotoLocal, Roboto, Arial, sans-serif;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  text-align: center;
}
.scanner-library .rename-input {
  position: relative;
  width: 100%;
  margin-top: 16px;
  border: 1.5px solid #1570ef;
  border-radius: 16px;
  display: block;
  background: #eff8ff;
  overflow: hidden;
}
.scanner-library .rename-input input {
  width: 100%;
  min-height: 56px;
  box-sizing: border-box;
  padding: 16px 48px 16px 16px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #102a56;
  font-family: RobotoLocal, Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 22px;
  font-weight: 400;
}
.scanner-library .rename-input input::placeholder {
  color: #788697;
}
#interactive .scanner-library .rename-input button {
  position: absolute;
  top: 50%;
  right: 0;
  width: 48px;
  min-width: 48px;
  height: 48px;
  min-height: 48px;
  padding: 12px;
  border: 0;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  background: transparent;
}
.scanner-library .rename-input svg {
  width: 24px;
  height: 24px;
}
.scanner-library .rename-input svg path:first-child {
  fill: #949fad;
  stroke: none;
}
.scanner-library .rename-input svg path:nth-child(2) {
  fill: none;
  stroke: #fdfdfd;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.scanner-library .rename-input svg path:last-child {
  fill: none;
  stroke: #949fad;
  stroke-width: 1.5;
}
.scanner-library .dialog-actions {
  width: 100%;
  box-sizing: border-box;
  margin-top: 24px;
  padding: 0 8px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
#interactive .scanner-library .dialog-actions button {
  width: 100%;
  min-height: 48px;
  height: 48px;
  border: 0;
  border-radius: 16px !important;
  display: grid;
  place-items: center;
  font-family: Inter, RobotoLocal, Roboto, Arial, sans-serif;
  font-size: 14px !important;
  line-height: 20px;
  font-weight: 500 !important;
}
#interactive .scanner-library .dialog-cancel,
#interactive .scanner-library .dialog-delete {
  border-radius: 8px !important;
  background: transparent !important;
  box-shadow: none !important;
}
#interactive .scanner-library .dialog-cancel {
  color: #788697 !important;
}
#interactive .scanner-library .dialog-delete {
  color: #d92d20 !important;
}
#interactive .scanner-library .dialog-primary {
  background: #1570ef !important;
  color: #fff !important;
  box-shadow: inset 0 -1px 2px rgba(16, 42, 86, .32);
}
@media (prefers-reduced-motion: reduce) {
  #interactive .scanner-library .scan-empty button:active {
    transform: none;
  }
}
