body {
    font-family: 'Inter', sans-serif;
    background-color: #f3f4f6;
}

::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #e0e0e0;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.loading-overlay {
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(5px);
    z-index: 10;
}

.button-primary {
    background-color: #2563eb;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: background-color 0.2s;
}
.button-primary:hover {
    background-color: #1d4ed8;
}

.button-secondary {
    background-color: #e5e7eb;
    color: #4b5563;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: background-color 0.2s;
}
.button-secondary:hover {
    background-color: #d1d5db;
}

.summary-box {
    background-color: #f0fdf4;
    border: 1px solid #dcfce7;
}

.result-card {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.compress-image-tool {
    border: 2px dashed #a0a0a0;
}

#drag-zone {
    min-height: 200px;
}

#image-results-grid .result-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

@media (min-width: 640px) {
    #image-results-grid .result-card {
        flex-direction: row;
        justify-content: space-between;
    }
    #image-results-grid .result-card img {
        margin-right: 15px;
    }
    #image-results-grid .result-card a {
        margin-left: 15px;
    }
}

.error {
    color: #dc3545;
}

.image-item {
    margin-bottom: 20px;
    text-align: center;
}

#upload-progress {
    text-align: center;
}