.elementor-597 .elementor-element.elementor-element-1e27917{--display:flex;--padding-top:0px;--padding-bottom:0px;--padding-left:16px;--padding-right:16px;}.elementor-597 .elementor-element.elementor-element-1e27917:not(.elementor-motion-effects-element-type-background), .elementor-597 .elementor-element.elementor-element-1e27917 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:var( --e-global-color-ebf6c25 );}.elementor-597 .elementor-element.elementor-element-a5160f1{--display:flex;--min-height:500px;--border-radius:8px 8px 8px 8px;box-shadow:0px 1px 2px 0px rgba(0, 0, 0, 0.05);}.elementor-597 .elementor-element.elementor-element-a5160f1:not(.elementor-motion-effects-element-type-background), .elementor-597 .elementor-element.elementor-element-a5160f1 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#FFFFFF;}.elementor-widget-heading .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-size:var( --e-global-typography-primary-font-size );font-weight:var( --e-global-typography-primary-font-weight );color:var( --e-global-color-primary );}.elementor-597 .elementor-element.elementor-element-43aaa81{text-align:center;}.elementor-597 .elementor-element.elementor-element-11275b6{width:100%;max-width:100%;}@media(max-width:1024px){.elementor-widget-heading .elementor-heading-title{font-size:var( --e-global-typography-primary-font-size );}}@media(max-width:767px){.elementor-widget-heading .elementor-heading-title{font-size:var( --e-global-typography-primary-font-size );}}/* Start custom CSS for html, class: .elementor-element-11275b6 */.elementor-597 .elementor-element.elementor-element-11275b6 button:focus {
    outline: none;
}

.merge-container {
    max-width: 520px;
    margin: 0 auto;
}

.upload-zone {
    border: 2px dashed #D9D4E8;
    border-radius: 14px;
    padding: 32px 20px;
    text-align: center;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease;
    background: #FBFAFE;
}

.upload-zone:hover,
.upload-zone.dragover {
    border-color: #6D28D9;
    background: #F5F1FD;
}

.upload-zone svg {
    width: 38px;
    height: 38px;
    color: #6D28D9;
    margin-bottom: 10px;
}

.upload-zone .upload-title {
    font-size: 15px;
    font-weight: 700;
    color: #3F3B47;
    margin-bottom: 4px;
}

.upload-zone .upload-hint {
    font-size: 12.5px;
    color: #9691A0;
}

#merge-file-input {
    display: none;
}

.selected-count {
    font-size: 13px;
    color: #6D28D9;
    font-weight: 600;
    margin-top: 12px;
    margin-bottom: 4px;
    text-align: center;
    display: none;
}

.error-msg {
    color: #DC2626;
    background: #FEF2F2;
    border: 1px solid #FCA5A5;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 13.5px;
    margin-top: 14px;
    display: none;
}

#merge-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 14px;
}

.merge-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #FBFAFE;
    border: 1px solid #ECEAF3;
    border-radius: 12px;
    padding: 8px 10px;
    animation: itemIn .2s ease;
}

@keyframes itemIn {
    from {
        opacity: 0;
        transform: translateY(4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.merge-item .order-badge {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #EDE9FE;
    color: #6D28D9;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.merge-item .thumb {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid #ECEAF3;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6D28D9;
}

.merge-item .thumb svg {
    width: 20px;
    height: 20px;
}

.merge-item .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 7px;
}

.merge-item .item-info {
    flex: 1;
    min-width: 0;
}

.merge-item .item-name {
    font-size: 13px;
    font-weight: 700;
    color: #24202B;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.merge-item .item-size {
    font-size: 11.5px;
    color: #9691A0;
}

.merge-item .item-actions {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.merge-item .icon-btn {
    width: 30px;
    height: 30px;
    padding: 0;
    border-radius: 8px;
    border: none;
    background: transparent;
    color: #6B6773;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .15s ease;
}

.merge-item .icon-btn:hover {
    background: #EDE9FE;
    color: #6D28D9;
}

.merge-item .icon-btn:disabled {
    opacity: .3;
    cursor: not-allowed;
    background: transparent;
    color: #6B6773;
}

.merge-item .icon-btn.remove-btn:hover {
    background: #FEF2F2;
    color: #DC2626;
}

.merge-item .icon-btn svg {
    width: 16px;
    height: 16px;
}

#merge-generate {
    width: 100%;
    border: none;
    cursor: pointer;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    font-family: inherit;
    color: #fff;
    background: linear-gradient(135deg, #6D28D9, #8B5CF6);
    box-shadow: 0 8px 20px -6px rgba(109, 40, 217, 0.55);
    transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
    margin-top: 20px;
}

#merge-generate:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
    box-shadow: 0 10px 24px -6px rgba(109, 40, 217, 0.6);
}

#merge-generate:active {
    transform: translateY(0);
}

#merge-generate:disabled {
    opacity: .55;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

#merge-result {
    max-width: 520px;
    margin: 18px auto 0;
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    direction: rtl;
}

.result-card {
    background: linear-gradient(160deg, #6D28D9 0%, #7C3AED 55%, #8B5CF6 100%);
    border-radius: 20px;
    padding: 24px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 16px 36px -14px rgba(109, 40, 217, 0.5);
    animation: itemIn .3s ease;
}

.result-card .result-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.result-card .result-icon svg {
    width: 26px;
    height: 26px;
}

.result-card .result-info {
    flex: 1;
}

.result-card .result-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
}

.result-card .result-meta {
    font-size: 12.5px;
    opacity: .85;
}

.result-btn {
    border: none;
    cursor: pointer;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    font-family: inherit;
    white-space: nowrap;
    text-decoration: none;
    background: #fff;
    color: #6D28D9;
}

@media (max-width: 480px) {
    .result-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .result-btn {
        width: 100%;
        text-align: center;
    }
}/* End custom CSS */