.asset-toolbar-actions {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.asset-toolbar-actions .asset-search-field {
  width: clamp(250px, 24vw, 330px);
  min-width: 0;
}

.asset-open-material-recovery {
  min-width: 112px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid rgba(0, 175, 233, 0.42);
  border-radius: var(--rect-radius, 8px);
  padding: 0 14px;
  color: #008fc3;
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.asset-open-material-recovery:hover:not(:disabled) {
  border-color: #00afe9;
  background: #eefaff;
}

.asset-open-material-recovery:disabled {
  cursor: not-allowed;
  color: #a8b2c2;
  border-color: #dde5ee;
  background: #f6f8fb;
}

.asset-open-material-recovery svg {
  width: 17px;
  height: 17px;
}

.material-recovery-dialog {
  position: fixed;
  inset: 0;
  z-index: 230;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(15, 23, 42, 0.42);
  backdrop-filter: blur(5px);
}

.material-recovery-dialog.is-open {
  display: grid;
}

.material-recovery-card {
  width: min(100%, 460px);
  overflow: hidden;
  border: 1px solid #e1e8f1;
  border-radius: var(--rect-radius, 8px);
  background: #fff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.22);
}

.material-recovery-head {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 22px;
  border-bottom: 1px solid #e8edf4;
}

.material-recovery-head h2 {
  margin: 0;
  color: #111827;
  font-size: 22px;
  font-weight: 700;
}

.material-recovery-close {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid #dce5ef;
  border-radius: var(--rect-radius, 8px);
  color: #445268;
  background: #fff;
}

.material-recovery-close svg {
  width: 18px;
  height: 18px;
}

.material-recovery-intro {
  margin: 0;
  padding: 18px 22px 10px;
  color: #667085;
  font-size: 14px;
  line-height: 1.6;
}

.material-recovery-options {
  display: grid;
  gap: 8px;
  padding: 0 22px 12px;
}

.material-recovery-option {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid #dce5ef;
  border-radius: var(--rect-radius, 8px);
  padding: 10px 13px;
  color: #344054;
  background: #fff;
  text-align: left;
}

.material-recovery-option:hover:not(:disabled) {
  border-color: rgba(0, 175, 233, 0.52);
  background: #f7fcff;
}

.material-recovery-option:disabled {
  cursor: not-allowed;
  color: #667085;
  background: #fafbfc;
}

.material-recovery-option.is-selected {
  border-color: #00afe9;
  background: #effaff;
  box-shadow: 0 0 0 2px rgba(0, 175, 233, 0.1);
}

.material-recovery-option-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.material-recovery-option-copy strong {
  font-size: 16px;
  font-weight: 400;
}

.material-recovery-count {
  min-width: 30px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 8px;
  color: #008fc3;
  background: #e4f7ff;
  font-size: 13px;
  font-weight: 600;
}

.material-recovery-empty {
  min-height: 70px;
  margin: 0;
  display: grid;
  place-items: center;
  border: 1px dashed #d7e1eb;
  border-radius: var(--rect-radius, 8px);
  color: #8b96a8;
  font-size: 14px;
}

.material-recovery-error {
  min-height: 20px;
  margin: 0;
  padding: 0 22px;
  color: #cd140f;
  font-size: 13px;
}

.material-recovery-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 22px 20px;
}

.material-recovery-cancel,
.material-recovery-confirm {
  min-width: 96px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--rect-radius, 8px);
  padding: 0 16px;
  font-size: 14px;
  font-weight: 500;
}

.material-recovery-cancel {
  border: 1px solid #d7e2ed;
  color: #475467;
  background: #fff;
}

.material-recovery-confirm {
  border: 1px solid #00afe9;
  color: #fff;
  background: #00afe9;
}

.material-recovery-confirm:disabled {
  cursor: not-allowed;
  border-color: #d9e1e9;
  color: #98a2b3;
  background: #eef2f6;
}

.material-delete-dialog {
  z-index: 240;
}

.material-delete-error {
  min-height: 20px;
  margin: 12px 0 0;
  color: #cd140f;
  font-size: 13px;
  line-height: 20px;
}

@media (max-width: 920px) {
  .asset-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .asset-toolbar-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .asset-toolbar-actions .asset-search-field {
    width: min(100%, 330px);
    flex: 1 1 230px;
  }
}

@media (max-width: 560px) {
  .asset-toolbar-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .asset-toolbar-actions .asset-search-field,
  .asset-open-material-recovery {
    width: 100%;
  }
}
