/*
 * MOTQN 3D Print Custom Uploader Theme
 * ------------------------------------
 * Overrides the legacy Plupload queue skin with a modern card based layout
 * inspired by contemporary 3D printing storefronts.
 */

.plupload_wrapper,
.plupload_wrapper * {
    box-sizing: border-box;
    font-family: "Inter", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
}

.motqn-uploader {
    --motqn-scale-factor: 0.8;
    --motqn-dropzone-base-height: calc(230px * var(--motqn-scale-factor));
    width: 100%;
    border-radius: calc(20px * var(--motqn-scale-factor));
    background: #ffffff;
    border: 1px solid #dbe4f3;
    box-shadow: 0 28px 46px rgba(15, 23, 42, 0.08);
    padding: calc(24px * var(--motqn-scale-factor));
    color: #0f172a;
}

/* ==== LAYOUT: switch to two-column grid (left: uploader / right: sticky summary) ==== */
.motqn-uploader__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(168px, 16.8vw, 252px);
    gap: clamp(14px, 2vw, 19px);
    align-items: start;
    /* ensure no accidental overflow/contain on this grid */
    overflow: visible !important;
    contain: none !important;
}

.motqn-uploader__main {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: calc(20px * var(--motqn-scale-factor));
    grid-column: 1 / 2;
    overflow: visible !important; /* don't break sticky */
}

.motqn-uploader__upload-section,
.motqn-uploader__files-section {
    display: flex;
    flex-direction: column;
    gap: calc(20px * var(--motqn-scale-factor));
}

.motqn-uploader__files-section {
    padding: calc(24px * var(--motqn-scale-factor)) calc(20px * var(--motqn-scale-factor));
    border-radius: calc(24px * var(--motqn-scale-factor));
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.94), #ffffff 88%);
    box-shadow: 0 22px 42px rgba(15, 23, 42, 0.08);
}

.plupload_buttons {
    display: flex;
    flex-wrap: wrap;
    gap: calc(12px * var(--motqn-scale-factor));
    justify-content: center;
    align-items: center;
}

.motqn-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: calc(10px * var(--motqn-scale-factor)) calc(18px * var(--motqn-scale-factor));
    border-radius: 999px;
    font-size: calc(14px * var(--motqn-scale-factor));
    font-weight: 600;
    border: 1px solid transparent;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.motqn-button[disabled],
.motqn-button[aria-disabled="true"],
.motqn-button.motqn-button--disabled {
    cursor: not-allowed;
    opacity: 0.6;
    box-shadow: none;
    transform: none;
    pointer-events: none;
}

.motqn-button--primary {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #ffffff !important;
    box-shadow: 0 16px 30px rgba(37, 99, 235, 0.35);
}

.motqn-button--primary.motqn-button--disabled,
.motqn-button--primary[disabled],
.motqn-button--primary[aria-disabled="true"] {
    background: linear-gradient(135deg, #94a3b8, #64748b);
    color: #f8fafc !important;
}

.motqn-button--primary:hover,
.motqn-button--primary:focus {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    transform: translateY(-1px);
    box-shadow: 0 18px 32px rgba(29, 78, 216, 0.38);
}

.motqn-button--ghost {
    background: rgba(37, 99, 235, 0.08);
    color: #1d4ed8 !important;
    border-color: rgba(37, 99, 235, 0.25);
}

.motqn-button--ghost:hover,
.motqn-button--ghost:focus {
    background: rgba(37, 99, 235, 0.15);
    transform: translateY(-1px);
}

.plupload_upload_status {
    font-size: 13px;
    color: #475569;
    text-align: center;
    display: block;
}

.motqn-progress {
    width: 100%;
    margin-top: calc(8px * var(--motqn-scale-factor));
}

.motqn-progress .plupload_progress_container {
    position: relative;
    width: 100%;
    height: calc(6px * var(--motqn-scale-factor));
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(191, 219, 254, 0.4), rgba(59, 130, 246, 0.45));
    overflow: hidden;
}

.motqn-progress .plupload_progress_container::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: rgba(255, 255, 255, 0.45);
    mix-blend-mode: screen;
    pointer-events: none;
}

.motqn-progress .plupload_progress_bar {
    position: relative;
    height: 100%;
    background: linear-gradient(90deg, #38bdf8 0%, #2563eb 55%, #1e3a8a 100%);
    border-radius: inherit;
    transition: width 0.3s ease;
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.45);
}

.motqn-uploader__dropzone {
    width: 100%;
    border-radius: calc(24px * var(--motqn-scale-factor));
    padding: calc(32px * var(--motqn-scale-factor)) calc(26px * var(--motqn-scale-factor));
    background: radial-gradient(135% 135% at 50% 10%, rgba(59, 130, 246, 0.12) 0%, rgba(59, 130, 246, 0.04) 42%, #ffffff 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: calc(22px * var(--motqn-scale-factor));
    position: relative;
    text-align: center;
    border: 2px dashed rgba(37, 99, 235, 0.35);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    min-height: var(--motqn-dropzone-height, var(--motqn-dropzone-base-height));
}

.motqn-uploader__dropzone::before {
    content: "";
    position: absolute;
    inset: calc(12px * var(--motqn-scale-factor));
    border-radius: calc(18px * var(--motqn-scale-factor));
    pointer-events: none;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.92), rgba(255, 255, 255, 0.9));
    z-index: 0;
}

.motqn-uploader__dropzone::after {
    content: none;
}

.motqn-uploader__dropzone:hover,
.motqn-uploader__dropzone:focus-within {
    border-color: rgba(37, 99, 235, 0.55);
    box-shadow: 0 24px 46px rgba(37, 99, 235, 0.16);
}

.motqn-uploader__dropzone-message {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: calc(16px * var(--motqn-scale-factor));
    font-size: calc(14px * var(--motqn-scale-factor));
    color: #1f2a44;
    line-height: 1.45;
    max-width: min(100%, 432px);
}

.motqn-uploader__dropzone-icon {
    width: calc(56px * var(--motqn-scale-factor));
    height: calc(56px * var(--motqn-scale-factor));
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(37, 99, 235, 0.55));
    box-shadow: inset 0 2px 6px rgba(255, 255, 255, 0.35), 0 10px 22px rgba(37, 99, 235, 0.22);
    position: relative;
}

.motqn-uploader__dropzone-icon::after {
    content: "";
    position: absolute;
    inset: calc(18px * var(--motqn-scale-factor));
    background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="%23ffffff"%3E%3Cpath stroke-linecap="round" stroke-linejoin="round" d="M12 16.5v-9m0 0l-3 3m3-3l3 3M6.75 19.5h10.5a2.25 2.25 0 002.25-2.25V8.25A2.25 2.25 0 0017.25 6h-10.5A2.25 2.25 0 004.5 8.25v9A2.25 2.25 0 006.75 19.5z"/%3E%3C/svg%3E') center/contain no-repeat;
}

.motqn-uploader__dropzone-text {
    margin: 0;
}

.motqn-uploader__dropzone-note {
    margin: 0;
    font-size: calc(13px * var(--motqn-scale-factor));
    color: rgba(15, 23, 42, 0.7);
    max-width: min(100%, 480px);
}

.motqn-uploader__dropzone-note strong {
    font-weight: 600;
    color: #1d4ed8;
}

.motqn-uploader__dropzone-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: calc(10px * var(--motqn-scale-factor));
}

.motqn-uploader__files-section--empty {
    display: none;
}

.motqn-card-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: calc(16px * var(--motqn-scale-factor));
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100%;
}

.motqn-card-list .plupload_droptext {
    display: none;
}

.motqn-card-list li {
    list-style: none;
}


.motqn-card-list li:not(.plupload_droptext) {
    position: relative;
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.4);
    border-radius: calc(20px * var(--motqn-scale-factor));
    padding: calc(20px * var(--motqn-scale-factor));
    display: block;
    box-shadow: 0 20px 34px rgba(15, 23, 42, 0.11);
}

.motqn-card-list li:not(.plupload_droptext)::before {
    content: "";
    position: absolute;
    inset: calc(10px * var(--motqn-scale-factor));
    border-radius: calc(18px * var(--motqn-scale-factor));
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.95) 0%, rgba(255, 255, 255, 0.6) 100%);
    z-index: 0;
}

.motqn-card-list li:not(.plupload_droptext) > * {
    position: relative;
    z-index: 1;
}

.motqn-file-card {
    display: flex;
    gap: calc(20px * var(--motqn-scale-factor));
    align-items: flex-start;
    width: 100%;
}

.motqn-file-card__media {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: calc(12px * var(--motqn-scale-factor));
    flex: 0 0 clamp(200px, 28%, 264px);
    max-width: clamp(200px, 28%, 264px);
    position: relative;
}

.motqn-file-card__details {
    display: flex;
    flex-direction: column;
    gap: calc(16px * var(--motqn-scale-factor));
    flex: 1 1 auto;
    min-width: 0;
}

.motqn-file-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: calc(14px * var(--motqn-scale-factor));
    flex-wrap: wrap;
    position: relative;
    padding-right: 54px;
}

.motqn-unit-meta {
    display: flex;
    align-items: stretch;
    gap: 12px;
    flex: 1 1 220px;
    min-width: 0;
    flex-wrap: wrap;
}

.motqn-unit-meta .motqn-option-field {
    flex: 1 1 240px;
}

.motqn-unit-meta--hidden {
    display: none !important;
}

.motqn-file-card__options {
    width: auto;
    align-self: flex-start;
    margin-left: auto;
}

.motqn-card-list li:not(.plupload_droptext) .plupload_file_name,
.motqn-card-list li:not(.plupload_droptext) .plupload_file_qty,
.motqn-card-list li:not(.plupload_droptext) .plupload_file_status,
.motqn-card-list li:not(.plupload_droptext) .plupload_file_size {
    float: none;
    width: auto;
}

.motqn-card-list li:not(.plupload_droptext) .plupload_file_name {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 10px;
    font-weight: 600;
    color: #0f172a;
    font-size: 15px;
    line-height: 1.4;
    flex: 1 1 280px;
}

.motqn-card-list li:not(.plupload_droptext) .plupload_file_model_name {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.motqn-card-list li:not(.plupload_droptext) .plupload_file_model_name .plupload_info_icon {
    margin-left: 2px;
}

.motqn-file-card__media .plupload_file_image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 160px;
    border-radius: 16px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 1px solid rgba(37, 99, 235, 0.16);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.motqn-file-card__media .plupload_file_image img,
.motqn-file-card__media .plupload_file_image canvas {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    display: block;
}

.motqn-preview {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.motqn-preview__canvas-element {
    width: 100%;
    height: 100%;
    display: block;
}

.motqn-analysis-actions {
    margin-top: 12px;
}

.motqn-preview-refresh {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 12px;
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #0f172a;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.01em;
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.12);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.motqn-preview-refresh:hover,
.motqn-preview-refresh:focus {
    transform: translateY(-1px);
    border-color: #94a3b8;
    box-shadow: 0 16px 28px rgba(15, 23, 42, 0.16);
    outline: none;
}

.motqn-preview-refresh__icon {
    width: 16px;
    height: 16px;
    border-radius: 999px;
    border: 2px solid #0ea5e9;
    border-right-color: transparent;
    display: inline-block;
}

.motqn-preview-refresh.is-refreshing .motqn-preview-refresh__icon {
    animation: motqn-spin 0.9s linear infinite;
}

.motqn-preview-refresh__label {
    display: inline-block;
}

@keyframes motqn-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.motqn-preview__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    color: #1f2937;
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.95), rgba(226, 232, 240, 0.7));
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    text-align: center;
    padding: 16px;
}

.motqn-preview__overlay--visible {
    opacity: 1;
}

.motqn-preview__overlay--has-image {
    background: rgba(255, 255, 255, 0.7);
}

.motqn-preview__fallback {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: none;
}

.motqn-preview__overlay--has-image .motqn-preview__fallback {
    display: block;
}

.motqn-preview__message {
    font-weight: 500;
    line-height: 1.4;
    color: inherit;
}

.motqn-preview.is-loading .motqn-preview__overlay,
.motqn-preview.is-error .motqn-preview__overlay {
    opacity: 1;
}

.motqn-preview--fallback {
    position: relative;
}

.plupload_file_price-tag {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 14px;
    background: rgba(148, 163, 184, 0.16);
    color: #1f2937;
    font-weight: 600;
    letter-spacing: 0.01em;
    min-width: 120px;
    width: auto;
    flex: 0 0 auto;
}

.plupload_file_price-tag-label {
    text-transform: none;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: rgba(15, 23, 42, 0.65);
}

.plupload_file_price-tag-value {
    font-size: 16px;
    font-weight: 700;
    text-align: right;
}

.plupload_file_price-tag--unit {
    background: rgba(37, 99, 235, 0.12);
    color: #1d4ed8;
}

.plupload_file_price-tag--total {
    background: rgba(22, 163, 74, 0.16);
    color: #166534;
}

.plupload_file_price-tag--unit .plupload_file_price-tag-label {
    color: rgba(37, 99, 235, 0.7);
}

.plupload_file_price-tag--total .plupload_file_price-tag-label {
    color: rgba(22, 163, 74, 0.7);
}

.motqn-option-field--qty {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.motqn-price-tag-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: stretch;
    justify-content: flex-end;
    margin-left: auto;
}

.motqn-price-tag-group .plupload_file_price-tag {
    margin: 0;
}


.motqn-card-list li:not(.plupload_droptext) .plupload_file_status {
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-radius: 14px;
    background: rgba(148, 163, 184, 0.16);
    color: #1f2937;
    padding: 11px 14px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.01em;
    width: 100%;
}

.motqn-card-list li:not(.plupload_droptext) .plupload_file_status::before,
.motqn-card-list li:not(.plupload_droptext) .plupload_file_size::before {
    text-transform: uppercase;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.14em;
    color: rgba(15, 23, 42, 0.55);
}

.motqn-card-list li:not(.plupload_droptext) .motqn-file-card__header .plupload_file_size {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.08);
    color: rgba(15, 23, 42, 0.75);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1;
    white-space: nowrap;
}

.motqn-card-list li:not(.plupload_droptext) .motqn-file-card__header .plupload_file_size::before {
    letter-spacing: 0.12em;
    color: rgba(15, 23, 42, 0.55);
}

.motqn-card-list li:not(.plupload_droptext) .plupload_model_info {
    display: flex;
    flex-direction: column;
    gap: 9px;
    border-radius: 14px;
    background: rgba(59, 130, 246, 0.12);
    color: #0f172a;
    padding: 11px 14px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.01em;
    width: 100%;
    height: 208px
}

.motqn-card-list li:not(.plupload_droptext) .plupload_model_info::before {
    content: "Model Info";
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    color: rgba(15, 23, 42, 0.55);
}

.motqn-card-list li:not(.plupload_droptext) .plupload_model_info[data-state="empty"] {
    background: rgba(148, 163, 184, 0.12);
    color: rgba(15, 23, 42, 0.65);
    font-style: italic;
}

.motqn-card-list li:not(.plupload_droptext) .plupload_model_info table {
    width: 100%;
    border-collapse: collapse;
}

.motqn-card-list li:not(.plupload_droptext) .plupload_model_info td {
    padding: 3px 0;
    font-size: 11px;
    color: #0f172a;
}

.motqn-card-list li:not(.plupload_droptext) .plupload_model_info td:first-child {
    font-weight: 600;
    color: rgba(15, 23, 42, 0.75);
    padding-right: 12px;
}

.motqn-card-list li:not(.plupload_droptext) .plupload_model_info__body {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.motqn-card-list li:not(.plupload_droptext) .plupload-model-info-grid {
    display: grid;
    gap: 10px;
    width: 100%;
}

.motqn-card-list li:not(.plupload_droptext) .plupload-model-info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 4px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
    flex-wrap: wrap;
}

.motqn-card-list li:not(.plupload_droptext) .plupload-model-info-row:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
}

.motqn-card-list li:not(.plupload_droptext) .plupload-model-info-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(15, 23, 42, 0.6);
}

.motqn-card-list li:not(.plupload_droptext) .plupload-model-info-value {
    margin-left: auto;
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: 0.01em;
    flex: 1 1 160px;
    text-align: right;
    white-space: normal;
    word-break: break-word;
}

.motqn-card-list li:not(.plupload_droptext) .plupload-model-info-row--weight,
.motqn-card-list li:not(.plupload_droptext) .plupload-model-info-row--dimensions {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    box-shadow: 0 18px 40px rgba(37, 99, 235, 0.28);
    flex-direction: column;
    align-items: center;
    gap: 0px;
    text-align: center;
}

.motqn-card-list li:not(.plupload_droptext) .plupload-model-info-row--dimensions {
    background: linear-gradient(135deg, #0ea5e9 0%, #22d3ee 100%);
    box-shadow: 0 18px 40px rgba(14, 165, 233, 0.24);
}

.motqn-card-list li:not(.plupload_droptext) .plupload-model-info-row--weight .plupload-model-info-label,
.motqn-card-list li:not(.plupload_droptext) .plupload-model-info-row--weight .plupload-model-info-value,
.motqn-card-list li:not(.plupload_droptext) .plupload-model-info-row--dimensions .plupload-model-info-label,
.motqn-card-list li:not(.plupload_droptext) .plupload-model-info-row--dimensions .plupload-model-info-value {
    color: #ffffff;
    margin-left: 0;
    flex: initial;
    width: 100%;
}

.motqn-card-list li:not(.plupload_droptext) .plupload-model-info-row--weight .plupload-model-info-value,
.motqn-card-list li:not(.plupload_droptext) .plupload-model-info-row--dimensions .plupload-model-info-value {
    text-align: center;
}

@media (min-width: 961px) {
    .motqn-card-list li:not(.plupload_droptext) .plupload-model-info-row {
        flex-wrap: wrap;
    }

    .motqn-card-list li:not(.plupload_droptext) .plupload-model-info-label,
    .motqn-card-list li:not(.plupload_droptext) .plupload-model-info-value {
        white-space: normal;
    }
}

.motqn-card-list li:not(.plupload_droptext) .plupload_file_status::before {
    content: "Status";
    display: inline-flex;
    align-items: center;
    margin: 0;
    margin-right: 8px;
    flex-shrink: 0;
}

.motqn-card-list li:not(.plupload_droptext) .plupload_file_size::before {
    content: "Size";
    margin-right: 6px;
}

.motqn-card-list li:not(.plupload_droptext) .plupload_file_status {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: rgba(148, 163, 184, 0.16);
    color: #1f2937;
}

.motqn-card-list li:not(.plupload_droptext) .plupload_file_status[data-state="idle"] {
    background: rgba(148, 163, 184, 0.16);
    color: #1f2937;
}

.motqn-card-list li:not(.plupload_droptext) .plupload_file_status[data-state="uploading"] {
    background: rgba(59, 130, 246, 0.16);
    color: #1d4ed8;
}

.motqn-card-list li:not(.plupload_droptext) .plupload_file_status[data-state="analysing"] {
    background: rgba(99, 102, 241, 0.18);
    color: #4338ca;
}

.motqn-card-list li:not(.plupload_droptext) .plupload_file_status[data-state="repairing"] {
    background: rgba(250, 204, 21, 0.2);
    color: #92400e;
}

.motqn-card-list li:not(.plupload_droptext) .plupload_file_status[data-state="complete"] {
    background: rgba(22, 163, 74, 0.16);
    color: #166534;
}

.motqn-card-list li:not(.plupload_droptext) .plupload_file_status[data-state="error"] {
    background: rgba(248, 113, 113, 0.18);
    color: #b91c1c;
}

.motqn-card-list li:not(.plupload_droptext) .plupload_file_meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.motqn-option-field {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.motqn-option-field .plupload_file_price-tag {
    margin-left: auto;
}

.motqn-option-field--printer,
.motqn-option-field--infill {
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.motqn-option-field--printer .plupload_file_price-tag {
    margin-left: auto;
}

.motqn-option-field--unit {
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.motqn-option-field--unit .plupload_file_price-tag {
    margin-left: auto;
    flex: 0 0 auto;
    white-space: nowrap;
}

.motqn-option-field--unit select {
    min-width: 60px;
    width: auto;
}

.motqn-unit-select {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1 1 auto;
    min-width: 0;
    flex-wrap: nowrap;
}

.motqn-unit-select__label {
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
    white-space: nowrap;
    flex: 0 0 auto;
    cursor: pointer;
}

.motqn-unit-select__control {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.motqn-unit-select__control select {
    flex: 0 0 auto;
}

@media (max-width: 600px) {
    .motqn-unit-meta .motqn-option-field {
        flex: 1 1 100%;
    }

    .motqn-option-field--unit {
        gap: 14px;
    }

    .motqn-unit-select {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .motqn-option-field--unit {
        flex-wrap: wrap;
    }

    .motqn-option-field--unit .plupload_file_price-tag {
        margin-left: 0;
    }

    .motqn-unit-select {
        flex-wrap: wrap;
    }

    .motqn-unit-select__control {
        width: 100%;
        justify-content: flex-start;
    }
}

.motqn-option-field--qty .plupload_file_qty {
    flex: 0 0 auto;
}

.motqn-card-list li:not(.plupload_droptext) .plupload_file_qty {
    display: flex;
    align-items: center;
    gap: 10px;
}

.motqn-card-list li:not(.plupload_droptext) .plupload_file_qty input,
.motqn-card-list li:not(.plupload_droptext) .plupload_file_qty select {
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.45);
    font-size: 13px;
    color: #0f172a;
    background: #ffffff;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.08);
    flex: 0 0 auto;
}

.motqn-card-list li:not(.plupload_droptext) .plupload_file_qty select {
    padding: 10px 12px;
    width: auto;
    min-width: 60px;
}

.motqn-card-list li:not(.plupload_droptext) .plupload_file_qty input[type="number"] {
    padding: 6px 8px;
    width: 42px;
    text-align: center;
    appearance: auto;
    -moz-appearance: auto;
}

.motqn-infill-slider__select {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.motqn-infill-slider {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.motqn-infill-slider__input {
    flex: 1 1 auto;
    min-width: 140px;
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(90deg, #22c55e 0%, #3b82f6 100%);
    appearance: none;
    -webkit-appearance: none;
    outline: none;
    cursor: pointer;
}

.motqn-infill-slider__input::-webkit-slider-runnable-track {
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(90deg, #22c55e 0%, #3b82f6 100%);
}

.motqn-infill-slider__input::-moz-range-track {
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(90deg, #22c55e 0%, #3b82f6 100%);
}

.motqn-infill-slider__input:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.motqn-infill-slider__input:disabled + .motqn-infill-slider__value {
    opacity: 0.65;
}

.motqn-infill-slider__input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #1d4ed8;
    border: 2px solid #e0e7ff;
    box-shadow: 0 4px 10px rgba(29, 78, 216, 0.35);
    transition: transform 0.2s ease;
    margin-top: -6px;
}

.motqn-infill-slider__input::-webkit-slider-thumb:hover {
    transform: scale(1.05);
}

.motqn-infill-slider__input::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #1d4ed8;
    border: 2px solid #e0e7ff;
    box-shadow: 0 4px 10px rgba(29, 78, 216, 0.35);
    transition: transform 0.2s ease;
}

.motqn-infill-slider__input::-moz-range-thumb:hover {
    transform: scale(1.05);
}

.motqn-infill-slider__value {
    flex: 0 0 auto;
    min-width: 48px;
    text-align: right;
    font-weight: 600;
    color: #0f172a;
}

.motqn-card-list li:not(.plupload_droptext) .plupload_file_qty input[type="number"]::-webkit-inner-spin-button,
.motqn-card-list li:not(.plupload_droptext) .plupload_file_qty input[type="number"]::-webkit-outer-spin-button {
    opacity: 1;
    height: auto;
}

.motqn-card-list li:not(.plupload_droptext) .plupload_file_action {
    display: flex;
    gap: 8px;
    position: absolute;
    top: -14px;
    right: -14px;
    margin: 0;
}

.motqn-card-list li:not(.plupload_droptext) .plupload_file_action a {
    display: inline-flex !important;
    width: 36px;
    height: 36px;
    border-radius: 18px;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, rgba(254, 226, 226, 0.95), rgba(254, 202, 202, 0.95));
    border: 1px solid rgba(248, 113, 113, 0.45);
    box-shadow: 0 12px 24px rgba(248, 113, 113, 0.28);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.motqn-card-list li:not(.plupload_droptext) .plupload_file_action a:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 26px rgba(248, 113, 113, 0.36);
}

.motqn-card-list li:not(.plupload_droptext) .plupload_file_action a:focus-visible {
    outline: 2px solid rgba(248, 113, 113, 0.65);
    outline-offset: 2px;
}

.motqn-card-list li.plupload_uploading {
    border-color: #bfdbfe;
    box-shadow: 0 20px 38px rgba(59, 130, 246, 0.18);
}

.motqn-card-list li.plupload_failed {
    border-color: #fecaca;
}

.motqn-card-list li:not(.plupload_droptext) .p3d-stats-bulk {
    width: 100%;
    max-width: 100%;
    margin: 6px 0 0;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 16px;
    overflow: hidden;
    background: rgba(248, 250, 252, 0.9);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.motqn-card-list li:not(.plupload_droptext) .p3d-stats-bulk tr + tr td {
    border-top: 1px solid rgba(148, 163, 184, 0.25);
}

.motqn-card-list li:not(.plupload_droptext) .p3d-stats-bulk td {
    padding: 12px 16px;
    vertical-align: middle;
    font-size: 13px;
    color: #0f172a;
}

.motqn-card-list li:not(.plupload_droptext) .p3d-stats-bulk td:first-child {
    width: 18%;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: rgba(15, 23, 42, 0.55);
    background: rgba(226, 232, 240, 0.4);
}

.motqn-card-list li:not(.plupload_droptext) .p3d-stats-bulk select,
.motqn-card-list li:not(.plupload_droptext) .p3d-stats-bulk textarea,
.motqn-card-list li:not(.plupload_droptext) .p3d-stats-bulk input[type="number"],
.motqn-card-list li:not(.plupload_droptext) .p3d-stats-bulk input[type="text"] {
    width: 100%;
    padding: 9px 12px;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.45);
    font-size: 13px;
    color: #0f172a;
    background: #ffffff;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.08);
}

.motqn-card-list li:not(.plupload_droptext) .p3d-stats-bulk textarea {
    resize: vertical;
    min-height: 70px;
}

.motqn-card-list li:not(.plupload_droptext) .p3d-stats-bulk select:focus,
.motqn-card-list li:not(.plupload_droptext) .p3d-stats-bulk textarea:focus,
.motqn-card-list li:not(.plupload_droptext) .p3d-stats-bulk input:focus {
    outline: none;
    border-color: rgba(37, 99, 235, 0.55);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
}

.motqn-material-picker {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.motqn-material-picker__groups {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.motqn-material-picker__groups-message {
    margin: 0;
    font-size: 12px;
    color: rgba(15, 23, 42, 0.55);
}

.motqn-material-picker__select {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    border: 0;
}

.motqn-material-picker__group {
    width: 100%;
}

.motqn-material-picker__colors-row td:last-child {
    background: #ffffff;
}

.motqn-material-picker__colors {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.motqn-material-group-chip {
    display: inline-flex;
    align-items: center;
    padding: 9px 14px;
    border-radius: 12px;
    border: 1px solid transparent;
    background: rgba(148, 163, 184, 0.16);
    color: #0f172a;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.motqn-material-group-chip:hover,
.motqn-material-group-chip:focus {
    border-color: rgba(37, 99, 235, 0.4);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.16);
    outline: none;
}

.motqn-material-group-chip.is-selected {
    border-color: rgba(37, 99, 235, 0.55);
    background: rgba(37, 99, 235, 0.12);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.22);
}

.motqn-material-group-chip.is-disabled {
    opacity: 0.45;
    cursor: not-allowed;
    box-shadow: none;
}

.motqn-material-picker__message {
    margin: 0;
    font-size: 12px;
    color: rgba(15, 23, 42, 0.55);
}

.motqn-material-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 12px;
    border: 1px solid transparent;
    background: rgba(148, 163, 184, 0.16);
    color: #0f172a;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.motqn-material-chip:hover,
.motqn-material-chip:focus {
    border-color: rgba(37, 99, 235, 0.4);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.16);
    outline: none;
}

.motqn-material-chip.is-selected {
    border-color: rgba(37, 99, 235, 0.55);
    background: rgba(37, 99, 235, 0.12);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.22);
}

.motqn-material-chip.is-disabled {
    opacity: 0.45;
    cursor: not-allowed;
    box-shadow: none;
}

.motqn-material-chip__swatch {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: var(--motqn-chip-color, linear-gradient(135deg, #cbd5f5 0%, #94a3b8 100%));
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.6);
}

.motqn-material-chip__label {
    font-size: 12px;
    font-weight: 600;
}

.motqn-quality-chip__select {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.motqn-quality-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
}

.motqn-quality-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: #fff;
    color: #0f172a;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    font-size: 12px;
    cursor: pointer;
    transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.motqn-quality-chip:hover,
.motqn-quality-chip:focus {
    border-color: rgba(37, 99, 235, 0.5);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
    outline: none;
}

.motqn-quality-chip.is-selected {
    border-color: rgba(14, 165, 233, 0.9);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.18);
    background: linear-gradient(135deg, #ecfeff 0%, #dbeafe 100%);
    transform: translateY(-1px);
}

.motqn-quality-chip.is-disabled,
.motqn-quality-chip-list.is-disabled .motqn-quality-chip {
    opacity: 0.55;
    cursor: not-allowed;
    box-shadow: none;
}

.motqn-quality-chip__dot {
    width: 14px;
    height: 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7), 0 2px 6px rgba(15, 23, 42, 0.15);
}

.motqn-quality-chip__label {
    display: inline-block;
}

.motqn-uploader__dropzone--has-files {
    border-color: rgba(37, 99, 235, 0.45);
    box-shadow: 0 24px 46px rgba(37, 99, 235, 0.14);
}

/* ==== STICKY SUMMARY (RIGHT) ==== */
.motqn-summary {
    grid-column: 2 / 3;
    position: sticky !important;
    top: 50px;                 /* requested distance from top */
    align-self: start;
    z-index: 1;
    width: 100%;
    max-width: clamp(182px, 19.6vw, 266px);
    margin-left: auto;
}

.motqn-summary__card {
    width: 100%;
    background: radial-gradient(circle at top, #1d4ed8 0%, #0f172a 80%);
    border-radius: 24px;
    color: #e2e8f0;
    padding: clamp(13px, 2.1vw, 17px);
    box-shadow: 0 26px 45px rgba(30, 58, 138, 0.32);
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: calc(100vh - 50px); /* view-height guard while sticky */
    overflow: auto;                  /* inner scroll if content grows */
}

.motqn-summary__title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #f8fafc;
}

.motqn-summary__list {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.motqn-summary__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.motqn-summary__item dt {
    margin: 0;
    font-size: 13px;
    font-weight: 500;
    color: rgba(226, 232, 240, 0.75);
}

.motqn-summary__item dd {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
}

.motqn-summary__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.motqn-summary__actions .motqn-button {
    width: 100%;
}

.motqn-summary__secondary {
    background: rgba(148, 163, 184, 0.22);
    color: #e2e8f0 !important;
    border-color: transparent;
}

.motqn-summary__secondary:hover,
.motqn-summary__secondary:focus {
    background: rgba(148, 163, 184, 0.32);
}

/* Hide the legacy header and footer structure that is no longer used */
.plupload_header,
.plupload_filelist_header,
.plupload_filelist_footer,
.plupload_clearer {
    display: none !important;
}

/* Misc legacy overrides */
.plupload_file_action * {
    background: none !important;
}

.plupload_file_action a.p3d-file-action {
    position: relative;
}

.plupload_file_action a.p3d-file-action::before {
    content: "\00d7";
    font-size: 18px;
    font-weight: 700;
    color: #b91c1c;
}

/* ==== UNBLOCK STICKY INSIDE WP/PLUPLOAD/WOOSTIFY WRAPPERS ==== */
body.motqn-has-custom-bulk-uploader #main,
body.motqn-has-custom-bulk-uploader #main .hentry,
body.motqn-has-custom-bulk-uploader #main article,
body.motqn-has-custom-bulk-uploader #main .entry-content,
body.motqn-has-custom-bulk-uploader #main .plupload_wrapper,
body.motqn-has-custom-bulk-uploader #main .plupload_container,
body.motqn-has-custom-bulk-uploader #main .plupload,
body.motqn-has-custom-bulk-uploader #main .motqn-uploader__grid,
body.motqn-has-custom-bulk-uploader #view,
body.motqn-has-custom-bulk-uploader #content,
body.motqn-has-custom-bulk-uploader .site-content,
body.motqn-has-custom-bulk-uploader .woostify-container,
body.motqn-has-custom-bulk-uploader #primary,
body.motqn-has-custom-bulk-uploader .content-area,
body.motqn-has-custom-bulk-uploader .site-main,
body.motqn-has-custom-bulk-uploader .site-footer,
body.motqn-has-custom-bulk-uploader .select2-container {
    overflow: visible !important;
    contain: none !important;
    transform: none !important;
    filter: none !important;
}

body.motqn-has-custom-bulk-uploader #p3d-calculate-price-button,
body.motqn-has-custom-bulk-uploader #p3d-submit-button,
body.motqn-has-custom-bulk-uploader #p3d-save-cart-button,
body.motqn-has-custom-bulk-uploader #p3d-add-to-cart,
body.motqn-has-custom-bulk-uploader #p3d-analyse-models,
body.motqn-has-custom-bulk-uploader #p3d-bulk-buttons,
body.motqn-has-custom-bulk-uploader .p3d-bulk-buttons,
body.motqn-has-custom-bulk-uploader .p3d-bulk-button-wrapper,
body.motqn-has-custom-bulk-uploader .p3d-bulk-action-buttons {
    display: none !important;
}
/* Plupload often adds this: make sure it's visible */
.plupload_scroll { overflow: visible !important; }
/* Prevent unexpected stacking contexts from specific elements */
.moxie-shim { transform: none !important; }

@media (max-width: 1200px) {
    .motqn-uploader {
        padding: clamp(24px, 4vw, 32px);
    }

    .motqn-uploader__grid {
        grid-template-columns: minmax(0, 1fr) clamp(220px, 32vw, 300px);
    }

    .motqn-summary {
        max-width: clamp(220px, 32vw, 300px);
    }
}

@media (max-width: 960px) {
    .motqn-uploader {
        padding: 24px;
    }

    .motqn-uploader__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .motqn-summary {
        grid-column: 1 / -1;
        max-width: none;
        top: 25px; /* keep same offset on tablet */
    }

    .motqn-card-list li:not(.plupload_droptext) {
        padding: 16px;
    }

    .motqn-file-card {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }

    .motqn-file-card__media {
        flex: 0 0 auto;
        align-items: center;
        max-width: none;
    }

    .motqn-file-card__media .plupload_file_image {
        width: 160px;
        height: 160px;
    }

    .motqn-file-card__options {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
    }
}

@media (max-width: 640px) {
    .motqn-uploader__buttons {
        align-items: stretch;
        width: 100%;
    }

    .plupload_buttons {
        width: 100%;
        justify-content: stretch;
    }

    .plupload_buttons .motqn-button {
        flex: 1 1 auto;
    }

    /* On very small screens we can let it be normal flow if desired */
    .motqn-summary {
        position: static;
        top: auto;
        align-self: stretch;
        width: 100%;
        margin-left: 0;
    }

    .motqn-file-card {
        gap: 20px;
    }

    .motqn-file-card__media .plupload_file_image {
        width: 120px;
        height: 120px;
    }

    .motqn-file-card__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding-right: 0;
    }

    .motqn-unit-meta {
        width: 100%;
        flex: 1 1 100%;
    }

    .motqn-card-list li:not(.plupload_droptext) .plupload_file_action {
        position: static;
        margin-left: auto;
        margin-top: 4px;
    }

    .motqn-option-field--qty {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .motqn-price-tag-group {
        width: 100%;
        justify-content: flex-start;
    }
}

.motqn-cart-ribbon {
    position: fixed;
    top: clamp(16px, 2vw, 28px);
    right: clamp(16px, 2vw, 28px);
    z-index: 9999;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    min-width: 240px;
    max-width: min(420px, 86vw);
    border-radius: 14px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 40%, #0ea5e9 100%);
    color: #f8fafc;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.24);
    transform: translateY(-10px);
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
}

.woocommerce-notices-wrapper .woocommerce-message:not(.motqn-cart-ribbon),
.woocommerce-notices-wrapper .woocommerce-error,
.woocommerce-notices-wrapper .woocommerce-info,
.woocommerce-message:not(.motqn-cart-ribbon),
.woocommerce-error,
.woocommerce-info {
    display: none !important;
}

.motqn-cart-ribbon::before {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.12);
}

.motqn-cart-ribbon.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.motqn-cart-ribbon.is-hiding {
    opacity: 0;
    transform: translateY(-12px);
}

@media (max-width: 640px) {
    .motqn-cart-ribbon {
        left: 50%;
        right: auto;
        transform: translate(-50%, -10px);
        text-align: center;
        justify-content: center;
    }

    .motqn-cart-ribbon.is-visible {
        transform: translate(-50%, 0);
    }

    .motqn-cart-ribbon.is-hiding {
        transform: translate(-50%, -12px);
    }
}
.motqn-preview-refresh { display: none !important; }
.motqn-analysis-actions { margin-top: 0 !important; }
