#mo-find-replace-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(3, 7, 15, .72);
  backdrop-filter: blur(10px);
}

#mo-find-replace-backdrop[hidden] {
  display: none !important;
}

.mo-fr-card {
  width: min(560px, calc(100vw - 30px));
  overflow: hidden;
  color: #f4f7ff;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 22px;
  background:
    linear-gradient(
      145deg,
      rgba(24, 31, 45, .98),
      rgba(10, 15, 25, .98)
    );
  box-shadow:
    0 30px 90px rgba(0, 0, 0, .55),
    inset 0 1px 0 rgba(255, 255, 255, .05);
}

.mo-fr-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.mo-fr-header span {
  display: block;
  margin-bottom: 4px;
  color: #7f8ca8;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;
}

.mo-fr-header h2 {
  margin: 0;
  font-size: 22px;
}

.mo-fr-icon-button {
  width: 38px;
  height: 38px;
  padding: 0;
  color: #dce5f7;
  font-size: 25px;
  line-height: 1;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 13px;
  background: rgba(255, 255, 255, .05);
  cursor: pointer;
}

.mo-fr-body {
  display: grid;
  gap: 16px;
  padding: 22px 24px;
}

.mo-fr-body label:not(.mo-fr-check) {
  display: grid;
  gap: 8px;
  color: #aeb9ce;
  font-size: 12px;
  font-weight: 700;
}

.mo-fr-body input[type="text"],
.mo-fr-body select {
  width: 100%;
  min-height: 46px;
  box-sizing: border-box;
  padding: 0 14px;
  color: #f5f8ff;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 14px;
  outline: none;
  background: rgba(255, 255, 255, .055);
}

.mo-fr-body input[type="text"]:focus,
.mo-fr-body select:focus {
  border-color: rgba(106, 144, 255, .72);
  box-shadow: 0 0 0 3px rgba(79, 113, 255, .15);
}

.mo-fr-check {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #cbd5e7;
  font-size: 13px;
  cursor: pointer;
}

.mo-fr-check input {
  width: 17px;
  height: 17px;
}

.mo-fr-status {
  min-height: 43px;
  box-sizing: border-box;
  padding: 12px 14px;
  color: #aeb9ce;
  font-size: 13px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 14px;
  background: rgba(255, 255, 255, .035);
}

.mo-fr-status[data-type="success"] {
  color: #8ff0b3;
  border-color: rgba(46, 204, 113, .27);
}

.mo-fr-status[data-type="warning"] {
  color: #ffd98b;
  border-color: rgba(255, 184, 76, .27);
}

.mo-fr-status[data-type="error"] {
  color: #ff9a9a;
  border-color: rgba(255, 78, 78, .3);
}

.mo-fr-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 18px 24px 22px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.mo-fr-actions button {
  min-height: 42px;
  padding: 0 17px;
  color: #eaf0ff;
  font-weight: 750;
  border-radius: 13px;
  cursor: pointer;
}

.mo-fr-secondary {
  border: 1px solid rgba(255, 255, 255, .11);
  background: rgba(255, 255, 255, .055);
}

.mo-fr-primary {
  border: 1px solid rgba(111, 138, 255, .65);
  background:
    linear-gradient(
      135deg,
      #536dfe,
      #7047eb
    );
}

.mo-fr-actions button:disabled,
.mo-fr-body input:disabled,
.mo-fr-body select:disabled {
  cursor: wait;
  opacity: .55;
}

.mo-fr-menu-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  min-width: 17px;
  font-size: 18px;
  line-height: 1;
}

@media (max-width: 560px) {
  .mo-fr-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .mo-fr-actions button {
    width: 100%;
  }
}

/* MagicOps Find Replace Dark Dropdown Start */

#mo-find-replace-backdrop #mo-fr-column {
  color-scheme: dark !important;
  appearance: auto !important;
  -webkit-appearance: auto !important;
  color: #f5f8ff !important;
  background-color: #171d2a !important;
  border-color: rgba(111, 138, 255, 0.5) !important;
  cursor: pointer;
}

#mo-find-replace-backdrop #mo-fr-column:hover {
  border-color: rgba(129, 156, 255, 0.82) !important;
  background-color: #1c2332 !important;
}

#mo-find-replace-backdrop #mo-fr-column:focus {
  color-scheme: dark !important;
  color: #ffffff !important;
  background-color: #171d2a !important;
  border-color: #6384ff !important;
  box-shadow:
    0 0 0 3px rgba(83, 109, 254, 0.2) !important;
}

#mo-find-replace-backdrop #mo-fr-column option {
  color-scheme: dark !important;
  color: #eef2ff !important;
  background-color: #111827 !important;
  padding: 10px 14px;
}

#mo-find-replace-backdrop #mo-fr-column option:hover,
#mo-find-replace-backdrop #mo-fr-column option:focus,
#mo-find-replace-backdrop #mo-fr-column option:checked {
  color: #ffffff !important;
  background:
    linear-gradient(
      135deg,
      #3f5fd5,
      #6546d8
    ) !important;
}

#mo-find-replace-backdrop #mo-fr-column option:disabled {
  color: #64748b !important;
  background-color: #111827 !important;
}

/* MagicOps Find Replace Dark Dropdown End */
