
/* NUJIZ CONVERT IMAGE PRO */

.ncp-heading {
    font-size:16px;
    font-weight:700;
    margin-bottom:14px;
    color:inherit;
}

.ncp-formats {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:10px;
    margin-bottom:20px;
}

.ncp-format {
    display:flex!important;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:6px;
    min-height:110px;
    padding:12px 5px;
    background:#f5f3ff!important;
    border:1px solid #ddd6fe!important;
    border-radius:14px!important;
    color:#35266b!important;
    font-family:inherit!important;
    cursor:pointer;
    transition:all .18s ease;
}

.ncp-format strong {
    font-size:16px;
    color:inherit!important;
}

.ncp-format small {
    font-size:11px;
    color:inherit!important;
    line-height:1.5;
}

.ncp-file-icon {
    font-size:28px;
    color:#7955ef;
}

.ncp-format:hover {
    border-color:#7955ef!important;
    transform:translateY(-2px);
}

.ncp-format.active,
.ncp-format[aria-pressed="true"] {
    background:#7047eb!important;
    border-color:#9b80ff!important;
    color:#ffffff!important;
}

.ncp-format.active .ncp-file-icon,
.ncp-format[aria-pressed="true"] .ncp-file-icon {
    color:#ffffff!important;
}

.ncp-format:disabled {
    opacity:.35!important;
    cursor:not-allowed!important;
    transform:none!important;
}

.ncp-dimensions {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
}

.ncp-dimensions[hidden],
#ncpQualityBox[hidden],
#ncpBackgroundBox[hidden],
#ncpIconBox[hidden],
#ncpResult[hidden] {
    display:none!important;
}

#ncpBackground {
    width:100%;
    min-height:44px;
    cursor:pointer;
}

#ncpReset {
    display:flex!important;
    justify-content:center;
    align-items:center;
    width:100%;
    min-height:48px;
    margin:15px 0;
    padding:10px;
    background:transparent!important;
    color:#7955ef!important;
    border:1px solid #7955ef!important;
    border-radius:12px!important;
    font-family:inherit!important;
    font-weight:700;
    cursor:pointer;
}

#ncpReset:hover {
    background:#7047eb!important;
    color:#fff!important;
}

#ncpResult {
    border:1px solid #22a06b;
    border-radius:14px;
    padding:15px;
    margin:15px 0;
}

.ncp-success {
    display:block;
    color:#22a06b!important;
    font-size:16px;
    margin-bottom:12px;
}

.ncp-result-grid {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;
}

.ncp-result-grid>div {
    display:flex;
    flex-direction:column;
    gap:6px;
    border:1px solid #64748b55;
    border-radius:10px;
    padding:10px;
    text-align:center;
}

.ncp-result-grid small {
    font-size:11px;
    color:inherit!important;
}

.ncp-result-grid b {
    font-size:14px;
    color:inherit!important;
}

:is(
  html.dark,
  body.dark,
  html.dark-mode,
  body.dark-mode,
  [data-theme="dark"]
) .ncp-format:not(.active):not([aria-pressed="true"]) {
    background:#1c222d!important;
    border-color:#354052!important;
    color:#e2e8f0!important;
}

:is(
  html.dark,
  body.dark,
  html.dark-mode,
  body.dark-mode,
  [data-theme="dark"]
) #ncpReset {
    color:#b8a5ff!important;
}

@media(max-width:480px){
    .ncp-formats {
        gap:7px;
    }

    .ncp-format {
        min-height:95px;
        border-radius:10px!important;
    }
}


/* NUJIZ CONVERT RESULT UI V2 */

html body #ncpReset {
    background:#7047eb!important;
    color:#ffffff!important;
    -webkit-text-fill-color:#ffffff!important;
    border:1px solid #967aff!important;
    font-size:16px!important;
    font-weight:700!important;
    min-height:52px!important;
    border-radius:12px!important;
    opacity:1!important;
    text-shadow:none!important;
    cursor:pointer!important;
}

html body #ncpReset:hover {
    background:#5c35d5!important;
    color:#ffffff!important;
    -webkit-text-fill-color:#ffffff!important;
}

html body #ncpReset:focus-visible {
    outline:3px solid #a78bfa!important;
    outline-offset:3px;
}

html body #ncpResult {
    padding:18px!important;
    margin:20px 0!important;
    border:1px solid #22a06b!important;
    border-radius:16px!important;
}

html body #ncpResult .ncp-success {
    display:block!important;
    color:#159957!important;
    -webkit-text-fill-color:#159957!important;
    font-size:21px!important;
    font-weight:800!important;
    margin-bottom:18px!important;
    line-height:1.7!important;
}

html body #ncpResult .ncp-result-grid {
    gap:12px!important;
}

html body #ncpResult .ncp-result-grid > div {
    min-height:100px!important;
    justify-content:center!important;
    padding:14px 8px!important;
    gap:10px!important;
    border-radius:12px!important;
}

html body #ncpResult .ncp-result-grid small {
    font-size:15px!important;
    font-weight:600!important;
    line-height:1.6!important;
    color:inherit!important;
    -webkit-text-fill-color:currentColor!important;
    opacity:1!important;
}

html body #ncpResult .ncp-result-grid b {
    display:block!important;
    font-size:21px!important;
    font-weight:800!important;
    line-height:1.5!important;
    direction:ltr!important;
    color:inherit!important;
    -webkit-text-fill-color:currentColor!important;
    opacity:1!important;
}

:is(
    html.dark,
    body.dark,
    html.dark-mode,
    body.dark-mode,
    [data-theme="dark"]
) #ncpResult .ncp-success {
    color:#4ade80!important;
    -webkit-text-fill-color:#4ade80!important;
}

:is(
    html.dark,
    body.dark,
    html.dark-mode,
    body.dark-mode,
    [data-theme="dark"]
) #ncpResult .ncp-result-grid > div {
    background:#1c2430!important;
    color:#f1f5f9!important;
    border-color:#374151!important;
}

@media(max-width:480px){

    html body #ncpResult {
        padding:12px!important;
    }

    html body #ncpResult .ncp-result-grid small {
        font-size:13px!important;
    }

    html body #ncpResult .ncp-result-grid b {
        font-size:17px!important;
    }

    html body #ncpResult .ncp-success {
        font-size:18px!important;
    }
}


/* NUJIZ SMART FORMAT V1 */

html body .ncp-heading {
    color:#334155!important;
    -webkit-text-fill-color:currentColor!important;
    font-size:18px!important;
    font-weight:800!important;
    opacity:1!important;
}

.ncp-heading[data-original-format]::after {
    content:attr(data-original-format);
    display:block;
    width:fit-content;
    margin-top:12px;
    padding:7px 12px;
    background:#dcfce7;
    color:#166534;
    -webkit-text-fill-color:#166534;
    border:1px solid #86efac;
    border-radius:8px;
    font-size:14px;
    font-weight:700;
}

html body .ncp-format.ncp-original {
    background:#dcfce7!important;
    color:#166534!important;
    border:2px solid #22c55e!important;
    opacity:1!important;
}

html body .ncp-format.ncp-original::after {
    content:"✓ " attr(data-source-label);
    font-size:12px!important;
    font-weight:800!important;
    color:inherit!important;
    -webkit-text-fill-color:currentColor!important;
}

html body .ncp-format.ncp-original .ncp-file-icon {
    color:#16a34a!important;
}

html body .ncp-format.ncp-original.active {
    box-shadow:0 0 0 3px #8b5cf6!important;
}

html body .ncp-format.active:not(.ncp-original) {
    background:#7047eb!important;
    color:#ffffff!important;
}

:is(
    html.dark,body.dark,
    html.dark-mode,body.dark-mode,
    [data-theme="dark"]
) .ncp-heading {
    color:#f1f5f9!important;
}

:is(
    html.dark,body.dark,
    html.dark-mode,body.dark-mode,
    [data-theme="dark"]
) .ncp-format.ncp-original {
    background:#14382b!important;
    color:#86efac!important;
    border-color:#4ade80!important;
}

:is(
    html.dark,body.dark,
    html.dark-mode,body.dark-mode,
    [data-theme="dark"]
) .ncp-heading[data-original-format]::after {
    background:#14382b;
    color:#86efac;
    -webkit-text-fill-color:#86efac;
    border-color:#22c55e;
}

