.ixl-image-compression {
    background: #fff;
    padding: 80px 0;
}

.ixl-compression-heading-wrap h2 {
    font-size: 42px;
    font-weight: 600;
    color: #000;
    margin-bottom: 15px;
    line-height: 1.2;
}

.ixl-compression-heading-wrap p {
    font-size: 18px;
    color: #666;
    margin-bottom: 0;
}

.upload-container {
    background: #f8f8f8;
    border: 1px solid #eaeaea;
    border-radius: 24px;
    padding: 40px;
    margin-top: 40px;
}

.upload-zone {
    border: 2px dashed #ccc;
    border-radius: 16px;
    padding: 60px 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
}

.upload-zone:hover,
.upload-zone.dragover {
    border-color: #000;
    background: #fafafa;
}

.upload-icon {
    font-size: 64px;
    color: #000;
    margin-bottom: 20px;
    opacity: 0.8;
}

.upload-zone h4 {
    font-size: 24px;
    font-weight: 500;
    color: #000;
    margin-bottom: 10px;
}

.upload-zone p {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

.browse-text {
    color: #000;
    text-decoration: underline;
    cursor: pointer;
    font-weight: 500;
}

.file-types {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 20px;
}

.file-types span {
    font-size: 13px;
    padding: 4px 12px;
    background: #f0f0f0;
    border-radius: 20px;
    color: #444;
    letter-spacing: 0.5px;
}

.options-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 25px 0 20px;
    padding: 15px 20px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #eaeaea;
}

.format-option {
    display: flex;
    align-items: center;
    gap: 10px;
}

.format-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #000;
}

.format-option label {
    font-size: 15px;
    color: #333;
    cursor: pointer;
}

.quality-option {
    display: flex;
    align-items: center;
    gap: 12px;
}

.quality-option label {
    font-size: 14px;
    color: #666;
}

.quality-option select {
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
    background: #fff;
    cursor: pointer;
    outline: none;
}

.quality-option select:hover {
    border-color: #999;
}

.quality-option select:focus {
    border-color: #000;
}

.file-list {
    margin: 20px 0;
    max-height: 200px;
    overflow-y: auto;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    margin-bottom: 8px;
    animation: slideIn 0.3s ease;
}

.file-item:last-child {
    margin-bottom: 0;
}

.file-info {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.file-name {
    font-size: 14px;
    color: #333;
    font-weight: 500;
    max-width: 250px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.file-size {
    font-size: 13px;
    color: #888;
}

.file-remove {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 16px;
    padding: 5px 10px;
    transition: color 0.2s ease;
}

.file-remove:hover {
    color: #000;
}

.action-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 25px 0;
}

.compress-btn,
.clear-btn {
    padding: 14px 32px;
    border: none;
    border-radius: 40px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.compress-btn {
    background: #000 !important;
    color: #fff;
}

.compress-btn:hover:not(:disabled) {
    background: #0025c9 !important;
    transform: translateY(-2px);
}

.compress-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.5;
}

.clear-btn {
    background: #f0f0f0;
    color: #444;
    border: 1px solid #ddd;
}

.clear-btn:hover:not(:disabled) {
    background: #e5e5e5;
    color: #000;
}

.clear-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.results-area {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eaeaea;
}

.result-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    margin-bottom: 10px;
}

.result-info {
    flex: 1;
}

.result-name {
    font-size: 15px;
    font-weight: 500;
    color: #000;
    margin-bottom: 5px;
}

.result-stats {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: #666;
}

.result-stats .savings {
    color: #000;
    font-weight: 500;
}

.result-actions {
    display: flex;
    gap: 10px;
}

.download-btn,
.copy-btn {
    background: none;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 13px;
    color: #444;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.download-btn:hover,
.copy-btn:hover {
    background: #f5f5f5;
    border-color: #999;
    color: #000;
}

.zip-download {
    text-align: center;
    margin: 20px 0;
}

.zip-btn {
    background: #000;
    color: #fff;
    border: none;
    border-radius: 40px;
    padding: 14px 32px;
    font-size: 16px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s ease;
}

.zip-btn:hover {
    background: #222;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: #eee;
    border-radius: 2px;
    margin: 20px 0;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #000;
    width: 0%;
    transition: width 0.3s ease;
}

.stats-summary {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 20px 0;
    padding: 15px;
    background: #f8f8f8;
    border-radius: 12px;
}

.stat-item {
    text-align: center;
}

.stat-label {
    font-size: 13px;
    color: #666;
    margin-bottom: 5px;
}

.stat-value {
    font-size: 18px;
    font-weight: 600;
    color: #000;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scrollbar styling */
.file-list::-webkit-scrollbar {
    width: 6px;
}

.file-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.file-list::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.file-list::-webkit-scrollbar-thumb:hover {
    background: #999;
}

/* Responsive */
@media (max-width: 768px) {
    .upload-container {
        padding: 20px;
    }
    
    .upload-zone {
        padding: 40px 20px;
    }
    
    .options-bar {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .file-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .file-name {
        max-width: 180px;
    }
    
    .result-stats {
        flex-direction: column;
        gap: 5px;
    }
    
    .stats-summary {
        flex-direction: column;
        gap: 15px;
    }
}