/* Image compressor layout */

.ts-tool-panel {
    max-width: min(960px, 100%);
}

.ts-tool__compress-options {
    display: block;
}

.ts-tool__compress-row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-end;
    gap: 1rem;
}

.ts-tool__compress-slider {
    flex: 1 1 auto;
    min-width: 0;
    margin-bottom: 0;
}

.ts-tool__compress-slider .ts-tool__range {
    width: 100%;
    margin: 0;
}

.ts-tool__compress-action {
    flex: 0 0 auto;
    display: flex;
    align-items: flex-end;
    padding-bottom: 0.1rem;
}

.ts-tool__compress-action .ts-tool__btn {
    min-width: 8.5rem;
    white-space: nowrap;
}

.ts-tool__compress-hint {
    margin: 0.5rem 0 0;
}

@media (max-width: 480px) {
    .ts-tool__compress-row {
        flex-direction: column;
        align-items: stretch;
    }

    .ts-tool__compress-action .ts-tool__btn {
        width: 100%;
    }
}
