/*!***************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[2].use[2]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[2].use[3]!./dev/admin/modules/media-replace/media-replace.scss ***!
  \***************************************************************************************************************************************************************************************************************************************************************************/
@charset "UTF-8";
.jltadminify-replace-media {
  margin-top: 10px;
}

.wp-adminify.post-type-attachment #jltwp-adminify-media-replace .inside {
  margin-top: 11px;
}

.wp-adminify.post-php .compat-field-jltwp-adminify-media-replace td.field {
  width: 100%;
}

/* Suppress WP's "Required fields are marked *" notice when our field is the
   only compat field shown — it's misleading because we don't require anything. */
body:has(.jltwp-adminify-replace-media-wrap) .media-types-required-info {
  display: none !important;
}

/* Reskin the .postbox wrapper used in modal context to match the shadcn-style
   card design used by the trigger / confirmation UI inside it. */
.jltwp-adminify-replace-postbox.postbox {
  margin-top: 24px;
  border: 1px solid #e4e4e7;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  /* Hide the postbox sortable / toggle controls — this card isn't draggable. */
}
.jltwp-adminify-replace-postbox.postbox .jltwp-adminify-replace-postbox-header {
  display: block;
  padding: 14px 16px 12px;
  border-bottom: 1px solid #e4e4e7;
  background: #fafafa;
  cursor: default;
}
.jltwp-adminify-replace-postbox.postbox .jltwp-adminify-replace-postbox-title {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  color: #09090b;
  letter-spacing: -0.005em;
  cursor: default;
}
.jltwp-adminify-replace-postbox.postbox .jltwp-adminify-replace-postbox-subtitle {
  margin: 4px 0 0;
  padding: 0;
  font-size: 12px;
  line-height: 1.5;
  color: #71717a;
}
.jltwp-adminify-replace-postbox.postbox .jltwp-adminify-replace-postbox-inside {
  padding: 20px;
  margin-top: 0;
}
.jltwp-adminify-replace-postbox.postbox .handle-actions,
.jltwp-adminify-replace-postbox.postbox .handlediv {
  display: none;
}

.jltwp-adminify-replace-media-wrap {
  --jltwp-radius: 8px;
  --jltwp-radius-sm: 6px;
  --jltwp-border: #e4e4e7;
  --jltwp-border-strong: #d4d4d8;
  --jltwp-bg: #ffffff;
  --jltwp-bg-muted: #fafafa;
  --jltwp-fg: #09090b;
  --jltwp-muted: #71717a;
  --jltwp-primary: #3a3ae9;
  --jltwp-primary-hover: #2e2ed1;
  --jltwp-primary-fg: #ffffff;
  --jltwp-success: #16a34a;
  --jltwp-success-bg: #f0fdf4;
  --jltwp-error: #dc2626;
  --jltwp-error-bg: #fef2f2;
  --jltwp-info: #2563eb;
  --jltwp-info-bg: #eff6ff;
  --jltwp-warning-bg: #fffbeb;
  --jltwp-shadow-sm: 0 1px 2px rgba(0, 0, 0, .04);
  --jltwp-shadow: 0 1px 3px rgba(0, 0, 0, .06), 0 1px 2px rgba(0, 0, 0, .04);
  margin: 0;
  color: #09090b;
  color: var(--jltwp-fg);
  font-size: 13px;
  line-height: 1.5;
  /* Buttons (shadcn-style) */
  /* Destructive variant — used for the inline confirmation card's Cancel button. */
  /* Trigger row */
  /* Confirmation card */
  /* Inline message (info / success / error) */
  /* Footer note */
}
.jltwp-adminify-replace-media-wrap * {
  box-sizing: border-box;
}
.jltwp-adminify-replace-media-wrap .jltwp-adminify-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  cursor: pointer;
  font: inherit;
  font-weight: 500;
  font-size: 13px;
  line-height: 1.2;
  padding: 8px 14px;
  margin: 15px 0;
  border-radius: var(--jltwp-radius-sm);
  border: 1px solid transparent;
  background: transparent;
  color: var(--jltwp-fg);
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.05s ease;
  white-space: nowrap;
  -webkit-text-decoration: none;
  text-decoration: none;
}
.jltwp-adminify-replace-media-wrap .jltwp-adminify-btn:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--jltwp-bg), 0 0 0 4px rgba(58, 58, 233, 0.35);
}
.jltwp-adminify-replace-media-wrap .jltwp-adminify-btn:active:not(:disabled) {
  transform: translateY(1px);
}
.jltwp-adminify-replace-media-wrap .jltwp-adminify-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.jltwp-adminify-replace-media-wrap .jltwp-adminify-btn .jltwp-adminify-icon {
  flex: 0 0 auto;
}
.jltwp-adminify-replace-media-wrap .jltwp-adminify-btn-primary {
  background: var(--jltwp-primary);
  color: var(--jltwp-primary-fg);
  border-color: var(--jltwp-primary);
  box-shadow: 0 1px 2px rgba(58, 58, 233, 0.25);
}
.jltwp-adminify-replace-media-wrap .jltwp-adminify-btn-primary:hover:not(:disabled) {
  background: var(--jltwp-primary-hover);
  border-color: var(--jltwp-primary-hover);
}
.jltwp-adminify-replace-media-wrap .jltwp-adminify-btn-outline {
  background: var(--jltwp-bg);
  color: var(--jltwp-fg);
  border-color: var(--jltwp-border-strong);
  box-shadow: var(--jltwp-shadow-sm);
}
.jltwp-adminify-replace-media-wrap .jltwp-adminify-btn-outline:hover:not(:disabled) {
  background: var(--jltwp-bg-muted);
  border-color: var(--jltwp-border-strong);
}
.jltwp-adminify-replace-media-wrap .jltwp-adminify-btn-ghost {
  background: transparent;
  color: var(--jltwp-muted);
}
.jltwp-adminify-replace-media-wrap .jltwp-adminify-btn-ghost:hover:not(:disabled) {
  background: var(--jltwp-bg-muted);
  color: var(--jltwp-fg);
}
.jltwp-adminify-replace-media-wrap .jltwp-adminify-replace-cancel.jltwp-adminify-btn-ghost {
  background: #fef2f2;
  color: #dc2626;
  border-color: #fecaca;
  box-shadow: 0 1px 2px rgba(220, 38, 38, 0.08);
}
.jltwp-adminify-replace-media-wrap .jltwp-adminify-replace-cancel.jltwp-adminify-btn-ghost:hover:not(:disabled) {
  background: #fee2e2;
  color: #b91c1c;
  border-color: #fca5a5;
}
.jltwp-adminify-replace-media-wrap .jltwp-adminify-replace-cancel.jltwp-adminify-btn-ghost:focus {
  box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px rgba(220, 38, 38, 0.35);
}
.jltwp-adminify-replace-media-wrap .jltwp-adminify-btn.is-loading {
  position: relative;
  color: transparent !important;
}
.jltwp-adminify-replace-media-wrap .jltwp-adminify-btn.is-loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  border: 2px solid currentColor;
  border-top-color: transparent;
  color: var(--jltwp-primary-fg);
  animation: jltwp-spin 0.6s linear infinite;
}
@keyframes jltwp-spin {
  to {
    transform: rotate(360deg);
  }
}
.jltwp-adminify-replace-media-wrap .jltwp-adminify-replace-trigger-row {
  display: flex;
  justify-content: center;
  gap: 8px;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.jltwp-adminify-replace-media-wrap .jltwp-adminify-replace-trigger-row.is-hidden {
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  height: 0;
  margin: 0;
  overflow: hidden;
}
.jltwp-adminify-replace-media-wrap .jltwp-adminify-replace-confirm {
  margin-top: 10px;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.jltwp-adminify-replace-media-wrap .jltwp-adminify-replace-confirm.is-open {
  opacity: 1;
  transform: translateY(0);
}
.jltwp-adminify-replace-media-wrap .jltwp-adminify-replace-confirm-card {
  background: var(--jltwp-bg);
  border: 1px solid var(--jltwp-border);
  border-radius: var(--jltwp-radius);
  padding: 14px;
  box-shadow: var(--jltwp-shadow);
}
.jltwp-adminify-replace-media-wrap .jltwp-adminify-replace-confirm-header {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 12px;
  border: 1px solid #fde68a;
  background: var(--jltwp-warning-bg);
  border-radius: var(--jltwp-radius-sm);
  color: #78350f;
}
.jltwp-adminify-replace-media-wrap .jltwp-adminify-replace-confirm-icon {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b45309;
  margin-top: 1px;
}
.jltwp-adminify-replace-media-wrap .jltwp-adminify-replace-confirm-text {
  flex: 1 1 auto;
  min-width: 0;
}
.jltwp-adminify-replace-media-wrap .jltwp-adminify-replace-confirm-title {
  display: block;
  font-weight: 600;
  font-size: 13px;
  color: #78350f;
  margin: 0 0 2px;
}
.jltwp-adminify-replace-media-wrap .jltwp-adminify-replace-confirm-desc {
  margin: 0;
  font-size: 12px;
  color: #92400e;
  line-height: 1.5;
}
.jltwp-adminify-replace-media-wrap .jltwp-adminify-replace-confirm-preview {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 12px 0 0;
  padding: 10px;
  background: var(--jltwp-bg-muted);
  border: 1px solid var(--jltwp-border);
  border-radius: var(--jltwp-radius-sm);
}
.jltwp-adminify-replace-media-wrap .jltwp-adminify-replace-confirm-preview .jltwp-adminify-replace-preview-img {
  display: block;
  width: 48px;
  height: 48px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: var(--jltwp-radius-sm);
  background: var(--jltwp-bg);
  border: 1px solid var(--jltwp-border);
  flex: 0 0 auto;
}
.jltwp-adminify-replace-media-wrap .jltwp-adminify-replace-confirm-preview .jltwp-adminify-replace-preview-img:not([src]),
.jltwp-adminify-replace-media-wrap .jltwp-adminify-replace-confirm-preview .jltwp-adminify-replace-preview-img[src=""] {
  display: none;
}
.jltwp-adminify-replace-media-wrap .jltwp-adminify-replace-confirm-preview .jltwp-adminify-replace-preview-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 2px;
}
.jltwp-adminify-replace-media-wrap .jltwp-adminify-replace-confirm-preview .jltwp-adminify-replace-preview-name {
  font-size: 12px;
  font-weight: 500;
  color: var(--jltwp-fg);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.jltwp-adminify-replace-media-wrap .jltwp-adminify-replace-confirm-preview .jltwp-adminify-replace-preview-size {
  font-size: 11px;
  color: var(--jltwp-muted);
}
.jltwp-adminify-replace-media-wrap .jltwp-adminify-replace-confirm-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 12px;
}
.jltwp-adminify-replace-media-wrap .jltwp-adminify-replace-message {
  margin: 10px 0 0;
  padding: 10px 12px;
  font-size: 12px;
  line-height: 1.5;
  border: 1px solid var(--jltwp-border);
  border-radius: var(--jltwp-radius-sm);
  background: var(--jltwp-bg-muted);
  color: var(--jltwp-fg);
  animation: jltwp-fade-in 0.18s ease;
}
.jltwp-adminify-replace-media-wrap .jltwp-adminify-replace-message.is-info {
  background: var(--jltwp-info-bg);
  border-color: rgba(37, 99, 235, 0.25);
  color: #1d4ed8;
}
.jltwp-adminify-replace-media-wrap .jltwp-adminify-replace-message.is-success {
  background: var(--jltwp-success-bg);
  border-color: rgba(22, 163, 74, 0.25);
  color: #15803d;
}
.jltwp-adminify-replace-media-wrap .jltwp-adminify-replace-message.is-error {
  background: var(--jltwp-error-bg);
  border-color: rgba(220, 38, 38, 0.25);
  color: #b91c1c;
}
@keyframes jltwp-fade-in {
  from {
    opacity: 0;
    transform: translateY(-2px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.jltwp-adminify-replace-media-wrap .jltwp-adminify-replace-notes {
  position: relative;
  margin: 12px 0 0;
  padding: 10px 12px;
  font-size: 12px;
  line-height: 1.55;
  background: var(--jltwp-info-bg);
  border: 1px solid #dbeafe;
  border-radius: var(--jltwp-radius-sm);
  color: #1e40af;
}

/* Restore link in attachment-details actions row */
.jltwp-adminify-back-to-original .count {
  margin-left: 4px;
  font-size: 11px;
  color: inherit;
  opacity: 0.8;
}

/* Shadcn-style restore confirmation modal */
.jltwp-adminify-modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 200000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}
.jltwp-adminify-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}
.jltwp-adminify-modal * {
  box-sizing: border-box;
}
.jltwp-adminify-modal .jltwp-adminify-modal-backdrop {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(9, 9, 11, 0.55);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.jltwp-adminify-modal .jltwp-adminify-modal-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  background: #ffffff;
  border: 1px solid #e4e4e7;
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18), 0 4px 10px rgba(0, 0, 0, 0.08);
  padding: 24px 22px 20px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  color: #09090b;
  text-align: center;
  transform: translateY(-6px) scale(0.98);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.jltwp-adminify-modal.is-open .jltwp-adminify-modal-card {
  transform: translateY(0) scale(1);
}
.jltwp-adminify-modal .jltwp-adminify-modal-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ede9fe 0%, #e0e7ff 100%);
  color: #3a3ae9;
  margin: 0 auto 24px;
  box-shadow: 0 0 0 8px rgba(58, 58, 233, 0.06), 0 0 0 16px rgba(58, 58, 233, 0.03), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.jltwp-adminify-modal .jltwp-adminify-modal-icon svg {
  width: 28px;
  height: 28px;
  stroke-width: 2;
}
.jltwp-adminify-modal .jltwp-adminify-modal-body {
  margin-bottom: 18px;
}
.jltwp-adminify-modal .jltwp-adminify-modal-title {
  margin: 0 0 6px;
  padding: 0;
  border: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  color: #09090b;
  letter-spacing: -0.01em;
}
.jltwp-adminify-modal .jltwp-adminify-modal-desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: #52525b;
}
.jltwp-adminify-modal .jltwp-adminify-modal-actions {
  display: flex;
  justify-content: center;
  gap: 8px;
}
.jltwp-adminify-modal .jltwp-adminify-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  padding: 8px 14px;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.05s ease;
}
.jltwp-adminify-modal .jltwp-adminify-btn:focus {
  outline: none;
  box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px rgba(24, 24, 27, 0.35);
}
.jltwp-adminify-modal .jltwp-adminify-btn:active:not(:disabled) {
  transform: translateY(1px);
}
.jltwp-adminify-modal .jltwp-adminify-btn-primary {
  background: #3a3ae9;
  color: #ffffff;
  border-color: #3a3ae9;
  box-shadow: 0 1px 2px rgba(58, 58, 233, 0.25);
}
.jltwp-adminify-modal .jltwp-adminify-btn-primary:hover:not(:disabled) {
  background: #2e2ed1;
  border-color: #2e2ed1;
}
.jltwp-adminify-modal .jltwp-adminify-btn-primary:focus {
  box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px rgba(58, 58, 233, 0.45);
}
.jltwp-adminify-modal .jltwp-adminify-btn-ghost {
  background: #fef2f2;
  color: #dc2626;
  border-color: #fecaca;
  box-shadow: 0 1px 2px rgba(220, 38, 38, 0.08);
}
.jltwp-adminify-modal .jltwp-adminify-btn-ghost:hover:not(:disabled) {
  background: #fee2e2;
  color: #b91c1c;
  border-color: #fca5a5;
}
.jltwp-adminify-modal .jltwp-adminify-btn-ghost:focus {
  box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px rgba(220, 38, 38, 0.35);
}
