/* Image Optimizer — tool-specific UI */

.image-optimizer-container {
    max-width: 800px;
    margin: 0 auto;
}

.upload-panel {
    background: var(--neutral--700);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    border: 1px solid var(--neutral--600);
}

.drop-zone {
    border: 2px dashed var(--neutral--500);
    border-radius: 10px;
    padding: 3rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--neutral--800);
}

.drop-zone:hover,
.drop-zone.dragover {
    border-color: #007bff;
    background: rgba(0, 123, 255, 0.08);
}

.drop-zone-content {
    pointer-events: none;
}

.results-panel {
    background: var(--neutral--700);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--neutral--600);
}

.stat-card {
    background: var(--neutral--800);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid var(--neutral--600);
    transition: transform 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
}

.stat-original {
    border-left: 4px solid #6c757d;
}

.stat-saved {
    border-left: 4px solid #28a745;
}

.stat-optimized {
    border-left: 4px solid #007bff;
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.stat-original .stat-icon {
    color: #6c757d;
}

.stat-saved .stat-icon {
    color: #28a745;
}

.stat-optimized .stat-icon {
    color: #007bff;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: var(--neutral--100);
}

.stat-label {
    color: var(--neutral--300);
    font-size: 0.9rem;
}

.loading-panel {
    background: var(--neutral--700);
    border-radius: 10px;
    padding: 3rem 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: 1px solid var(--neutral--600);
}

@media (max-width: 768px) {
    .upload-panel,
    .results-panel {
        padding: 1.5rem;
    }

    .drop-zone {
        padding: 2rem 1rem;
    }

    .stat-card {
        margin-bottom: 1rem;
    }
}
