.elementor-595 .elementor-element.elementor-element-c710b33{--display:flex;--padding-top:0px;--padding-bottom:0px;--padding-left:16px;--padding-right:16px;}.elementor-595 .elementor-element.elementor-element-c710b33:not(.elementor-motion-effects-element-type-background), .elementor-595 .elementor-element.elementor-element-c710b33 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:var( --e-global-color-ebf6c25 );}.elementor-595 .elementor-element.elementor-element-02e2554{--display:flex;--min-height:500px;--border-radius:8px 8px 8px 8px;box-shadow:0px 1px 2px 0px rgba(0, 0, 0, 0.05);}.elementor-595 .elementor-element.elementor-element-02e2554:not(.elementor-motion-effects-element-type-background), .elementor-595 .elementor-element.elementor-element-02e2554 > .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-595 .elementor-element.elementor-element-9870570{text-align:center;}.elementor-595 .elementor-element.elementor-element-0977821{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-0977821 */.elementor-595 .elementor-element.elementor-element-0977821 button:focus {
    outline: none;
}

.compressor-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;
}

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

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

.quality-row {
    margin-top: 22px;
    margin-bottom: 20px;
}

.quality-row label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #3F3B47;
    margin-bottom: 6px;
}

.quality-row .quality-hint {
    font-size: 12px;
    color: #9691A0;
    margin-bottom: 10px;
    line-height: 1.9;
}

.quality-input-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.quality-input-wrap input[type="range"] {
    flex: 1;
    accent-color: #6D28D9;
}

.quality-input-wrap input[type="number"] {
    width: 68px;
    box-sizing: border-box;
    padding: 8px 10px;
    border-radius: 10px;
    border: 1.5px solid #E4E1EC;
    font-size: 14px;
    font-family: inherit;
    text-align: center;
    color: #24202B;
    background: #FBFAFE;
    outline: none;
}

.quality-input-wrap input[type="number"]:focus {
    border-color: #6D28D9;
}

#compress-start {
    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;
}

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

#compress-start:active {
    transform: translateY(0);
}

#compress-start:disabled {
    opacity: .55;
    cursor: not-allowed;
    transform: none;
    box-shadow: 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;
}

#compress-list {
    max-width: 520px;
    margin: 18px auto 0;
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    direction: rtl;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.compress-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #ffffff;
    border: 1px solid #ECEAF3;
    border-radius: 14px;
    padding: 12px 14px;
    box-shadow: 0 6px 18px -12px rgba(109, 40, 217, 0.15);
    animation: itemIn .25s ease;
}

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

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

.compress-item .thumb {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
    background: #F3F1F8;
    border: 1px solid #ECEAF3;
}

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

.compress-item .item-name {
    font-size: 13.5px;
    font-weight: 700;
    color: #24202B;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}

.compress-item .item-status {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 4px;
}

.compress-item .item-status.pending {
    color: #9691A0;
}

.compress-item .item-status.processing {
    color: #D97706;
}

.compress-item .item-status.done {
    color: #059669;
}

.compress-item .item-status.error {
    color: #DC2626;
}

.compress-item .item-sizes {
    font-size: 12px;
    color: #6B6773;
    display: flex;
    gap: 6px;
    align-items: center;
    flex-wrap: wrap;
}

.compress-item .item-sizes .final-size {
    font-weight: 700;
    color: #6D28D9;
}

.compress-item .item-sizes .reduction-tag {
    background: #EDE9FE;
    color: #6D28D9;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 6px;
}

.compress-item .item-download {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: none;
    background: #F3F1F8;
    color: #6D28D9;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    transition: background .15s ease;
}

.compress-item .item-download:hover {
    background: #EDE9FE;
}

.compress-item .item-download svg {
    width: 18px;
    height: 18px;
}

.compress-item .item-download.disabled {
    opacity: .4;
    pointer-events: none;
}

.spinner {
    width: 12px;
    height: 12px;
    border: 2px solid #FDE9C8;
    border-top-color: #D97706;
    border-radius: 50%;
    display: inline-block;
    margin-left: 6px;
    animation: spin .7s linear infinite;
    vertical-align: middle;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}/* End custom CSS */