.noc-wrap{max-width:1040px;margin:0 auto;font-family:inherit;color:#263238;--noc-primary:#2f6f63;--noc-soft:#f5faf8;--noc-border:#dfe9e5;--noc-accent:#b98b47;background:linear-gradient(180deg,#f7fbfa 0%,#fffaf3 100%);border:1px solid #dfe9e5;border-radius:28px;padding:20px;box-shadow:0 18px 48px rgba(47,111,99,.12)}.noc-date{font-size:14px;color:#1f4f47;margin:0 auto 18px;text-align:center;background:linear-gradient(135deg,#eaf6f2,#fff4df);border:1px solid #d6e8e1;border-radius:16px;padding:12px 16px;font-weight:800}.noc-form,.noc-summary-box,.noc-price-box,.noc-inquiry-form{background:linear-gradient(180deg,#fff 0%,#fffdf9 100%);border:1px solid var(--noc-border);border-radius:22px;padding:24px;box-shadow:0 14px 38px rgba(47,111,99,.10);margin-bottom:18px}.noc-form{border-top:5px solid var(--noc-primary)}.noc-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.noc-section{margin-top:22px;background:var(--noc-soft);border:1px solid var(--noc-border);border-radius:18px;padding:18px}.noc-section h3,.noc-binding-title{font-family:inherit!important;font-size:20px!important;font-weight:800!important;margin:0 0 16px;color:#1f4f47}.noc-wrap label{display:flex;flex-direction:column;gap:8px;font-size:14px;font-weight:700;color:#344944}.noc-wrap input,.noc-wrap select,.noc-wrap textarea{width:100%;height:48px;border:1px solid #cbdad6;border-radius:14px;padding:0 13px;background:#fff;font-size:15px;box-sizing:border-box;font-family:inherit;color:#1f2933}.noc-wrap textarea{height:auto;padding:12px}.noc-wrap select{appearance:auto;background:#fff}.noc-checks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:16px;align-items:center}.noc-checks label{height:48px!important;min-height:48px!important;max-height:48px!important;width:100%;box-sizing:border-box;flex-direction:row!important;align-items:center;justify-content:flex-start;font-weight:700;background:#fff;border:1px solid #cbdad6;border-radius:14px;padding:0 13px;font-size:15px;line-height:1.2}.noc-checks input[type=checkbox]{width:18px!important;height:18px!important;min-width:18px!important;max-width:18px!important;flex:0 0 18px;margin:0 0 0 8px!important;padding:0!important;appearance:auto!important}.noc-btn{background:var(--noc-primary);color:#fff;border:0;border-radius:14px;height:48px;padding:0 24px;font-weight:800;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;min-width:0;font-family:inherit;box-shadow:0 8px 18px rgba(47,111,99,.18)}.noc-btn:hover{filter:brightness(.96)}.noc-result{margin-top:22px}.noc-summary-box h3{font-size:19px;margin-top:0;color:#1f4f47}.noc-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.noc-summary-grid span{background:#f7fbfa;border:1px solid #edf4f1;border-radius:12px;padding:11px}.noc-price-box{text-align:center;background:linear-gradient(135deg,#f6fbf9,#fff8ef);border-color:#eadac1}.noc-price-box strong{display:block;font-size:34px;margin:8px 0;color:var(--noc-primary)}.noc-price-box small{display:block;font-size:15px;color:#475467}.noc-note{color:#667085;text-align:center}.noc-actions{display:flex;gap:12px;flex-wrap:wrap;justify-content:center;margin-bottom:16px}.noc-files{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:14px 0}.noc-warnings{background:#fff7ed;color:#9a3412;border:1px solid #fed7aa;padding:10px 14px;border-radius:12px;margin-top:14px}.noc-warnings p{margin:4px 0}@media(max-width:760px){.noc-grid,.noc-summary-grid,.noc-files,.noc-checks{grid-template-columns:1fr}.noc-btn{width:100%}.noc-actions{flex-direction:column}.noc-form,.noc-summary-box,.noc-price-box,.noc-inquiry-form{padding:18px}}

/* v1.9: فقط اصلاح اندازه و هم‌ترازی گزینه‌های UV و گوشه‌گرد؛ بدون تمام‌عرض شدن */
.noc-checks{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:16px!important;
    align-items:center!important;
}
.noc-checks label{
    width:100%!important;
    height:48px!important;
    min-height:48px!important;
    max-height:48px!important;
    margin:0!important;
    box-sizing:border-box!important;
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:flex-start!important;
    line-height:1!important;
}
.noc-checks input[type=checkbox]{
    align-self:center!important;
    margin-top:0!important;
    margin-bottom:0!important;
}
@media(max-width:760px){.noc-checks{grid-template-columns:1fr!important}}

/* v1.10: فقط برای مخفی شدن قطعی UV گالینگور بدون کاور؛ بدون تغییر ظاهر سایر بخش‌ها */
.noc-hard-uv-row.noc-force-hidden{display:none!important;}
.noc-hard-uv-row{margin-top:16px!important;}


/* v1.11: یکسان‌سازی فونت فرم بدون تغییر چیدمان */
.noc-wrap, .noc-wrap *{font-family:inherit!important;}

/* v1.13: اصلاح پیام موفقیت، تیتر مشخصات انتخاب‌شده و فاصله بدون تغییر ساختار */
.noc-summary-box h3{font-family:inherit!important;font-size:20px!important;font-weight:800!important;color:#1f4f47!important;}
.noc-submit-success{text-align:center;font-size:20px;font-weight:800;background:linear-gradient(180deg,#fff 0%,#fffdf9 100%);border:1px solid var(--noc-border);border-radius:22px;padding:24px;box-shadow:0 14px 38px rgba(47,111,99,.10);margin-bottom:18px;color:#1f4f47;}
.noc-submit-success p{margin:10px 0;}


/* v1.21.1: فقط اصلاح اندازه دکمه مشاهده/ذخیره پیش‌فاکتور؛ هم‌اندازه دکمه دریافت پیش‌فاکتور */
.noc-submit-success{
    overflow:hidden;
}
.noc-submit-success .noc-btn{
    width:auto!important;
    max-width:100%!important;
    height:48px!important;
    min-height:48px!important;
    padding:0 24px!important;
    line-height:1.2!important;
    white-space:normal!important;
    text-align:center!important;
    margin:12px auto 0!important;
}
@media(max-width:760px){
    .noc-submit-success .noc-btn{
        display:inline-flex!important;
        width:auto!important;
        min-width:0!important;
    }
}

/* v1.21.2: فقط تغییر ظاهر فرم کاربر، بدون تغییر ساختار، منطق، پیش‌فاکتور یا پنل مدیریت */
.noc-wrap{
    --noc-primary:#071b3a;
    --noc-primary-2:#0d2a55;
    --noc-accent:#c79532;
    --noc-accent-soft:#f7ead2;
    --noc-soft:#fff9ef;
    --noc-border:#ead7b6;
    color:#071b3a;
    background:linear-gradient(180deg,#fffaf1 0%,#ffffff 55%,#fff8ee 100%)!important;
    border:1px solid #ead7b6!important;
    box-shadow:0 18px 50px rgba(7,27,58,.10)!important;
}
.noc-date{
    color:#071b3a!important;
    background:linear-gradient(135deg,#fff7e8 0%,#ffffff 100%)!important;
    border-color:#ead7b6!important;
    box-shadow:0 8px 22px rgba(199,149,50,.10)!important;
}
.noc-form,
.noc-summary-box,
.noc-price-box,
.noc-inquiry-form{
    background:linear-gradient(180deg,#ffffff 0%,#fffdf8 100%)!important;
    border-color:#ead7b6!important;
    box-shadow:0 14px 38px rgba(7,27,58,.08)!important;
}
.noc-form{
    border-top:5px solid #071b3a!important;
}
.noc-section{
    background:linear-gradient(180deg,#fffaf2 0%,#ffffff 100%)!important;
    border-color:#ead7b6!important;
}
.noc-section h3,
.noc-binding-title,
.noc-summary-box h3{
    color:#071b3a!important;
}
.noc-wrap label{
    color:#071b3a!important;
}
.noc-wrap input,
.noc-wrap select,
.noc-wrap textarea{
    border-color:#e0c99f!important;
    color:#071b3a!important;
    background:#ffffff!important;
}
.noc-wrap input:focus,
.noc-wrap select:focus,
.noc-wrap textarea:focus{
    outline:none!important;
    border-color:#c79532!important;
    box-shadow:0 0 0 3px rgba(199,149,50,.16)!important;
}
.noc-checks label{
    border-color:#e0c99f!important;
    color:#071b3a!important;
    background:#ffffff!important;
}
.noc-btn{
    background:linear-gradient(135deg,#c79532 0%,#a8751f 100%)!important;
    color:#ffffff!important;
    box-shadow:0 10px 24px rgba(168,117,31,.22)!important;
}
.noc-btn:hover{
    filter:brightness(.98)!important;
}
.noc-summary-grid span{
    background:#fffaf2!important;
    border-color:#f0dec0!important;
    color:#071b3a!important;
}
.noc-price-box{
    background:linear-gradient(135deg,#071b3a 0%,#102f5e 100%)!important;
    border-color:#c79532!important;
    color:#ffffff!important;
}
.noc-price-box strong{
    color:#c79532!important;
}
.noc-price-box small,
.noc-price-box .noc-note{
    color:#ffffff!important;
}
.noc-note{
    color:#5d6470!important;
}
.noc-warnings{
    background:#fff7e8!important;
    color:#8a5b12!important;
    border-color:#e8c98b!important;
}
.noc-submit-success{
    background:linear-gradient(180deg,#ffffff 0%,#fffaf2 100%)!important;
    border-color:#ead7b6!important;
    color:#071b3a!important;
    box-shadow:0 14px 38px rgba(7,27,58,.08)!important;
}


/* v1.21.3: اصلاح فاصله دکمه محاسبه، دکمه‌های ثبت/پیش‌فاکتور و متن قیمت؛ بدون تغییر پیش‌فاکتور یا پنل */
.noc-form > .noc-btn[type=submit]{
    margin-top:18px!important;
}
.noc-final-actions{
    display:flex;
    gap:12px;
    justify-content:center;
    align-items:center;
    flex-wrap:wrap;
    margin-top:14px;
}
.noc-final-actions .noc-btn,
.noc-actions .noc-btn,
.noc-form > .noc-btn[type=submit],
.noc-submit-success .noc-btn{
    height:48px!important;
    min-height:48px!important;
    padding:0 24px!important;
    font-family:inherit!important;
    font-size:15px!important;
    font-weight:800!important;
    line-height:1.2!important;
    border-radius:14px!important;
}
.noc-inquiry-alert{
    margin:12px 0 0;
    padding:10px 12px;
    border:1px solid #e8c98b;
    border-radius:12px;
    background:#fff7e8;
    color:#8a5b12;
    font-size:14px;
    font-weight:700;
    text-align:center;
}
@media(max-width:760px){
    .noc-final-actions{flex-direction:column;align-items:stretch;}
    .noc-final-actions .noc-btn{width:100%!important;}
}

/* v2.0: ثبت سفارش با/بدون فایل، گزارش بررسی و پیش‌نمایش جلد */
.noc-order-type{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:16px 0 18px}
.noc-order-option{display:flex!important;flex-direction:row!important;align-items:flex-start!important;gap:12px;background:#fff;border:1px solid #d9e6e1;border-radius:16px;padding:14px!important;cursor:pointer;height:auto!important;min-height:0!important}
.noc-order-option input{width:18px!important;height:18px!important;margin:4px 0 0 8px!important;flex:0 0 18px}
.noc-order-option b{display:block;color:#1f4f47;font-size:16px;margin-bottom:6px}
.noc-order-option small{display:block;color:#667085;line-height:1.9;font-weight:500}
.noc-file-report{margin-top:16px;background:#fff;border:1px solid #d9e6e1;border-radius:18px;padding:18px;text-align:right;color:#263238}
.noc-file-report h3{margin:0 0 10px;color:#1f4f47;font-weight:800;font-size:19px}
.noc-file-report ul{margin:8px 0;padding:0 18px 0 0;line-height:2}
.noc-file-report.noc-level-green{border-right:5px solid #16a34a}.noc-file-report.noc-level-yellow{border-right:5px solid #d97706}.noc-file-report.noc-level-red{border-right:5px solid #dc2626}
.noc-file-result{background:#f7fbfa;border-radius:12px;padding:10px 12px}.noc-warn-text{color:#9a3412;font-weight:700}
.noc-cover-preview-modal{position:fixed;inset:0;background:rgba(7,29,66,.55);z-index:99999;display:flex!important;align-items:center;justify-content:center;padding:24px}
.noc-cover-preview-modal[aria-hidden="true"],.noc-cover-preview-modal[style*="display: none"]{display:none!important}
.noc-cover-preview-card{width:min(860px,96vw);max-height:92vh;overflow:auto;background:#fff;border-radius:22px;padding:22px;box-shadow:0 30px 80px rgba(0,0,0,.28);position:relative;color:#1f2933}
.noc-cover-preview-card h3{margin:0 0 10px;color:#1f4f47;font-size:22px;font-weight:800}.noc-cover-preview-note{margin:0 0 14px;color:#667085}.noc-cover-preview-close{position:absolute;left:18px;top:14px;border:0;background:#f3f4f6;border-radius:50%;width:34px;height:34px;font-size:24px;line-height:1;cursor:pointer}
.noc-cover-canvas{position:relative;width:100%;aspect-ratio:1.38/1;background:#f8fafc;border:2px solid #1f4f47;border-radius:12px;overflow:hidden;margin:14px 0}
.noc-cover-file-layer{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#fff}.noc-cover-file-layer img,.noc-cover-file-layer object{max-width:100%;max-height:100%;width:auto;height:auto;display:block}.noc-fit-enabled .noc-cover-file-layer img,.noc-fit-enabled .noc-cover-file-layer object{width:100%;height:100%;max-width:none;max-height:none;object-fit:fill}
.noc-cut-line{position:absolute;inset:5%;border:2px dashed #c8922e;pointer-events:none}.noc-safe-line{position:absolute;inset:10%;border:1px dashed rgba(31,79,71,.75);pointer-events:none}.noc-spine-line{position:absolute;top:5%;bottom:5%;width:0;border-left:2px solid #dc2626;pointer-events:none}.noc-fit-option{display:flex!important;flex-direction:row!important;align-items:center!important;gap:8px!important;margin:10px 0!important;font-weight:800;color:#1f4f47}.noc-fit-option input{width:18px!important;height:18px!important}.noc-cover-warning{background:#fff7ed;border:1px solid #fed7aa;color:#9a3412;border-radius:12px;padding:12px 14px;line-height:2;font-weight:600}
@media(max-width:760px){.noc-order-type{grid-template-columns:1fr}.noc-cover-preview-card{padding:16px}.noc-cover-canvas{aspect-ratio:1.25/1}}

/* v2.0.1: file upload UX refinements */
.noc-order-type{align-items:stretch!important}
.noc-order-option{height:100%!important;min-height:156px!important;font-family:inherit!important}
.noc-order-option b,.noc-order-option small{font-family:inherit!important}
.noc-required{position:relative}
.noc-required::after{content:" *";color:#b42318;font-weight:900}
.noc-file-hint{display:block;margin-top:6px;color:#667085;font-size:13px;font-weight:600}
.noc-text-preview-modal{position:fixed;inset:0;background:rgba(7,29,66,.55);z-index:99999;display:flex!important;align-items:center;justify-content:center;padding:18px}
.noc-text-preview-modal[aria-hidden="true"],.noc-text-preview-modal[style*="display: none"]{display:none!important}
.noc-file-preview-card,.noc-cover-preview-card{font-family:inherit!important}
.noc-file-preview-card{width:min(560px,94vw);max-height:86vh;overflow:auto;background:#fff;border-radius:18px;padding:22px;box-shadow:0 30px 80px rgba(0,0,0,.28);position:relative;color:#1f2933;text-align:right}
.noc-file-preview-card h3{margin:0 0 12px;color:#1f4f47;font-size:21px;font-weight:900}
.noc-modal-close{position:absolute;left:16px;top:12px;border:0!important;background:#f3f4f6!important;color:#1f2933!important;border-radius:50%!important;width:34px!important;height:34px!important;font-size:24px!important;line-height:34px!important;display:flex!important;align-items:center!important;justify-content:center!important;cursor:pointer;padding:0!important;font-family:Arial,Tahoma,sans-serif!important}
.noc-cover-preview-card{width:min(760px,95vw)!important;max-height:88vh!important;padding:18px!important}
.noc-cover-preview-card h3{font-size:20px!important;margin-bottom:6px!important}
.noc-cover-preview-note{font-size:14px!important;line-height:1.75!important;margin-bottom:8px!important}
.noc-cover-info{background:#f7fbfa;border:1px solid #d9e6e1;border-radius:12px;padding:8px 12px;margin:8px 0 10px;color:#1f4f47;font-size:13px;line-height:1.9;text-align:center}
.noc-cover-canvas{max-width:620px!important;margin:10px auto!important;aspect-ratio:1.55/1!important}
.noc-line-legend{display:flex;justify-content:center;gap:16px;flex-wrap:wrap;margin:6px 0 10px;color:#344054;font-size:13px;font-weight:700}
.noc-line-legend span{display:inline-flex;align-items:center;gap:6px}
.noc-line-legend i{display:inline-block;width:22px;height:0;border-top:2px dashed #999}
.noc-line-legend .legend-cut{border-color:#c8922e;border-top-style:dashed}
.noc-line-legend .legend-safe{border-color:#1f4f47;border-top-width:1px;border-top-style:dashed}
.noc-line-legend .legend-spine{border-color:#dc2626;border-top-style:solid}
.noc-cover-warning{font-size:13px!important;line-height:1.9!important;padding:10px 12px!important;margin-top:8px!important}
.noc-modal-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:12px}
.noc-modal-actions .noc-btn{font-family:inherit!important;font-size:14px!important;padding:9px 16px!important;border-radius:10px!important;line-height:1.6!important;margin:0!important}
.noc-btn-light{background:#fff!important;color:#1f4f47!important;border:1px solid #c8922e!important}
@media(max-width:760px){.noc-order-option{min-height:auto!important}.noc-cover-preview-card{padding:14px!important}.noc-cover-canvas{max-width:100%!important;aspect-ratio:1.35/1!important}.noc-line-legend{gap:10px;font-size:12px}.noc-modal-actions .noc-btn{width:auto!important;min-width:130px}}

/* v2.0.2: order cards, required marks, upload preview refinements */
.noc-order-type{gap:12px!important;margin:14px 0 16px!important;align-items:stretch!important}
.noc-order-option{min-height:118px!important;padding:12px 14px!important;overflow:hidden!important}
.noc-order-option b{font-family:inherit!important;font-size:20px!important;font-weight:800!important;color:#1f4f47!important;line-height:1.5!important;margin-bottom:4px!important}
.noc-order-option small{font-family:inherit!important;font-size:13px!important;line-height:1.75!important;color:#667085!important}
.noc-required::after{content:""!important;display:none!important}
.noc-required::before{content:"*";position:absolute;top:0;right:-12px;color:#b42318;font-weight:900;font-size:18px;line-height:1}
.noc-text-preview-modal h3,.noc-file-preview-card h3{font-family:inherit!important;font-size:20px!important;font-weight:900!important;color:#1f4f47!important}
.noc-text-preview-body p{margin:8px 0;line-height:1.9;color:#344054}
.noc-text-mismatch{background:#fff7ed;border:1px solid #fed7aa;border-radius:10px;padding:8px 10px;color:#9a3412!important;font-weight:800}
.noc-text-ack{display:flex!important;flex-direction:row!important;align-items:center!important;gap:8px!important;margin-top:10px!important;background:#fff7ed;border:1px solid #fed7aa;border-radius:10px;padding:9px 10px!important;color:#9a3412!important;font-weight:800!important}
.noc-text-ack input{width:18px!important;height:18px!important;flex:0 0 18px!important;margin:0 0 0 6px!important}
.noc-modal-actions .noc-btn:disabled{opacity:.55;cursor:not-allowed;filter:grayscale(.2)}
.noc-cover-file-layer{position:absolute;inset:0;background:#fff;overflow:visible!important;display:block!important}
.noc-cover-file-box{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:center;background:#fff;box-shadow:0 0 0 1px rgba(31,79,71,.18);overflow:hidden}
.noc-cover-file-box img,.noc-cover-file-box object{width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;display:block;object-fit:fill;border:0}
.noc-fit-enabled .noc-cover-file-box{width:100%!important;height:100%!important}
@media(max-width:760px){.noc-order-option{min-height:auto!important}.noc-order-option b{font-size:18px!important}.noc-order-option small{font-size:13px!important}}


/* v2.0.3: requested fixes */
.noc-order-type{align-items:stretch!important;gap:12px!important}
.noc-order-option{min-height:104px!important;padding:10px 14px!important;display:flex!important;align-items:flex-start!important;overflow:visible!important}
.noc-order-option span{display:block!important;width:100%!important}
.noc-order-option b{font-family:inherit!important;font-size:20px!important;font-weight:900!important;line-height:1.55!important;margin:0 0 4px!important;color:#1f4f47!important}
.noc-order-option small{display:block!important;font-size:13px!important;line-height:1.8!important;color:#667085!important;margin:0!important}
.noc-field-title{display:inline-block!important;font-weight:800!important;color:#1f2933!important;margin-bottom:7px!important}
.noc-field-title em{color:#b42318!important;font-style:normal!important;font-weight:900!important;margin-right:4px!important}
.noc-required::before,.noc-required::after{content:""!important;display:none!important}
.noc-text-preview-modal h3,.noc-file-preview-card h3{font-family:inherit!important;font-size:20px!important;font-weight:900!important;color:#1f4f47!important;line-height:1.7!important}
.noc-text-decision{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin-top:12px}
.noc-text-decision .noc-btn{font-size:13px!important;padding:9px 12px!important;white-space:normal!important;max-width:260px!important}
.noc-btn-warning{background:#9a3412!important;color:#fff!important;border-color:#9a3412!important}
.noc-cover-canvas{max-width:660px!important;max-height:55vh!important;background:#fff!important;}
.noc-cut-line,.noc-safe-line{inset:auto!important}
.noc-cover-file-box canvas.noc-pdf-cover-canvas{width:100%!important;height:100%!important;display:block!important;object-fit:fill!important;border:0!important}
.noc-pdf-fallback{width:100%!important;height:100%!important;border:0!important;background:#fff!important;display:block!important}
.noc-cover-file-box{background:#fff!important}
@media(max-width:760px){.noc-order-option{min-height:auto!important}.noc-text-decision .noc-btn{max-width:100%!important}}


/* v2.0.4: دقیق‌سازی UI آپلود و پیش‌نمایش فایل‌ها */
.noc-order-type{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px!important;
  align-items:stretch!important;
  margin:12px 0 16px!important;
}
.noc-order-option{
  min-height:0!important;
  height:auto!important;
  padding:12px 14px!important;
  border-radius:16px!important;
  box-sizing:border-box!important;
  align-items:flex-start!important;
  overflow:visible!important;
}
.noc-order-option b{
  font-family:inherit!important;
  font-size:19px!important;
  font-weight:900!important;
  line-height:1.55!important;
  margin:0 0 4px!important;
  color:#1f4f47!important;
}
.noc-order-option small{
  font-family:inherit!important;
  font-size:13px!important;
  line-height:1.7!important;
  color:#667085!important;
  margin:0!important;
}
.noc-field-title{display:inline-flex!important;align-items:center!important;gap:4px!important;white-space:normal!important}
.noc-field-title em{order:2!important;color:#b42318!important;font-style:normal!important;font-weight:900!important;margin:0 4px 0 0!important;position:static!important}
.noc-text-preview-modal h3,
.noc-file-preview-card h3,
.noc-cover-preview-card h3{
  font-family:inherit!important;
  font-size:20px!important;
  font-weight:900!important;
  color:#1f4f47!important;
  line-height:1.7!important;
}
.noc-cover-canvas{
  border-radius:0!important;
  overflow:hidden!important;
}
.noc-cover-file-box{
  border-radius:0!important;
  z-index:1!important;
}
.noc-cover-file-layer{z-index:1!important}
.noc-cut-line{
  border:2px dashed #c8922e!important;
  z-index:20!important;
  pointer-events:none!important;
  opacity:1!important;
}
.noc-safe-line{
  border:1.5px dashed #1f4f47!important;
  z-index:21!important;
  pointer-events:none!important;
  opacity:1!important;
}
.noc-spine-line{
  border-left:2px solid #dc2626!important;
  z-index:22!important;
  pointer-events:none!important;
  opacity:1!important;
}
.noc-files{align-items:stretch!important}
.noc-files label{height:100%!important;justify-content:flex-start!important}
.noc-files input[type=file]{height:48px!important;line-height:48px!important}
.noc-file-preview-card .noc-text-preview-body{font-family:inherit!important}
@media(max-width:760px){
  .noc-order-type{grid-template-columns:1fr!important}
  .noc-order-option{min-height:0!important}
}


/* v2.0.10: فقط اصلاح راست‌چینی و فاصله تیترها و هم‌ترازی دکمه فایل‌های تکمیلی */
.noc-wrap .noc-section h3,
.noc-wrap .noc-binding-title,
.noc-wrap .noc-summary-box h3{
  text-align:right!important;
  display:block!important;
  width:100%!important;
  margin:0 0 18px!important;
  padding:0!important;
  line-height:1.8!important;
}
.noc-wrap .noc-summary-box{
  text-align:right!important;
}
.noc-wrap .noc-summary-grid,
.noc-wrap .noc-summary-grid span{
  text-align:right!important;
}
.noc-wrap .noc-section{
  text-align:right!important;
}
.noc-wrap .noc-note{
  margin:14px 0 18px!important;
  line-height:2!important;
}
.noc-wrap .noc-order-type{
  align-items:stretch!important;
}
.noc-wrap .noc-order-option,
.noc-wrap .noc-order-option span,
.noc-wrap .noc-order-option b,
.noc-wrap .noc-order-option small{
  text-align:right!important;
  direction:rtl!important;
}
.noc-wrap .noc-order-option{
  justify-content:flex-start!important;
  min-height:104px!important;
}
.noc-wrap .noc-order-option b{
  display:block!important;
  margin:0 0 6px!important;
  line-height:1.7!important;
}
.noc-wrap .noc-order-option small{
  display:block!important;
  line-height:1.85!important;
}
.noc-wrap .noc-inquiry-form label,
.noc-wrap .noc-inquiry-form .noc-field-title,
.noc-wrap .noc-file-fields label,
.noc-wrap .noc-file-fields .noc-field-title{
  text-align:right!important;
  direction:rtl!important;
}
.noc-wrap .noc-files{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:14px!important;
  align-items:start!important;
}
.noc-wrap .noc-files label{
  display:flex!important;
  flex-direction:column!important;
  justify-content:flex-start!important;
  align-items:stretch!important;
  gap:8px!important;
  height:auto!important;
  min-height:0!important;
  margin:0!important;
  text-align:right!important;
}
.noc-wrap .noc-files label > input[type=file]{
  display:block!important;
  width:100%!important;
  height:48px!important;
  line-height:48px!important;
  margin:0!important;
  box-sizing:border-box!important;
}
.noc-wrap .noc-files label > small,
.noc-wrap .noc-file-hint{
  min-height:22px!important;
  line-height:1.7!important;
  margin:0!important;
  text-align:right!important;
}
@media(max-width:760px){
  .noc-wrap .noc-files{grid-template-columns:1fr!important;}
}

/* v2.0.11: اصلاح تراز فایل‌های تکمیلی، فاصله توضیحات و راهنمای فایل‌ها */
.noc-wrap .noc-message-label{
  display:block!important;
  margin-top:18px!important;
}
.noc-wrap .noc-message-label textarea{
  margin-top:8px!important;
}
.noc-wrap .noc-files{
  align-items:start!important;
}
.noc-wrap .noc-files label{
  padding-top:0!important;
}
.noc-wrap .noc-files .noc-field-title,
.noc-wrap .noc-files > label{
  text-align:center!important;
}
.noc-wrap .noc-files label > input[type="file"]{
  height:48px!important;
  min-height:48px!important;
  display:flex!important;
  align-items:center!important;
}
.noc-wrap .noc-files .noc-file-hint{
  display:block!important;
  min-height:26px!important;
  text-align:center!important;
}

/* v2.0.12: visible cover guide lines, file clear buttons, extra files note */
.noc-wrap .noc-cover-canvas .noc-cut-line{
  position:absolute!important;
  display:block!important;
  border:3px dashed #c79532!important;
  background:rgba(199,149,50,.035)!important;
  box-shadow:0 0 0 1px rgba(199,149,50,.35)!important;
  z-index:999!important;
  opacity:1!important;
  pointer-events:none!important;
}
.noc-wrap .noc-cover-canvas .noc-safe-line{
  position:absolute!important;
  display:block!important;
  border:2px dashed #0891b2!important;
  background:rgba(8,145,178,.025)!important;
  box-shadow:0 0 0 1px rgba(8,145,178,.25)!important;
  z-index:1000!important;
  opacity:1!important;
  pointer-events:none!important;
}
.noc-wrap .noc-cover-canvas .noc-spine-line{
  z-index:1001!important;
  opacity:1!important;
}
.noc-wrap .noc-file-control{
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  gap:6px!important;
  width:100%!important;
}
.noc-wrap .noc-file-control input[type="file"]{
  flex:1 1 auto!important;
  min-width:0!important;
}
.noc-wrap .noc-file-clear{
  flex:0 0 28px!important;
  width:28px!important;
  height:28px!important;
  min-width:28px!important;
  border-radius:50%!important;
  border:1px solid #ead7b6!important;
  background:#fffaf1!important;
  color:#9a3412!important;
  font-size:18px!important;
  line-height:24px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  cursor:pointer!important;
  padding:0!important;
  margin:0!important;
}
.noc-wrap .noc-file-clear:hover{background:#fff3dc!important;color:#7c2d12!important}
.noc-wrap .noc-inline-note{
  font-size:12px!important;
  font-weight:700!important;
  color:#667085!important;
  margin-right:5px!important;
}
.noc-wrap .noc-color-warning{
  background:#fff7ed!important;
  border:1px solid #fed7aa!important;
  border-radius:10px!important;
  padding:9px 11px!important;
  color:#9a3412!important;
  font-weight:800!important;
  line-height:2!important;
}


/* v2.0.13: stronger guide lines, mismatch table, visible selected file names */
.noc-wrap .noc-cover-canvas{position:relative!important;isolation:isolate!important;}
.noc-wrap .noc-cover-file-layer{z-index:1!important;}
.noc-wrap .noc-cover-file-box{z-index:2!important;}
.noc-wrap .noc-cover-canvas .noc-cut-line{
  z-index:50!important;
  border:4px dashed #d48a00!important;
  outline:2px solid rgba(255,255,255,.95)!important;
  outline-offset:-3px!important;
  box-shadow:0 0 0 2px rgba(126,68,0,.55), inset 0 0 0 1px rgba(255,255,255,.85)!important;
  background:transparent!important;
  opacity:1!important;
}
.noc-wrap .noc-cover-canvas .noc-safe-line{
  z-index:55!important;
  border:3px dashed #00a3b5!important;
  outline:2px solid rgba(255,255,255,.95)!important;
  outline-offset:-2px!important;
  box-shadow:0 0 0 1px rgba(0,91,102,.65)!important;
  background:transparent!important;
  opacity:1!important;
}
.noc-wrap .noc-cover-canvas .noc-spine-line{z-index:60!important;}
.noc-wrap .noc-file-name{
  flex:1 1 auto!important;
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  font-size:12px!important;
  font-weight:700!important;
  color:#1f4f47!important;
  background:#fffaf1!important;
  border:1px solid #ead7b6!important;
  border-radius:10px!important;
  padding:7px 9px!important;
  direction:ltr!important;
  text-align:left!important;
}
.noc-wrap .noc-mismatch-table{
  width:100%!important;
  border-collapse:separate!important;
  border-spacing:0!important;
  margin:12px 0!important;
  font-size:13px!important;
  overflow:hidden!important;
  border:1px solid #ead7b6!important;
  border-radius:12px!important;
}
.noc-wrap .noc-mismatch-table th,
.noc-wrap .noc-mismatch-table td{
  padding:9px 10px!important;
  border-bottom:1px solid #f0e0c4!important;
  text-align:right!important;
}
.noc-wrap .noc-mismatch-table th{background:#fff4df!important;color:#1f4f47!important;font-weight:900!important;}
.noc-wrap .noc-mismatch-table tr:last-child td{border-bottom:0!important;}


/* v2.0.14: stronger visible guide lines and selected file presentation */
.noc-wrap .noc-cover-canvas .noc-cut-line{
  position:absolute!important;
  display:block!important;
  border:5px dashed #f59e0b!important;
  outline:3px solid rgba(255,255,255,.98)!important;
  outline-offset:-4px!important;
  box-shadow:0 0 0 2px rgba(0,0,0,.75), inset 0 0 0 2px rgba(255,255,255,.95)!important;
  filter:drop-shadow(0 0 2px #000) drop-shadow(0 0 2px #fff)!important;
  opacity:1!important;
  z-index:2147483000!important;
  background:transparent!important;
  pointer-events:none!important;
}
.noc-wrap .noc-cover-canvas .noc-safe-line{
  position:absolute!important;
  display:block!important;
  border:4px dashed #00b8d9!important;
  outline:3px solid rgba(255,255,255,.98)!important;
  outline-offset:-3px!important;
  box-shadow:0 0 0 2px rgba(0,64,80,.8), inset 0 0 0 2px rgba(255,255,255,.9)!important;
  filter:drop-shadow(0 0 2px #000) drop-shadow(0 0 2px #fff)!important;
  opacity:1!important;
  z-index:2147483001!important;
  background:transparent!important;
  pointer-events:none!important;
}
.noc-wrap .noc-cover-canvas .noc-spine-line{z-index:2147483002!important;opacity:1!important;}
.noc-wrap .noc-file-control.noc-file-has-file{
  min-height:46px!important;
  border:1px solid #ead7b6!important;
  border-radius:14px!important;
  background:#fff!important;
  padding:6px 8px!important;
}
.noc-wrap .noc-file-control.noc-file-has-file input[type="file"]{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  opacity:0!important;
  pointer-events:none!important;
}
.noc-wrap .noc-file-control.noc-file-has-file .noc-file-name{
  display:block!important;
  flex:1 1 auto!important;
  margin:0!important;
  background:#fffaf1!important;
}

/* v2.0.15: definitive cover guide overlay and upload filename state */
.noc-wrap .noc-cover-canvas{position:relative!important;isolation:isolate!important;overflow:hidden!important;}
.noc-wrap .noc-cover-file-layer{position:absolute!important;inset:0!important;z-index:5!important;}
.noc-wrap .noc-cover-file-box{z-index:6!important;}
.noc-wrap .noc-cover-canvas .noc-cut-line,
.noc-wrap .noc-cover-canvas .noc-safe-line,
.noc-wrap .noc-cover-canvas .noc-spine-line{position:absolute!important;display:block!important;opacity:1!important;pointer-events:none!important;background:transparent!important;}
.noc-wrap .noc-cover-canvas .noc-cut-line{
  left:var(--noc-cut-x,1.7%)!important;right:var(--noc-cut-x,1.7%)!important;top:var(--noc-cut-y,2.2%)!important;bottom:var(--noc-cut-y,2.2%)!important;
  border:4px dashed #d99a12!important;box-shadow:0 0 0 2px #fff,0 0 0 4px rgba(0,0,0,.45)!important;z-index:30!important;
}
.noc-wrap .noc-cover-canvas .noc-safe-line{
  left:var(--noc-safe-x,3.4%)!important;right:var(--noc-safe-x,3.4%)!important;top:var(--noc-safe-y,4.5%)!important;bottom:var(--noc-safe-y,4.5%)!important;
  border:3px dashed #0097a7!important;box-shadow:0 0 0 2px #fff,0 0 0 3px rgba(0,64,70,.45)!important;z-index:31!important;
}
.noc-wrap .noc-cover-canvas .noc-spine-start{left:var(--noc-spine-start,49%)!important;top:var(--noc-cut-y,2.2%)!important;bottom:var(--noc-cut-y,2.2%)!important;z-index:32!important;}
.noc-wrap .noc-cover-canvas .noc-spine-end{left:var(--noc-spine-end,51%)!important;top:var(--noc-cut-y,2.2%)!important;bottom:var(--noc-cut-y,2.2%)!important;z-index:32!important;}
.noc-wrap .noc-file-control.noc-file-has-file{display:flex!important;align-items:center!important;gap:8px!important;direction:ltr!important;text-align:left!important;}
.noc-wrap .noc-file-control.noc-file-has-file .noc-file-name{display:block!important;min-width:0!important;flex:1 1 auto!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;direction:ltr!important;text-align:left!important;background:#fffaf1!important;border:0!important;padding:0 8px!important;}
.noc-wrap .noc-file-control.noc-file-has-file .noc-file-clear{flex:0 0 26px!important;width:26px!important;height:26px!important;border-radius:50%!important;border:1px solid #d9b56a!important;background:#fff!important;color:#8a4b00!important;line-height:22px!important;font-weight:900!important;cursor:pointer!important;}
.noc-wrap .noc-file-control.noc-file-has-file input[type="file"]{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;}
.noc-wrap .noc-file-fields label:nth-child(3) .noc-file-name{direction:rtl!important;text-align:right!important;}
.noc-wrap .noc-text-preview-modal h3,.noc-wrap .noc-file-preview-card h3{text-align:center!important;}

/* v2.0.16: clean cover guide lines, restore RTL labels, stable file controls */
.noc-wrap .noc-cover-canvas .noc-cut-line{
  position:absolute!important;
  left:var(--noc-cut-x,1.7%)!important;
  right:var(--noc-cut-x,1.7%)!important;
  top:var(--noc-cut-y,2.2%)!important;
  bottom:var(--noc-cut-y,2.2%)!important;
  border:2px dashed #c79532!important;
  outline:none!important;
  box-shadow:none!important;
  filter:none!important;
  background:transparent!important;
  opacity:1!important;
  z-index:80!important;
  pointer-events:none!important;
}
.noc-wrap .noc-cover-canvas .noc-safe-line{
  position:absolute!important;
  left:var(--noc-safe-x,3.4%)!important;
  right:var(--noc-safe-x,3.4%)!important;
  top:var(--noc-safe-y,4.5%)!important;
  bottom:var(--noc-safe-y,4.5%)!important;
  border:1.5px dashed #1f4f47!important;
  outline:none!important;
  box-shadow:none!important;
  filter:none!important;
  background:transparent!important;
  opacity:1!important;
  z-index:81!important;
  pointer-events:none!important;
}
.noc-wrap .noc-cover-canvas .noc-spine-line{
  border-left:2px solid #b93a32!important;
  outline:none!important;
  box-shadow:none!important;
  filter:none!important;
  z-index:82!important;
}
.noc-wrap .noc-form label,
.noc-wrap .noc-form .noc-field-title,
.noc-wrap .noc-inquiry-form label,
.noc-wrap .noc-inquiry-form .noc-field-title,
.noc-wrap .noc-files .noc-field-title,
.noc-wrap .noc-files > label{
  text-align:right!important;
  justify-content:flex-start!important;
}
.noc-wrap .noc-file-fields label{
  display:flex!important;
  flex-direction:column!important;
  justify-content:flex-start!important;
  align-items:stretch!important;
}
.noc-wrap .noc-file-control{
  min-height:48px!important;
  height:48px!important;
}
.noc-wrap .noc-file-control:not(.noc-file-has-file) input[type="file"]{
  position:static!important;
  width:100%!important;
  height:auto!important;
  opacity:1!important;
  pointer-events:auto!important;
}
.noc-wrap .noc-file-control.noc-file-has-file{
  height:48px!important;
}


/* v2.0.17: فقط اصلاح هم‌ترازی بخش فایل‌ها و برگشت قطعی ورودی فایل بعد از حذف */
.noc-wrap .noc-files{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:14px!important;
  align-items:start!important;
}
.noc-wrap .noc-files > label{
  display:grid!important;
  grid-template-rows:38px 48px 28px!important;
  align-items:start!important;
  gap:8px!important;
  height:auto!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  box-sizing:border-box!important;
}
.noc-wrap .noc-files .noc-field-title{
  grid-row:1!important;
  min-height:38px!important;
  height:38px!important;
  line-height:1.7!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  margin:0!important;
  padding:0!important;
  width:100%!important;
}
.noc-wrap .noc-files .noc-file-control,
.noc-wrap .noc-files > label > input[type="file"]{
  grid-row:2!important;
  width:100%!important;
  height:48px!important;
  min-height:48px!important;
  margin:0!important;
  box-sizing:border-box!important;
}
.noc-wrap .noc-files .noc-file-control:not(.noc-file-has-file){
  display:block!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
}
.noc-wrap .noc-files .noc-file-control:not(.noc-file-has-file) input[type="file"]{
  position:static!important;
  display:block!important;
  width:100%!important;
  height:48px!important;
  min-height:48px!important;
  line-height:48px!important;
  opacity:1!important;
  pointer-events:auto!important;
  margin:0!important;
  box-sizing:border-box!important;
}
.noc-wrap .noc-files .noc-file-hint{
  grid-row:3!important;
  min-height:28px!important;
  height:28px!important;
  line-height:1.8!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  margin:0!important;
  padding:0!important;
  width:100%!important;
}
@media(max-width:760px){
  .noc-wrap .noc-files{grid-template-columns:1fr!important;}
  .noc-wrap .noc-files > label{grid-template-rows:auto 48px auto!important;}
}

/* v2.0.21: upload/submit progress */
.noc-wrap .noc-upload-progress{margin:14px 0 10px;padding:12px 14px;border:1px solid #ead7b6;border-radius:12px;background:#fff8ee;color:#071b3a;font-weight:700;text-align:center}
.noc-wrap .noc-upload-progress-text{margin-bottom:8px;font-size:14px}
.noc-wrap .noc-upload-progress-bar{height:10px;border-radius:999px;background:#f1e6d1;overflow:hidden;direction:ltr}
.noc-wrap .noc-upload-progress-bar span{display:block;height:100%;width:0;background:linear-gradient(90deg,#c79532,#071b3a);border-radius:999px;transition:width .18s ease}
.noc-wrap .noc-is-disabled{opacity:.65;cursor:not-allowed!important}
